summaryrefslogtreecommitdiff
path: root/src/RootTheme.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/RootTheme.hh')
-rw-r--r--src/RootTheme.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/RootTheme.hh b/src/RootTheme.hh
index abfea7c..63be8b0 100644
--- a/src/RootTheme.hh
+++ b/src/RootTheme.hh
@@ -33,6 +33,7 @@
33#include <string> 33#include <string>
34 34
35class BackgroundItem; 35class BackgroundItem;
36class BScreen;
36 37
37namespace FbTk { 38namespace FbTk {
38class ResourceManager; 39class ResourceManager;
@@ -45,7 +46,7 @@ public:
45 /// constructor 46 /// constructor
46 /// @param resmanager resource manager for finding specific resources 47 /// @param resmanager resource manager for finding specific resources
47 /// @param image_control for rendering background texture 48 /// @param image_control for rendering background texture
48 RootTheme(FbTk::ImageControl &image_control); 49 RootTheme(FbTk::ImageControl &image_control, BScreen *scrn = 0);
49 ~RootTheme(); 50 ~RootTheme();
50 51
51 bool fallback(FbTk::ThemeItem_base &item); 52 bool fallback(FbTk::ThemeItem_base &item);
@@ -61,6 +62,7 @@ public:
61 } 62 }
62 63
63private: 64private:
65 BScreen *m_screen;
64 BackgroundItem *m_background;///< background image/texture 66 BackgroundItem *m_background;///< background image/texture
65 FbTk::GContext m_opgc; 67 FbTk::GContext m_opgc;
66 FbTk::ImageControl &m_image_ctrl; ///< image control for rendering background texture 68 FbTk::ImageControl &m_image_ctrl; ///< image control for rendering background texture