aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MenuTheme.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-03-03 19:35:34 (GMT)
committermarkt <markt>2007-03-03 19:35:34 (GMT)
commita233229bd854d2e925ca0f1e86846ff9fde46fcd (patch)
treea30fffa38994e8ee12096c31a256ba6b3fbfa2c6 /src/FbTk/MenuTheme.cc
parentd6a7bd786fd657e16c1ebad5c515d60ba1368d8a (diff)
downloadfluxbox-a233229bd854d2e925ca0f1e86846ff9fde46fcd.zip
fluxbox-a233229bd854d2e925ca0f1e86846ff9fde46fcd.tar.bz2
added support for typeahead in menus
Diffstat (limited to 'src/FbTk/MenuTheme.cc')
-rw-r--r--src/FbTk/MenuTheme.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/FbTk/MenuTheme.cc b/src/FbTk/MenuTheme.cc
index c7b6d77..3b03697 100644
--- a/src/FbTk/MenuTheme.cc
+++ b/src/FbTk/MenuTheme.cc
@@ -44,6 +44,7 @@ MenuTheme::MenuTheme(int screen_num):
44 f_text(*this, "menu.frame.textColor", "Menu.Frame.TextColor"), 44 f_text(*this, "menu.frame.textColor", "Menu.Frame.TextColor"),
45 h_text(*this, "menu.hilite.textColor", "Menu.Hilite.TextColor"), 45 h_text(*this, "menu.hilite.textColor", "Menu.Hilite.TextColor"),
46 d_text(*this, "menu.frame.disableColor", "Menu.Frame.DisableColor"), 46 d_text(*this, "menu.frame.disableColor", "Menu.Frame.DisableColor"),
47 u_text(*this, "menu.frame.underlineColor", "Menu.Frame.UnderlineColor"),
47 title(*this, "menu.title", "Menu.Title"), 48 title(*this, "menu.title", "Menu.Title"),
48 frame(*this, "menu.frame", "Menu.Frame"), 49 frame(*this, "menu.frame", "Menu.Frame"),
49 hilite(*this, "menu.hilite", "Menu.Hilite"), 50 hilite(*this, "menu.hilite", "Menu.Hilite"),
@@ -67,6 +68,7 @@ MenuTheme::MenuTheme(int screen_num):
67 m_display(FbTk::App::instance()->display()), 68 m_display(FbTk::App::instance()->display()),
68 t_text_gc(RootWindow(m_display, screen_num)), 69 t_text_gc(RootWindow(m_display, screen_num)),
69 f_text_gc(RootWindow(m_display, screen_num)), 70 f_text_gc(RootWindow(m_display, screen_num)),
71 u_text_gc(RootWindow(m_display, screen_num)),
70 h_text_gc(RootWindow(m_display, screen_num)), 72 h_text_gc(RootWindow(m_display, screen_num)),
71 d_text_gc(RootWindow(m_display, screen_num)), 73 d_text_gc(RootWindow(m_display, screen_num)),
72 hilite_gc(RootWindow(m_display, screen_num)), 74 hilite_gc(RootWindow(m_display, screen_num)),
@@ -91,6 +93,7 @@ MenuTheme::MenuTheme(int screen_num):
91 93
92 t_text_gc.setForeground(*t_text); 94 t_text_gc.setForeground(*t_text);
93 f_text_gc.setForeground(*f_text); 95 f_text_gc.setForeground(*f_text);
96 u_text_gc.setForeground(*u_text);
94 h_text_gc.setForeground(*h_text); 97 h_text_gc.setForeground(*h_text);
95 d_text_gc.setForeground(*d_text); 98 d_text_gc.setForeground(*d_text);
96 hilite_gc.setForeground(hilite->color()); 99 hilite_gc.setForeground(hilite->color());
@@ -127,6 +130,7 @@ void MenuTheme::reconfigTheme() {
127 130
128 t_text_gc.setForeground(*t_text); 131 t_text_gc.setForeground(*t_text);
129 f_text_gc.setForeground(*f_text); 132 f_text_gc.setForeground(*f_text);
133 u_text_gc.setForeground(*u_text);
130 h_text_gc.setForeground(*h_text); 134 h_text_gc.setForeground(*h_text);
131 d_text_gc.setForeground(*d_text); 135 d_text_gc.setForeground(*d_text);
132 hilite_gc.setForeground(hilite->color()); 136 hilite_gc.setForeground(hilite->color());