aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/dialog.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gui/dialog.h b/gui/dialog.h
index c42cb8ee27..bccd2b9cf2 100644
--- a/gui/dialog.h
+++ b/gui/dialog.h
@@ -66,8 +66,8 @@ public:
NewGui *getGui() { return _gui; }
- void setupScreenBuf();
- void teardownScreenBuf();
+ virtual void setupScreenBuf();
+ virtual void teardownScreenBuf();
protected:
Widget* findWidget(int x, int y); // Find the widget at pos x,y if any
@@ -117,6 +117,11 @@ public:
else
Dialog::handleKeyDown(key, modifiers);
}
+
+ // Enforce no transparency!
+ virtual void setupScreenBuf() {}
+ virtual void teardownScreenBuf() {}
+
};
#endif