aboutsummaryrefslogtreecommitdiff
path: root/src/GenericTool.cc
diff options
context:
space:
mode:
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}