aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2005-11-22 21:09:14 (GMT)
committerfluxgen <fluxgen>2005-11-22 21:09:14 (GMT)
commitf7cfa81bbb1f488899905731f9b72a9cce7d8c83 (patch)
treec56d23e938814dcdf917197f09bd22e5cf4094e3 /src/IconbarTool.cc
parentbe1cbd46909e678bbd71f3a590e36c3077cb2960 (diff)
downloadfluxbox-f7cfa81bbb1f488899905731f9b72a9cce7d8c83.zip
fluxbox-f7cfa81bbb1f488899905731f9b72a9cce7d8c83.tar.bz2
const function Resource getString
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r--src/IconbarTool.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index c9de74c..6aab114 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.cc
@@ -87,7 +87,7 @@ void FbTk::Resource<IconbarTool::DeiconifyMode>::setFromString(const char* strva
87} 87}
88 88
89template<> 89template<>
90std::string FbTk::Resource<IconbarTool::DeiconifyMode>::getString() { 90std::string FbTk::Resource<IconbarTool::DeiconifyMode>::getString() const {
91 switch (m_value) { 91 switch (m_value) {
92 case IconbarTool::SEMIFOLLOW: 92 case IconbarTool::SEMIFOLLOW:
93 return std::string("SemiFollow"); 93 return std::string("SemiFollow");
@@ -119,7 +119,7 @@ void FbTk::Resource<IconbarTool::WheelMode>::setFromString(const char* strval) {
119 119
120 120
121template<> 121template<>
122std::string FbTk::Resource<IconbarTool::WheelMode>::getString() { 122std::string FbTk::Resource<IconbarTool::WheelMode>::getString() const {
123 switch(m_value) { 123 switch(m_value) {
124 case IconbarTool::ON: 124 case IconbarTool::ON:
125 return std::string("On"); 125 return std::string("On");
@@ -137,7 +137,7 @@ void FbTk::Resource<Container::Alignment>::setDefaultValue() {
137} 137}
138 138
139template<> 139template<>
140string FbTk::Resource<Container::Alignment>::getString() { 140string FbTk::Resource<Container::Alignment>::getString() const {
141 switch (m_value) { 141 switch (m_value) {
142 case Container::LEFT: 142 case Container::LEFT:
143 return string("Left"); 143 return string("Left");
@@ -162,7 +162,7 @@ void FbTk::Resource<Container::Alignment>::setFromString(const char *str) {
162} 162}
163 163
164template<> 164template<>
165string FbTk::Resource<IconbarTool::Mode>::getString() { 165string FbTk::Resource<IconbarTool::Mode>::getString() const {
166 166
167 switch (m_value) { 167 switch (m_value) {
168 case IconbarTool::NONE: 168 case IconbarTool::NONE:
@@ -721,8 +721,8 @@ void IconbarTool::renderTheme() {
721 m_icon_container.height(), 721 m_icon_container.height(),
722 m_theme.unfocusedTexture()); 722 m_theme.unfocusedTexture());
723 m_unfocused_err_pm = m_screen.imageControl().renderImage(icon_width+1, 723 m_unfocused_err_pm = m_screen.imageControl().renderImage(icon_width+1,
724 m_icon_container.height(), 724 m_icon_container.height(),
725 m_theme.unfocusedTexture()); 725 m_theme.unfocusedTexture());
726 } 726 }
727 if (tmp) 727 if (tmp)
728 m_screen.imageControl().removeImage(tmp); 728 m_screen.imageControl().removeImage(tmp);