diff options
Diffstat (limited to 'gui/dialog.h')
-rw-r--r-- | gui/dialog.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gui/dialog.h b/gui/dialog.h index cf734a83f8..8f3b2343f5 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -88,9 +88,15 @@ protected: virtual void open(); virtual void close(); - virtual void draw(); + /** 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); |