aboutsummaryrefslogtreecommitdiff
path: root/src/ToolbarTheme.cc
diff options
context:
space:
mode:
authormathias <mathias>2005-01-14 09:43:31 (GMT)
committermathias <mathias>2005-01-14 09:43:31 (GMT)
commita07d61e63dfc129660cc9bab344c9e040a7f991f (patch)
tree054793ac4730a39a4ebc0499e747d71e02fad4f8 /src/ToolbarTheme.cc
parent4f9370cafa693862cdd901ce8d237380900a95de (diff)
downloadfluxbox-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.cc16
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>
29using namespace std; 29using namespace std;
30 30
31template<>
32void FbTk::ThemeItem<bool>::load(const std::string *name, const std::string *altname) { }
33
34template<>
35void FbTk::ThemeItem<bool>::setDefaultValue() {
36 *(*this) = false;
37}
38
39template<>
40void FbTk::ThemeItem<bool>::setFromString(char const *strval) {
41 if (strcasecmp(strval, "true")==0)
42 *(*this) = true;
43 else
44 *(*this) = false;
45}
46
47ToolbarTheme::ToolbarTheme(int screen_num): 31ToolbarTheme::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"),