HScrollBar.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="HScrollBar" inherits="ScrollBar" version="4.0">
  3. <brief_description>
  4. Horizontal scroll bar.
  5. </brief_description>
  6. <description>
  7. Horizontal version of [ScrollBar], which goes from left (min) to right (max).
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <theme_items>
  12. <theme_item name="decrement" data_type="icon" type="Texture2D">
  13. Icon used as a button to scroll the [ScrollBar] left. Supports custom step using the [member ScrollBar.custom_step] property.
  14. </theme_item>
  15. <theme_item name="decrement_highlight" data_type="icon" type="Texture2D">
  16. Displayed when the mouse cursor hovers over the decrement button.
  17. </theme_item>
  18. <theme_item name="decrement_pressed" data_type="icon" type="Texture2D">
  19. Displayed when the decrement button is being pressed.
  20. </theme_item>
  21. <theme_item name="grabber" data_type="style" type="StyleBox">
  22. Used as texture for the grabber, the draggable element representing current scroll.
  23. </theme_item>
  24. <theme_item name="grabber_highlight" data_type="style" type="StyleBox">
  25. Used when the mouse hovers over the grabber.
  26. </theme_item>
  27. <theme_item name="grabber_pressed" data_type="style" type="StyleBox">
  28. Used when the grabber is being dragged.
  29. </theme_item>
  30. <theme_item name="increment" data_type="icon" type="Texture2D">
  31. Icon used as a button to scroll the [ScrollBar] right. Supports custom step using the [member ScrollBar.custom_step] property.
  32. </theme_item>
  33. <theme_item name="increment_highlight" data_type="icon" type="Texture2D">
  34. Displayed when the mouse cursor hovers over the increment button.
  35. </theme_item>
  36. <theme_item name="increment_pressed" data_type="icon" type="Texture2D">
  37. Displayed when the increment button is being pressed.
  38. </theme_item>
  39. <theme_item name="scroll" data_type="style" type="StyleBox">
  40. Used as background of this [ScrollBar].
  41. </theme_item>
  42. <theme_item name="scroll_focus" data_type="style" type="StyleBox">
  43. Used as background when the [ScrollBar] has the GUI focus.
  44. </theme_item>
  45. </theme_items>
  46. </class>