VScrollBar.xml 2.3 KB

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