1
0
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:
Micky
2022-08-29 15:20:48 +02:00
committed by Rémi Verschelde
parent f577bae76f
commit 08c2aab169
5 changed files with 18 additions and 17 deletions

View File

@@ -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();