40 #ifndef H_GEOGRAM_GFX_GUI_STATUS_BAR_H
41 #define H_GEOGRAM_GFX_GUI_STATUS_BAR_H
77 void end(
bool canceled)
override;
90 return (nb_active_ > 0);
117 typedef SmartPointer<StatusBar> StatusBar_var;
StatusBar displays the progress bar.
void progress(GEO::index_t step, GEO::index_t percent) override
Tracks progress.
void draw()
Draws the status bar and handles the GUI.
float get_window_height() const
Gets the height of the status bar window.
virtual void update()
Redraws the GUI.
void begin() override
Starts listening progress.
StatusBar()
StatusBar constructor.
void end(bool canceled) override
Stops listening progress.
bool active() const
Tests whether this status bar should be displayed.
Common include file, providing basic definitions. Should be included before anything else by all head...
#define GEOGRAM_GFX_API
Linkage declaration for geogram symbols.
Global Vorpaline namespace.
geo_index_t index_t
The type for storing and manipulating indices.
Functions and classes for displaying progress bars.