diff options
author | Johannes Schickel | 2012-06-13 04:32:11 +0200 |
---|---|---|
committer | Johannes Schickel | 2012-06-13 04:32:11 +0200 |
commit | d5eb3e3c06a1f396f578b21c4a3aaff3519513a5 (patch) | |
tree | c7bc0eb0f8f0c0e50c8e5441ad74d7f07764e8ae /gui | |
parent | 34c57519489186ae62a28072199b247211c05161 (diff) | |
download | scummvm-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.h | 5 |
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. |