pandemonium_engine_minimal/scene/gui/progress_bar.h

27 lines
484 B
C++
Raw Normal View History

2023-12-14 21:54:22 +01:00
#ifndef PROGRESS_BAR_H
#define PROGRESS_BAR_H
2023-12-14 21:54:22 +01:00
/* progress_bar.h */
2023-12-14 21:54:22 +01:00
#include "scene/gui/range.h"
class ProgressBar : public Range {
GDCLASS(ProgressBar, Range);
bool percent_visible;
protected:
void _notification(int p_what);
static void _bind_methods();
public:
void set_percent_visible(bool p_visible);
bool is_percent_visible() const;
Size2 get_minimum_size() const;
ProgressBar();
};
#endif // PROGRESS_BAR_H