]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/character.h
Really dull and boring header shit
[lyx.git] / src / frontends / controllers / character.h
1 // -*- C++ -*-
2 /**
3  * \file character.h
4  * See the file COPYING.
5  *
6  * \author Angus Leeming
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #ifndef CHARACTERHELPERS_H
12 #define CHARACTERHELPERS_H
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "lyxfont.h"
19 #include "LColor.h"
20
21 #include <utility>
22 #include <vector>
23
24 /** Functions of use to the character GUI controller and view */
25 namespace frnt {
26         ///
27         enum FONT_STATE {
28                 ///
29                 IGNORE,
30                 ///
31                 EMPH_TOGGLE,
32                 ///
33                 UNDERBAR_TOGGLE,
34                 ///
35                 NOUN_TOGGLE,
36                 ///
37                 INHERIT
38         };
39
40         ///
41         typedef std::pair<string, LyXFont::FONT_FAMILY> FamilyPair;
42         ///
43         typedef std::pair<string, LyXFont::FONT_SERIES> SeriesPair;
44         ///
45         typedef std::pair<string, LyXFont::FONT_SHAPE>  ShapePair;
46         ///
47         typedef std::pair<string, LyXFont::FONT_SIZE>   SizePair;
48         ///
49         typedef std::pair<string, FONT_STATE> BarPair;
50         ///
51         typedef std::pair<string, LColor::color> ColorPair;
52
53         ///
54         std::vector<FamilyPair>   const getFamilyData();
55         ///
56         std::vector<SeriesPair>   const getSeriesData();
57         ///
58         std::vector<ShapePair>    const getShapeData();
59         ///
60         std::vector<SizePair>     const getSizeData();
61         ///
62         std::vector<BarPair>      const getBarData();
63         ///
64         std::vector<ColorPair>    const getColorData();
65
66 } // namespace frnt
67
68 #endif // CHARACTERHELPERS