mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
b68dd2e189
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
39 lines
1.8 KiB
XML
39 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VSlider" inherits="Slider" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
Vertical slider.
|
|
</brief_description>
|
|
<description>
|
|
Vertical slider. See [Slider]. This one goes from bottom (min) to top (max).
|
|
[b]Note:[/b] The [signal Range.changed] and [signal Range.value_changed] signals are part of the [Range] class which this class inherits from.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="size_flags_horizontal" type="int" setter="set_h_size_flags" getter="get_h_size_flags" overrides="Control" default="0" />
|
|
<member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" overrides="Control" default="1" />
|
|
</members>
|
|
<theme_items>
|
|
<theme_item name="grabber" data_type="icon" type="Texture2D">
|
|
The texture for the grabber (the draggable element).
|
|
</theme_item>
|
|
<theme_item name="grabber_disabled" data_type="icon" type="Texture2D">
|
|
The texture for the grabber when it's disabled.
|
|
</theme_item>
|
|
<theme_item name="grabber_highlight" data_type="icon" type="Texture2D">
|
|
The texture for the grabber when it's focused.
|
|
</theme_item>
|
|
<theme_item name="tick" data_type="icon" type="Texture2D">
|
|
The texture for the ticks, visible when [member Slider.tick_count] is greater than 0.
|
|
</theme_item>
|
|
<theme_item name="grabber_area" data_type="style" type="StyleBox">
|
|
The background of the area below the grabber.
|
|
</theme_item>
|
|
<theme_item name="grabber_area_highlight" data_type="style" type="StyleBox">
|
|
</theme_item>
|
|
<theme_item name="slider" data_type="style" type="StyleBox">
|
|
The background for the whole slider. Determines the width of the [code]grabber_area[/code].
|
|
</theme_item>
|
|
</theme_items>
|
|
</class>
|