aboutsummaryrefslogtreecommitdiff
path: root/src/RootTheme.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-03-06 19:40:38 (GMT)
committermarkt <markt>2007-03-06 19:40:38 (GMT)
commit40c0c7c3646d854430919eff2b211e5f0c7bf780 (patch)
tree444a9639c4808aef296d3253f7c7814ff18e5880 /src/RootTheme.hh
parented3731fa30c8563e1187ff72528fcc2ca567c43d (diff)
downloadfluxbox-40c0c7c3646d854430919eff2b211e5f0c7bf780.zip
fluxbox-40c0c7c3646d854430919eff2b211e5f0c7bf780.tar.bz2
fixed bug with keys not working when using a style background
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