StringCache.cpp 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. #include "precompiled.h"
  28. namespace Rocket {
  29. namespace Core {
  30. const String MARGIN_TOP = "margin-top";
  31. const String MARGIN_RIGHT = "margin-right";
  32. const String MARGIN_BOTTOM = "margin-bottom";
  33. const String MARGIN_LEFT = "margin-left";
  34. const String MARGIN = "margin";
  35. const String PADDING_TOP = "padding-top";
  36. const String PADDING_RIGHT = "padding-right";
  37. const String PADDING_BOTTOM = "padding-bottom";
  38. const String PADDING_LEFT = "padding-left";
  39. const String PADDING = "padding";
  40. const String BORDER_TOP_WIDTH = "border-top-width";
  41. const String BORDER_RIGHT_WIDTH = "border-right-width";
  42. const String BORDER_BOTTOM_WIDTH = "border-bottom-width";
  43. const String BORDER_LEFT_WIDTH = "border-left-width";
  44. const String BORDER_WIDTH = "border-width";
  45. const String BORDER_TOP_COLOR = "border-top-color";
  46. const String BORDER_RIGHT_COLOR = "border-right-color";
  47. const String BORDER_BOTTOM_COLOR = "border-bottom-color";
  48. const String BORDER_LEFT_COLOR = "border-left-color";
  49. const String BORDER_COLOR = "border-color";
  50. const String BORDER_TOP = "border-top";
  51. const String BORDER_RIGHT = "border-right";
  52. const String BORDER_BOTTOM = "border-bottom";
  53. const String BORDER_LEFT = "border-left";
  54. const String DISPLAY = "display";
  55. const String POSITION = "position";
  56. const String TOP = "top";
  57. const String RIGHT = "right";
  58. const String BOTTOM = "bottom";
  59. const String LEFT = "left";
  60. const String FLOAT = "float";
  61. const String CLEAR = "clear";
  62. const String Z_INDEX = "z-index";
  63. const String WIDTH = "width";
  64. const String MIN_WIDTH = "min-width";
  65. const String MAX_WIDTH = "max-width";
  66. const String HEIGHT = "height";
  67. const String MIN_HEIGHT = "min-height";
  68. const String MAX_HEIGHT = "max-height";
  69. const String LINE_HEIGHT = "line-height";
  70. const String VERTICAL_ALIGN = "vertical-align";
  71. const String OVERFLOW_X = "overflow-x";
  72. const String OVERFLOW_Y = "overflow-y";
  73. const String CLIP = "clip";
  74. const String VISIBILITY = "visibility";
  75. const String BACKGROUND_COLOR = "background-color";
  76. const String BACKGROUND = "background";
  77. const String COLOR = "color";
  78. const String FONT_FAMILY = "font-family";
  79. const String FONT_CHARSET = "font-charset";
  80. const String FONT_STYLE = "font-style";
  81. const String FONT_WEIGHT = "font-weight";
  82. const String FONT_SIZE = "font-size";
  83. const String FONT = "font";
  84. const String TEXT_ALIGN = "text-align";
  85. const String TEXT_DECORATION = "text-decoration";
  86. const String TEXT_TRANSFORM = "text-transform";
  87. const String WHITE_SPACE = "white-space";
  88. const String CURSOR = "cursor";
  89. const String DRAG = "drag";
  90. const String TAB_INDEX = "tab-index";
  91. const String SCROLLBAR_MARGIN = "scrollbar-margin";
  92. const String SCROLL_DEFAULT_STEP_SIZE = "scroll-default-step-size";
  93. const String MOUSEDOWN = "mousedown";
  94. const String MOUSESCROLL = "mousescroll";
  95. const String MOUSEOVER = "mouseover";
  96. const String MOUSEOUT = "mouseout";
  97. const String FOCUS = "focus";
  98. const String BLUR = "blur";
  99. const String KEYDOWN = "keydown";
  100. const String MOUSEUP = "mouseup";
  101. const String CLICK = "click";
  102. const String DRAGSTART = "dragstart";
  103. const String DRAGOVER = "dragover";
  104. const String LOAD = "load";
  105. const String UNLOAD = "unload";
  106. const String KEYUP = "keyup";
  107. const String TEXTINPUT = "textinput";
  108. const String MOUSEMOVE = "mousemove";
  109. const String DRAGMOVE = "dragmove";
  110. const String DBLCLICK = "dblclick";
  111. const String DRAGDROP = "dragdrop";
  112. const String DRAGOUT = "dragout";
  113. const String DRAGEND = "dragend";
  114. const String RESIZE = "resize";
  115. }
  116. }