diff options
Diffstat (limited to 'src/RootTheme.hh')
-rw-r--r-- | src/RootTheme.hh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/RootTheme.hh b/src/RootTheme.hh index 96d9f0e..1e37cfe 100644 --- a/src/RootTheme.hh +++ b/src/RootTheme.hh | |||
@@ -34,7 +34,7 @@ class ImageControl; | |||
34 | } | 34 | } |
35 | 35 | ||
36 | /// Contains border color, border size, bevel width and opGC for objects like geometry window in BScreen | 36 | /// Contains border color, border size, bevel width and opGC for objects like geometry window in BScreen |
37 | class RootTheme: public FbTk::Theme { | 37 | class RootTheme: public FbTk::Theme, public FbTk::ThemeProxy<RootTheme> { |
38 | public: | 38 | public: |
39 | /// constructor | 39 | /// constructor |
40 | /// @param resmanager resource manager for finding specific resources | 40 | /// @param resmanager resource manager for finding specific resources |
@@ -53,7 +53,13 @@ public: | |||
53 | int join_style) { | 53 | int join_style) { |
54 | m_opgc.setLineAttributes(width, line_style, cap_style, join_style); | 54 | m_opgc.setLineAttributes(width, line_style, cap_style, join_style); |
55 | } | 55 | } |
56 | 56 | ||
57 | virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); } | ||
58 | virtual const FbTk::Subject &reconfigSig() const { return FbTk::Theme::reconfigSig(); } | ||
59 | |||
60 | virtual RootTheme *operator ->() { return this; } | ||
61 | virtual const RootTheme *operator ->() const { return this; } | ||
62 | |||
57 | private: | 63 | private: |
58 | BackgroundItem *m_background;///< background image/texture | 64 | BackgroundItem *m_background;///< background image/texture |
59 | FbTk::GContext m_opgc; | 65 | FbTk::GContext m_opgc; |