pandemonium_engine_minimal/scene/gui/progress_bar.h

27 lines
484 B
C++

#ifndef PROGRESS_BAR_H
#define PROGRESS_BAR_H
/* progress_bar.h */
#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