mirror of
https://github.com/Relintai/pandemonium_engine_minimal.git
synced 2024-11-17 22:17:19 +01:00
27 lines
484 B
C++
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
|