aboutsummaryrefslogtreecommitdiff
path: root/src/ToolTheme.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-09-12 14:56:20 (GMT)
committerrathnor <rathnor>2004-09-12 14:56:20 (GMT)
commit42c1fd3ae3dd058e146b7350c65b74386123c25c (patch)
treecc549c2c7b12c87f8c33198f5b30f00d9dd30bc6 /src/ToolTheme.cc
parentc39234195a46cece2bdb18dfdde6c91c7a190dc4 (diff)
downloadfluxbox_pavel-42c1fd3ae3dd058e146b7350c65b74386123c25c.zip
fluxbox_pavel-42c1fd3ae3dd058e146b7350c65b74386123c25c.tar.bz2
preliminary support for composite/compositing manager. Also general work
for consistency with transparency resources
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;