HSlider.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="HSlider" inherits="Slider" version="4.0">
  3. <brief_description>
  4. Horizontal slider.
  5. </brief_description>
  6. <description>
  7. Horizontal slider. See [Slider]. This one goes from left (min) to right (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. <theme_items>
  13. <theme_item name="grabber" data_type="icon" type="Texture2D">
  14. The texture for the grabber (the draggable element).
  15. </theme_item>
  16. <theme_item name="grabber_area" data_type="style" type="StyleBox">
  17. The background of the area to the left of the grabber.
  18. </theme_item>
  19. <theme_item name="grabber_area_highlight" data_type="style" type="StyleBox">
  20. </theme_item>
  21. <theme_item name="grabber_disabled" data_type="icon" type="Texture2D">
  22. The texture for the grabber when it's disabled.
  23. </theme_item>
  24. <theme_item name="grabber_highlight" data_type="icon" type="Texture2D">
  25. The texture for the grabber when it's focused.
  26. </theme_item>
  27. <theme_item name="slider" data_type="style" type="StyleBox">
  28. The background for the whole slider. Determines the height of the [code]grabber_area[/code].
  29. </theme_item>
  30. <theme_item name="tick" data_type="icon" type="Texture2D">
  31. The texture for the ticks, visible when [member Slider.tick_count] is greater than 0.
  32. </theme_item>
  33. </theme_items>
  34. </class>