StyleSheetKeywords.h

00001 /*
00002  * This source file is part of libRocket, the HTML/CSS Interface Middleware
00003  *
00004  * For the latest information, see http://www.librocket.com
00005  *
00006  * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
00007  *
00008  * Permission is hereby granted, free of charge, to any person obtaining a copy
00009  * of this software and associated documentation files (the "Software"), to deal
00010  * in the Software without restriction, including without limitation the rights
00011  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
00012  * copies of the Software, and to permit persons to whom the Software is
00013  * furnished to do so, subject to the following conditions:
00014  *
00015  * The above copyright notice and this permission notice shall be included in
00016  * all copies or substantial portions of the Software.
00017  * 
00018  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00019  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00020  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
00021  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
00022  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
00023  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
00024  * THE SOFTWARE.
00025  *
00026  */
00027 
00028 #ifndef ROCKETCORESTYLESHEETKEYWORDS_H
00029 #define ROCKETCORESTYLESHEETKEYWORDS_H
00030 
00031 namespace Rocket {
00032 namespace Core {
00033 
00034 const int POSITION_STATIC = 0;
00035 const int POSITION_RELATIVE = 1;
00036 const int POSITION_ABSOLUTE = 2;
00037 const int POSITION_FIXED = 3;
00038 
00039 const int FLOAT_NONE = 0;
00040 const int FLOAT_LEFT = 1;
00041 const int FLOAT_RIGHT = 2;
00042 
00043 const int CLEAR_NONE = 0;
00044 const int CLEAR_LEFT = 1;
00045 const int CLEAR_RIGHT = 2;
00046 const int CLEAR_BOTH = 3;
00047 
00048 const int DISPLAY_NONE = 0;
00049 const int DISPLAY_BLOCK = 1;
00050 const int DISPLAY_INLINE = 2;
00051 const int DISPLAY_INLINE_BLOCK = 3;
00052 
00053 const int VISIBILITY_VISIBLE = 0;
00054 const int VISIBILITY_HIDDEN = 1;
00055 
00056 const int OVERFLOW_VISIBLE = 0;
00057 const int OVERFLOW_HIDDEN = 1;
00058 const int OVERFLOW_AUTO = 2;
00059 const int OVERFLOW_SCROLL = 3;
00060 
00061 const int CLIP_AUTO = 0;
00062 const int CLIP_NONE = 1;
00063 
00064 const int FONT_STYLE_NORMAL = 0;
00065 const int FONT_STYLE_ITALIC = 1;
00066 
00067 const int FONT_WEIGHT_NORMAL = 0;
00068 const int FONT_WEIGHT_BOLD = 1;
00069 
00070 const int TEXT_ALIGN_LEFT = 0;
00071 const int TEXT_ALIGN_RIGHT = 1;
00072 const int TEXT_ALIGN_CENTER = 2;
00073 const int TEXT_ALIGN_JUSTIFY = 3;
00074 
00075 const int TEXT_DECORATION_NONE = 0;
00076 const int TEXT_DECORATION_UNDERLINE = 1;
00077 const int TEXT_DECORATION_OVERLINE = 2;
00078 const int TEXT_DECORATION_LINE_THROUGH = 3;
00079 
00080 const int TEXT_TRANSFORM_NONE = 0;
00081 const int TEXT_TRANSFORM_CAPITALIZE = 1;
00082 const int TEXT_TRANSFORM_UPPERCASE = 2;
00083 const int TEXT_TRANSFORM_LOWERCASE = 3;
00084 
00085 const int WHITE_SPACE_NORMAL = 0;
00086 const int WHITE_SPACE_PRE = 1;
00087 const int WHITE_SPACE_NOWRAP = 2;
00088 const int WHITE_SPACE_PRE_WRAP = 3;
00089 const int WHITE_SPACE_PRE_LINE = 4;
00090 
00091 const int VERTICAL_ALIGN_BASELINE = 0;
00092 const int VERTICAL_ALIGN_MIDDLE = 1;
00093 const int VERTICAL_ALIGN_SUB = 2;
00094 const int VERTICAL_ALIGN_SUPER = 3;
00095 const int VERTICAL_ALIGN_TEXT_TOP = 4;
00096 const int VERTICAL_ALIGN_TEXT_BOTTOM = 5;
00097 const int VERTICAL_ALIGN_TOP = 6;
00098 const int VERTICAL_ALIGN_BOTTOM = 7;
00099 
00100 const int Z_INDEX_AUTO = 0;
00101 const int Z_INDEX_TOP = 1;
00102 const int Z_INDEX_BOTTOM = 2;
00103 
00104 const int DRAG_NONE = 0;
00105 const int DRAG_DRAG = 1;
00106 const int DRAG_DRAG_DROP = 2;
00107 const int DRAG_BLOCK = 3;
00108 const int DRAG_CLONE = 4;
00109 
00110 const int TAB_INDEX_NONE = 0;
00111 const int TAB_INDEX_AUTO = 1;
00112 
00113 const int FOCUS_NONE = 0;
00114 const int FOCUS_AUTO = 1;
00115 
00116 }
00117 }
00118 
00119 #endif