aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/ThemeEngine.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/ThemeEngine.h b/gui/ThemeEngine.h
index 67221d98ce..21711e2955 100644
--- a/gui/ThemeEngine.h
+++ b/gui/ThemeEngine.h
@@ -276,6 +276,11 @@ public:
void disable();
/**
+ * Query the set up pixel format.
+ */
+ const Graphics::PixelFormat getPixelFormat() const { return _overlayFormat; }
+
+ /**
* Implementation of the GUI::Theme API. Called when a
* new dialog is opened. Note that the boolean parameter
* meaning has been changed.