diff options
Diffstat (limited to 'scene/gui/progress_bar.h')
-rw-r--r-- | scene/gui/progress_bar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/gui/progress_bar.h b/scene/gui/progress_bar.h index f451506d95..b6d7d2c7cf 100644 --- a/scene/gui/progress_bar.h +++ b/scene/gui/progress_bar.h @@ -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(); |