You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename ProgressBar.percent_visible to show_percentage
`percent_visible` -> `show_percentage` `set_percent_visible` -> `set_show_percentage` `is_percent_visible` -> `is_percentage_shown`
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
class ProgressBar : public Range {
|
||||
GDCLASS(ProgressBar, Range);
|
||||
|
||||
bool percent_visible = true;
|
||||
bool show_percentage = true;
|
||||
|
||||
struct ThemeCache {
|
||||
Ref<StyleBox> background_style;
|
||||
@@ -67,8 +67,8 @@ public:
|
||||
void set_fill_mode(int p_fill);
|
||||
int get_fill_mode();
|
||||
|
||||
void set_percent_visible(bool p_visible);
|
||||
bool is_percent_visible() const;
|
||||
void set_show_percentage(bool p_visible);
|
||||
bool is_percentage_shown() const;
|
||||
|
||||
Size2 get_minimum_size() const override;
|
||||
ProgressBar();
|
||||
|
||||
Reference in New Issue
Block a user