aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MenuTheme.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-08 22:07:58 (GMT)
committerfluxgen <fluxgen>2004-01-08 22:07:58 (GMT)
commitf25aab19562fe50c36fac186f2eb5bd3383e2173 (patch)
tree6b509dfbf50285a378122812a78f7c6a319b4b46 /src/FbTk/MenuTheme.cc
parent5643caa65520c7410a87e6daaa55e3b7adb005f8 (diff)
downloadfluxbox-f25aab19562fe50c36fac186f2eb5bd3383e2173.zip
fluxbox-f25aab19562fe50c36fac186f2eb5bd3383e2173.tar.bz2
cleaning
Diffstat (limited to 'src/FbTk/MenuTheme.cc')
-rw-r--r--src/FbTk/MenuTheme.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/FbTk/MenuTheme.cc b/src/FbTk/MenuTheme.cc
index 2dd6564..605246a 100644
--- a/src/FbTk/MenuTheme.cc
+++ b/src/FbTk/MenuTheme.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: MenuTheme.cc,v 1.13 2003/12/17 00:43:22 fluxgen Exp $ 22// $Id: MenuTheme.cc,v 1.14 2004/01/08 22:07:58 fluxgen Exp $
23 23
24#include "MenuTheme.hh" 24#include "MenuTheme.hh"
25 25
@@ -60,18 +60,17 @@ MenuTheme::MenuTheme(int screen_num):
60 h_text_gc(RootWindow(m_display, screen_num)), 60 h_text_gc(RootWindow(m_display, screen_num)),
61 d_text_gc(RootWindow(m_display, screen_num)), 61 d_text_gc(RootWindow(m_display, screen_num)),
62 hilite_gc(RootWindow(m_display, screen_num)), 62 hilite_gc(RootWindow(m_display, screen_num)),
63 m_alpha(255),
63 m_menumode(DELAY_OPEN), 64 m_menumode(DELAY_OPEN),
64 m_delayopen(0), // no delay as default 65 m_delayopen(0), // no delay as default
65 m_delayclose(0), // no delay as default 66 m_delayclose(0) // no delay as default
66 m_alpha(255) { 67{
67 68
68 // set default values 69 // set default values
69 *m_border_width = 0; 70 *m_border_width = 0;
70 *m_bevel_width = 0; 71 *m_bevel_width = 0;
71 *m_border_width = 0; 72 *m_border_width = 0;
72 73
73 Window rootwindow = RootWindow(m_display, screen_num);
74
75 t_text_gc.setForeground(*t_text); 74 t_text_gc.setForeground(*t_text);
76 f_text_gc.setForeground(*f_text); 75 f_text_gc.setForeground(*f_text);
77 h_text_gc.setForeground(*h_text); 76 h_text_gc.setForeground(*h_text);