diff options
author | mathias <mathias> | 2005-01-14 09:43:31 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-01-14 09:43:31 (GMT) |
commit | a07d61e63dfc129660cc9bab344c9e040a7f991f (patch) | |
tree | 054793ac4730a39a4ebc0499e747d71e02fad4f8 /src/ToolbarTheme.cc | |
parent | 4f9370cafa693862cdd901ce8d237380900a95de (diff) | |
download | fluxbox-a07d61e63dfc129660cc9bab344c9e040a7f991f.zip fluxbox-a07d61e63dfc129660cc9bab344c9e040a7f991f.tar.bz2 |
moved ThemeItem<bool> - implementation to FbTk/ThemeItems.cc
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"), |