libRocket
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
StyleSheetKeywords.h
Go to the documentation of this file.
1 /*
2  * This source file is part of libRocket, the HTML/CSS Interface Middleware
3  *
4  * For the latest information, see http://www.librocket.com
5  *
6  * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
7  *
8  * Permission is hereby granted, free of charge, to any person obtaining a copy
9  * of this software and associated documentation files (the "Software"), to deal
10  * in the Software without restriction, including without limitation the rights
11  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12  * copies of the Software, and to permit persons to whom the Software is
13  * furnished to do so, subject to the following conditions:
14  *
15  * The above copyright notice and this permission notice shall be included in
16  * all copies or substantial portions of the Software.
17  *
18  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24  * THE SOFTWARE.
25  *
26  */
27 
28 #ifndef ROCKETCORESTYLESHEETKEYWORDS_H
29 #define ROCKETCORESTYLESHEETKEYWORDS_H
30 
31 namespace Rocket {
32 namespace Core {
33 
34 const int POSITION_STATIC = 0;
35 const int POSITION_RELATIVE = 1;
36 const int POSITION_ABSOLUTE = 2;
37 const int POSITION_FIXED = 3;
38 
39 const int FLOAT_NONE = 0;
40 const int FLOAT_LEFT = 1;
41 const int FLOAT_RIGHT = 2;
42 
43 const int CLEAR_NONE = 0;
44 const int CLEAR_LEFT = 1;
45 const int CLEAR_RIGHT = 2;
46 const int CLEAR_BOTH = 3;
47 
48 const int DISPLAY_NONE = 0;
49 const int DISPLAY_BLOCK = 1;
50 const int DISPLAY_INLINE = 2;
51 const int DISPLAY_INLINE_BLOCK = 3;
52 
53 const int VISIBILITY_VISIBLE = 0;
54 const int VISIBILITY_HIDDEN = 1;
55 
56 const int OVERFLOW_VISIBLE = 0;
57 const int OVERFLOW_HIDDEN = 1;
58 const int OVERFLOW_AUTO = 2;
59 const int OVERFLOW_SCROLL = 3;
60 
61 const int CLIP_AUTO = 0;
62 const int CLIP_NONE = 1;
63 
64 const int FONT_STYLE_NORMAL = 0;
65 const int FONT_STYLE_ITALIC = 1;
66 
67 const int FONT_WEIGHT_NORMAL = 0;
68 const int FONT_WEIGHT_BOLD = 1;
69 
70 const int TEXT_ALIGN_LEFT = 0;
71 const int TEXT_ALIGN_RIGHT = 1;
72 const int TEXT_ALIGN_CENTER = 2;
73 const int TEXT_ALIGN_JUSTIFY = 3;
74 
75 const int TEXT_DECORATION_NONE = 0;
79 
80 const int TEXT_TRANSFORM_NONE = 0;
84 
85 const int WHITE_SPACE_NORMAL = 0;
86 const int WHITE_SPACE_PRE = 1;
87 const int WHITE_SPACE_NOWRAP = 2;
88 const int WHITE_SPACE_PRE_WRAP = 3;
89 const int WHITE_SPACE_PRE_LINE = 4;
90 
92 const int VERTICAL_ALIGN_MIDDLE = 1;
93 const int VERTICAL_ALIGN_SUB = 2;
94 const int VERTICAL_ALIGN_SUPER = 3;
97 const int VERTICAL_ALIGN_TOP = 6;
98 const int VERTICAL_ALIGN_BOTTOM = 7;
99 
100 const int Z_INDEX_AUTO = 0;
101 const int Z_INDEX_TOP = 1;
102 const int Z_INDEX_BOTTOM = 2;
103 
104 const int DRAG_NONE = 0;
105 const int DRAG_DRAG = 1;
106 const int DRAG_DRAG_DROP = 2;
107 const int DRAG_BLOCK = 3;
108 const int DRAG_CLONE = 4;
109 
110 const int TAB_INDEX_NONE = 0;
111 const int TAB_INDEX_AUTO = 1;
112 
113 const int FOCUS_NONE = 0;
114 const int FOCUS_AUTO = 1;
115 
116 }
117 }
118 
119 #endif
const int OVERFLOW_HIDDEN
Definition: StyleSheetKeywords.h:57
const int CLEAR_LEFT
Definition: StyleSheetKeywords.h:44
const int TEXT_TRANSFORM_UPPERCASE
Definition: StyleSheetKeywords.h:82
const int FLOAT_NONE
Definition: StyleSheetKeywords.h:39
const int DISPLAY_INLINE_BLOCK
Definition: StyleSheetKeywords.h:51
const int WHITE_SPACE_PRE_LINE
Definition: StyleSheetKeywords.h:89
const int TEXT_ALIGN_JUSTIFY
Definition: StyleSheetKeywords.h:73
const int TEXT_ALIGN_LEFT
Definition: StyleSheetKeywords.h:70
const int TEXT_DECORATION_LINE_THROUGH
Definition: StyleSheetKeywords.h:78
const int CLEAR_NONE
Definition: StyleSheetKeywords.h:43
const int DRAG_NONE
Definition: StyleSheetKeywords.h:104
const int FONT_WEIGHT_BOLD
Definition: StyleSheetKeywords.h:68
const int WHITE_SPACE_NORMAL
Definition: StyleSheetKeywords.h:85
const int TEXT_DECORATION_OVERLINE
Definition: StyleSheetKeywords.h:77
const int WHITE_SPACE_PRE
Definition: StyleSheetKeywords.h:86
const int WHITE_SPACE_NOWRAP
Definition: StyleSheetKeywords.h:87
const int POSITION_RELATIVE
Definition: StyleSheetKeywords.h:35
const int TEXT_TRANSFORM_LOWERCASE
Definition: StyleSheetKeywords.h:83
const int POSITION_FIXED
Definition: StyleSheetKeywords.h:37
const int TEXT_TRANSFORM_CAPITALIZE
Definition: StyleSheetKeywords.h:81
Definition: Clipboard.h:33
const int OVERFLOW_VISIBLE
Definition: StyleSheetKeywords.h:56
const int CLEAR_BOTH
Definition: StyleSheetKeywords.h:46
const int Z_INDEX_BOTTOM
Definition: StyleSheetKeywords.h:102
const int TEXT_ALIGN_RIGHT
Definition: StyleSheetKeywords.h:71
const int DISPLAY_NONE
Definition: StyleSheetKeywords.h:48
const int VERTICAL_ALIGN_BOTTOM
Definition: StyleSheetKeywords.h:98
const int VERTICAL_ALIGN_BASELINE
Definition: StyleSheetKeywords.h:91
const int FONT_STYLE_NORMAL
Definition: StyleSheetKeywords.h:64
const int DRAG_CLONE
Definition: StyleSheetKeywords.h:108
const int VERTICAL_ALIGN_SUPER
Definition: StyleSheetKeywords.h:94
const int POSITION_STATIC
Definition: StyleSheetKeywords.h:34
const int TAB_INDEX_AUTO
Definition: StyleSheetKeywords.h:111
const int CLEAR_RIGHT
Definition: StyleSheetKeywords.h:45
const int FONT_STYLE_ITALIC
Definition: StyleSheetKeywords.h:65
const int TEXT_DECORATION_NONE
Definition: StyleSheetKeywords.h:75
const int DRAG_BLOCK
Definition: StyleSheetKeywords.h:107
const int DRAG_DRAG_DROP
Definition: StyleSheetKeywords.h:106
const int FOCUS_NONE
Definition: StyleSheetKeywords.h:113
const int VERTICAL_ALIGN_SUB
Definition: StyleSheetKeywords.h:93
const int VISIBILITY_HIDDEN
Definition: StyleSheetKeywords.h:54
const int VISIBILITY_VISIBLE
Definition: StyleSheetKeywords.h:53
const int DISPLAY_INLINE
Definition: StyleSheetKeywords.h:50
const int POSITION_ABSOLUTE
Definition: StyleSheetKeywords.h:36
const int OVERFLOW_AUTO
Definition: StyleSheetKeywords.h:58
const int VERTICAL_ALIGN_TEXT_TOP
Definition: StyleSheetKeywords.h:95
const int WHITE_SPACE_PRE_WRAP
Definition: StyleSheetKeywords.h:88
const int CLIP_AUTO
Definition: StyleSheetKeywords.h:61
const int FONT_WEIGHT_NORMAL
Definition: StyleSheetKeywords.h:67
const int TAB_INDEX_NONE
Definition: StyleSheetKeywords.h:110
const int Z_INDEX_AUTO
Definition: StyleSheetKeywords.h:100
const int DRAG_DRAG
Definition: StyleSheetKeywords.h:105
const int TEXT_DECORATION_UNDERLINE
Definition: StyleSheetKeywords.h:76
const int FLOAT_LEFT
Definition: StyleSheetKeywords.h:40
const int DISPLAY_BLOCK
Definition: StyleSheetKeywords.h:49
const int VERTICAL_ALIGN_MIDDLE
Definition: StyleSheetKeywords.h:92
const int FLOAT_RIGHT
Definition: StyleSheetKeywords.h:41
const int VERTICAL_ALIGN_TEXT_BOTTOM
Definition: StyleSheetKeywords.h:96
const int CLIP_NONE
Definition: StyleSheetKeywords.h:62
const int OVERFLOW_SCROLL
Definition: StyleSheetKeywords.h:59
const int FOCUS_AUTO
Definition: StyleSheetKeywords.h:114
const int TEXT_ALIGN_CENTER
Definition: StyleSheetKeywords.h:72
const int Z_INDEX_TOP
Definition: StyleSheetKeywords.h:101
const int TEXT_TRANSFORM_NONE
Definition: StyleSheetKeywords.h:80
const int VERTICAL_ALIGN_TOP
Definition: StyleSheetKeywords.h:97