StyleSheetKeywords.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. #ifndef ROCKETCORESTYLESHEETKEYWORDS_H
  28. #define ROCKETCORESTYLESHEETKEYWORDS_H
  29. namespace Rocket {
  30. namespace Core {
  31. const int POSITION_STATIC = 0;
  32. const int POSITION_RELATIVE = 1;
  33. const int POSITION_ABSOLUTE = 2;
  34. const int POSITION_FIXED = 3;
  35. const int FLOAT_NONE = 0;
  36. const int FLOAT_LEFT = 1;
  37. const int FLOAT_RIGHT = 2;
  38. const int CLEAR_NONE = 0;
  39. const int CLEAR_LEFT = 1;
  40. const int CLEAR_RIGHT = 2;
  41. const int CLEAR_BOTH = 3;
  42. const int DISPLAY_NONE = 0;
  43. const int DISPLAY_BLOCK = 1;
  44. const int DISPLAY_INLINE = 2;
  45. const int DISPLAY_INLINE_BLOCK = 3;
  46. const int VISIBILITY_VISIBLE = 0;
  47. const int VISIBILITY_HIDDEN = 1;
  48. const int OVERFLOW_VISIBLE = 0;
  49. const int OVERFLOW_HIDDEN = 1;
  50. const int OVERFLOW_AUTO = 2;
  51. const int OVERFLOW_SCROLL = 3;
  52. const int CLIP_AUTO = 0;
  53. const int CLIP_NONE = 1;
  54. const int FONT_STYLE_NORMAL = 0;
  55. const int FONT_STYLE_ITALIC = 1;
  56. const int FONT_WEIGHT_NORMAL = 0;
  57. const int FONT_WEIGHT_BOLD = 1;
  58. const int TEXT_ALIGN_LEFT = 0;
  59. const int TEXT_ALIGN_RIGHT = 1;
  60. const int TEXT_ALIGN_CENTER = 2;
  61. const int TEXT_ALIGN_JUSTIFY = 3;
  62. const int TEXT_DECORATION_NONE = 0;
  63. const int TEXT_DECORATION_UNDERLINE = 1;
  64. const int TEXT_DECORATION_OVERLINE = 2;
  65. const int TEXT_DECORATION_LINE_THROUGH = 3;
  66. const int TEXT_TRANSFORM_NONE = 0;
  67. const int TEXT_TRANSFORM_CAPITALIZE = 1;
  68. const int TEXT_TRANSFORM_UPPERCASE = 2;
  69. const int TEXT_TRANSFORM_LOWERCASE = 3;
  70. const int WHITE_SPACE_NORMAL = 0;
  71. const int WHITE_SPACE_PRE = 1;
  72. const int WHITE_SPACE_NOWRAP = 2;
  73. const int WHITE_SPACE_PRE_WRAP = 3;
  74. const int WHITE_SPACE_PRE_LINE = 4;
  75. const int VERTICAL_ALIGN_BASELINE = 0;
  76. const int VERTICAL_ALIGN_MIDDLE = 1;
  77. const int VERTICAL_ALIGN_SUB = 2;
  78. const int VERTICAL_ALIGN_SUPER = 3;
  79. const int VERTICAL_ALIGN_TEXT_TOP = 4;
  80. const int VERTICAL_ALIGN_TEXT_BOTTOM = 5;
  81. const int VERTICAL_ALIGN_TOP = 6;
  82. const int VERTICAL_ALIGN_BOTTOM = 7;
  83. const int Z_INDEX_AUTO = 0;
  84. const int Z_INDEX_TOP = 1;
  85. const int Z_INDEX_BOTTOM = 2;
  86. const int DRAG_NONE = 0;
  87. const int DRAG_DRAG = 1;
  88. const int DRAG_DRAG_DROP = 2;
  89. const int DRAG_BLOCK = 3;
  90. const int DRAG_CLONE = 4;
  91. const int TAB_INDEX_NONE = 0;
  92. const int TAB_INDEX_AUTO = 1;
  93. const int FOCUS_NONE = 0;
  94. const int FOCUS_AUTO = 1;
  95. }
  96. }
  97. #endif