aboutsummaryrefslogtreecommitdiff
path: root/src/GenericTool.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/GenericTool.cc
parentc39234195a46cece2bdb18dfdde6c91c7a190dc4 (diff)
downloadfluxbox-42c1fd3ae3dd058e146b7350c65b74386123c25c.zip
fluxbox-42c1fd3ae3dd058e146b7350c65b74386123c25c.tar.bz2
preliminary support for composite/compositing manager. Also general work
for consistency with transparency resources
Diffstat (limited to 'src/GenericTool.cc')
-rw-r--r--src/GenericTool.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/GenericTool.cc b/src/GenericTool.cc
index 05da41b..671a4eb 100644
--- a/src/GenericTool.cc
+++ b/src/GenericTool.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: GenericTool.cc,v 1.3 2004/01/13 14:41:32 rathnor Exp $ 22// $Id: GenericTool.cc,v 1.4 2004/09/12 14:56:18 rathnor Exp $
23 23
24#include "GenericTool.hh" 24#include "GenericTool.hh"
25#include "FbTk/FbWindow.hh" 25#include "FbTk/FbWindow.hh"
@@ -76,13 +76,13 @@ unsigned int GenericTool::borderWidth() const {
76 return m_window->borderWidth(); 76 return m_window->borderWidth();
77} 77}
78 78
79 79void GenericTool::renderTheme(unsigned char alpha) {
80void GenericTool::renderTheme() { 80 m_window->setAlpha(alpha);
81 m_window->setAlpha(theme().alpha());
82 m_window->clear(); 81 m_window->clear();
83 m_window->updateTransparent(); 82 m_window->updateTransparent();
84} 83}
85 84
86void GenericTool::update(FbTk::Subject *subj) { 85void GenericTool::update(FbTk::Subject *subj) {
87 renderTheme(); 86 m_window->clear();
87 m_window->updateTransparent();
88} 88}