diff options
Diffstat (limited to 'gui/dialog.h')
-rw-r--r-- | gui/dialog.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gui/dialog.h b/gui/dialog.h index cf734a83f8..cb6e13f974 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -88,9 +88,16 @@ protected: virtual void open(); virtual void close(); - virtual void draw(); + void markAsDirty() override; + /** Recursively mark all the widgets in this dialog as dirty so they are redrawn */ + void markWidgetsAsDirty(); + + /** Draw the dialog in its entirety (background and widgets) */ virtual void drawDialog(); + /** Draw only the dialog's widgets */ + void drawWidgets(); + virtual void handleTickle(); // Called periodically (in every guiloop() ) virtual void handleMouseDown(int x, int y, int button, int clickCount); virtual void handleMouseUp(int x, int y, int button, int clickCount); |