VSlider.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VSlider" inherits="Slider" version="3.4">
  3. <brief_description>
  4. Vertical slider.
  5. </brief_description>
  6. <description>
  7. Vertical slider. See [Slider]. This one goes from bottom (min) to top (max).
  8. [b]Note:[/b] The [signal Range.changed] and [signal Range.value_changed] signals are part of the [Range] class which this class inherits from.
  9. </description>
  10. <tutorials>
  11. </tutorials>
  12. <methods>
  13. </methods>
  14. <members>
  15. <member name="size_flags_horizontal" type="int" setter="set_h_size_flags" getter="get_h_size_flags" override="true" default="0" />
  16. <member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" override="true" default="1" />
  17. </members>
  18. <constants>
  19. </constants>
  20. <theme_items>
  21. <theme_item name="grabber" type="Texture">
  22. The texture for the grabber (the draggable element).
  23. </theme_item>
  24. <theme_item name="grabber_area" type="StyleBox">
  25. The background of the area below the grabber.
  26. </theme_item>
  27. <theme_item name="grabber_area_highlight" type="StyleBox">
  28. </theme_item>
  29. <theme_item name="grabber_disabled" type="Texture">
  30. The texture for the grabber when it's disabled.
  31. </theme_item>
  32. <theme_item name="grabber_highlight" type="Texture">
  33. The texture for the grabber when it's focused.
  34. </theme_item>
  35. <theme_item name="slider" type="StyleBox">
  36. The background for the whole slider. Determines the width of the [code]grabber_area[/code].
  37. </theme_item>
  38. <theme_item name="tick" type="Texture">
  39. The texture for the ticks, visible when [member Slider.tick_count] is greater than 0.
  40. </theme_item>
  41. </theme_items>
  42. </class>