aboutsummaryrefslogtreecommitdiff
path: root/src/ToolTheme.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ToolTheme.cc')
-rw-r--r--src/ToolTheme.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ToolTheme.cc b/src/ToolTheme.cc
index cdd4bf7..c13ec96 100644
--- a/src/ToolTheme.cc
+++ b/src/ToolTheme.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: ToolTheme.cc,v 1.7 2004/08/25 17:16:40 rathnor Exp $ 23// $Id: ToolTheme.cc,v 1.8 2004/09/12 14:56:19 rathnor Exp $
24 24
25#include "ToolTheme.hh" 25#include "ToolTheme.hh"
26 26
@@ -29,7 +29,7 @@ ToolTheme::ToolTheme(int screen_num, const std::string &name, const std::string
29 TextTheme(*this, name, altname), 29 TextTheme(*this, name, altname),
30 m_texture(*this, name, altname), 30 m_texture(*this, name, altname),
31 m_border(*this, name, altname), 31 m_border(*this, name, altname),
32 m_alpha(*this, name+".alpha", altname+".Alpha") { 32 m_alpha(255) {
33 33
34} 34}
35 35
@@ -54,12 +54,6 @@ bool ToolTheme::fallback(FbTk::ThemeItem_base &item) {
54 return FbTk::ThemeManager::instance().loadItem(item, 54 return FbTk::ThemeManager::instance().loadItem(item,
55 "toolbar.justify", 55 "toolbar.justify",
56 "Toolbar.Justify"); 56 "Toolbar.Justify");
57 } else if (item.name().find(".alpha") != std::string::npos) {
58 if (!FbTk::ThemeManager::instance().loadItem(item,
59 "toolbar.alpha",
60 "Toolbar.Alpha"))
61 *m_alpha = 255;
62 return true;
63 } 57 }
64 58
65 return false; 59 return false;