aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Theme.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-05 01:39:19 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-05 01:39:19 (GMT)
commitac1bd7e0981222bf340ce7defb2bb8307d42a0a2 (patch)
treec8fb9c618184e7ac44f6138409cab3fab86b23e4 /src/FbTk/Theme.hh
parent60ba709c2f47cc2c7b877aef1b0f297b097853e5 (diff)
downloadfluxbox_pavel-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.zip
fluxbox_pavel-ac1bd7e0981222bf340ce7defb2bb8307d42a0a2.tar.bz2
update code to use ThemeProxy
Diffstat (limited to 'src/FbTk/Theme.hh')
-rw-r--r--src/FbTk/Theme.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/FbTk/Theme.hh b/src/FbTk/Theme.hh
index 1ae3387..c331ba5 100644
--- a/src/FbTk/Theme.hh
+++ b/src/FbTk/Theme.hh
@@ -127,8 +127,10 @@ public:
127 virtual Subject &reconfigSig() = 0; 127 virtual Subject &reconfigSig() = 0;
128 virtual const Subject &reconfigSig() const = 0; 128 virtual const Subject &reconfigSig() const = 0;
129 129
130 virtual BaseTheme *operator ->() = 0; 130 virtual BaseTheme &operator *() = 0;
131 virtual const BaseTheme *operator ->() const = 0; 131 virtual const BaseTheme &operator *() const = 0;
132 virtual BaseTheme *operator ->() { return &(**this); }
133 virtual const BaseTheme *operator ->() const { return &(**this); }
132}; 134};
133 135
134/// Singleton theme manager 136/// Singleton theme manager