File: ProgressBar.xml

package info (click to toggle)
godot 3.2.3-stable-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 121,308 kB
  • sloc: cpp: 804,285; ansic: 597,434; xml: 77,823; asm: 17,127; cs: 13,535; lisp: 12,017; python: 9,376; java: 7,474; sh: 973; javascript: 659; perl: 264; pascal: 203; objc: 116; makefile: 105
file content (39 lines) | stat: -rw-r--r-- 1,472 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8" ?>
<class name="ProgressBar" inherits="Range" version="3.2">
	<brief_description>
		General-purpose progress bar.
	</brief_description>
	<description>
		General-purpose progress bar. Shows fill percentage from right to left.
	</description>
	<tutorials>
	</tutorials>
	<methods>
	</methods>
	<members>
		<member name="percent_visible" type="bool" setter="set_percent_visible" getter="is_percent_visible" default="true">
			If [code]true[/code], the fill percentage is displayed on the bar.
		</member>
		<member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" override="true" default="0" />
		<member name="step" type="float" setter="set_step" getter="get_step" override="true" default="0.01" />
	</members>
	<constants>
	</constants>
	<theme_items>
		<theme_item name="bg" type="StyleBox">
			The style of the background.
		</theme_item>
		<theme_item name="fg" type="StyleBox">
			The style of the progress (i.e. the part that fills the bar).
		</theme_item>
		<theme_item name="font" type="Font">
			Font used to draw the fill percentage if [member percent_visible] is [code]true[/code].
		</theme_item>
		<theme_item name="font_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
			The color of the text.
		</theme_item>
		<theme_item name="font_color_shadow" type="Color" default="Color( 0, 0, 0, 1 )">
			The color of the text's shadow.
		</theme_item>
	</theme_items>
</class>