Simple SFML GUI  0.2a
L.hpp
1 #ifndef L_HPP
2 #define L_HPP
3 
4 typedef const char* const constString;
5 
6 namespace L {
7  constString language = "ssg.language";
8 
9  namespace button {
10 #define btn(N) constString N = "ssg.button." #N
11  btn(ok);
12  btn(yes);
13  btn(no);
14  btn(cancel);
15  btn(save);
16  btn(load);
17  btn(clearFilter);
18  btn(rebuildTree);
19  btn(showObserved);
20  btn(showHovered);
21  btn(showPressed);
22  btn(showFocused);
23  btn(openAllNodes);
24  btn(closeAllNodes);
25 
26  btn(infoParentAddress);
27  btn(infoType);
28  btn(infoName);
29  btn(infoText);
30  btn(infoArea);
31  btn(infoLastRelativeArea);
32  btn(infoClippedArea);
33  btn(infoViewportCenterShift);
34  btn(infoLastRelativeViewportCenterShift);
35  btn(infoVisible);
36  btn(infoPressed);
37  btn(infoPressedAlt);
38  btn(infoHover);
39  btn(infoFocus);
40  btn(infoSelected);
41  btn(infoEnabled);
42  btn(infoScrollLimits);
43  btn(infoScrollSize);
44 #undef btn
45  }
46  namespace text {
47 #define txt(N) constString N = "ssg.text." #N
48  txt(unimplemented);
49  txt(error);
50  txt(criticalError);
51  txt(warning);
52  txt(quit);
53 #undef txt
54  }
55 
56  namespace label {
57 #define lbl(N) constString N = "ssg.label." #N
58  lbl(inspector);
59  lbl(language);
60 #undef lbl
61  }
62 
63  namespace style {
64  constString bold = "{font-style:bold}";
65  constString italic = "{font-style:italic}";
66  constString underline = "{font-style:underline}";
67  constString strikethrough = "{font-style:strikethrough}";
68  constString left = "{align:left}";
69  constString right = "{align:right}";
70  constString center = "{align:center}";
71  constString justify = "{align:justify}";
72 
73  }
74 }
75 
76 #endif // L_HPP
Definition: L.hpp:6