aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJohannes Schickel2012-06-13 04:32:11 +0200
committerJohannes Schickel2012-06-13 04:32:11 +0200
commitd5eb3e3c06a1f396f578b21c4a3aaff3519513a5 (patch)
treec7bc0eb0f8f0c0e50c8e5441ad74d7f07764e8ae /gui
parent34c57519489186ae62a28072199b247211c05161 (diff)
downloadscummvm-rg350-d5eb3e3c06a1f396f578b21c4a3aaff3519513a5.tar.gz
scummvm-rg350-d5eb3e3c06a1f396f578b21c4a3aaff3519513a5.tar.bz2
scummvm-rg350-d5eb3e3c06a1f396f578b21c4a3aaff3519513a5.zip
GUI: Allow querying of the pixel format used by ThemeEngine.
Diffstat (limited to 'gui')
-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.