summaryrefslogtreecommitdiff
path: root/src/WorkspaceNameTheme.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/WorkspaceNameTheme.hh')
-rw-r--r--src/WorkspaceNameTheme.hh10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/WorkspaceNameTheme.hh b/src/WorkspaceNameTheme.hh
index 2e4dc42..860f6ec 100644
--- a/src/WorkspaceNameTheme.hh
+++ b/src/WorkspaceNameTheme.hh
@@ -25,7 +25,8 @@
25 25
26#include "ToolTheme.hh" 26#include "ToolTheme.hh"
27 27
28class WorkspaceNameTheme:public ToolTheme { 28class WorkspaceNameTheme: public ToolTheme,
29 public FbTk::ThemeProxy<WorkspaceNameTheme> {
29public: 30public:
30 WorkspaceNameTheme(int screen_num, 31 WorkspaceNameTheme(int screen_num,
31 const std::string &name, 32 const std::string &name,
@@ -44,6 +45,13 @@ public:
44 45
45 return ToolTheme::fallback(item); 46 return ToolTheme::fallback(item);
46 } 47 }
48
49 virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); }
50 virtual const FbTk::Subject &reconfigSig() const { return FbTk::Theme::reconfigSig(); }
51
52 virtual WorkspaceNameTheme *operator ->() { return this; }
53 virtual const WorkspaceNameTheme *operator ->() const { return this; }
54
47}; 55};
48 56
49#endif // WORKSPACENAMETHEME_HH 57#endif // WORKSPACENAMETHEME_HH