diff options
Diffstat (limited to 'src/ToolbarTheme.cc')
-rw-r--r-- | src/ToolbarTheme.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/ToolbarTheme.cc b/src/ToolbarTheme.cc index 33b8db6..cb92ae9 100644 --- a/src/ToolbarTheme.cc +++ b/src/ToolbarTheme.cc | |||
@@ -28,22 +28,6 @@ | |||
28 | #include <iostream> | 28 | #include <iostream> |
29 | using namespace std; | 29 | using namespace std; |
30 | 30 | ||
31 | template<> | ||
32 | void FbTk::ThemeItem<bool>::load(const std::string *name, const std::string *altname) { } | ||
33 | |||
34 | template<> | ||
35 | void FbTk::ThemeItem<bool>::setDefaultValue() { | ||
36 | *(*this) = false; | ||
37 | } | ||
38 | |||
39 | template<> | ||
40 | void FbTk::ThemeItem<bool>::setFromString(char const *strval) { | ||
41 | if (strcasecmp(strval, "true")==0) | ||
42 | *(*this) = true; | ||
43 | else | ||
44 | *(*this) = false; | ||
45 | } | ||
46 | |||
47 | ToolbarTheme::ToolbarTheme(int screen_num): | 31 | ToolbarTheme::ToolbarTheme(int screen_num): |
48 | FbTk::Theme(screen_num), | 32 | FbTk::Theme(screen_num), |
49 | m_toolbar(*this, "toolbar", "Toolbar"), | 33 | m_toolbar(*this, "toolbar", "Toolbar"), |