aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MenuTheme.hh
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.hh
parentd6a7bd786fd657e16c1ebad5c515d60ba1368d8a (diff)
downloadfluxbox_pavel-a233229bd854d2e925ca0f1e86846ff9fde46fcd.zip
fluxbox_pavel-a233229bd854d2e925ca0f1e86846ff9fde46fcd.tar.bz2
added support for typeahead in menus
Diffstat (limited to 'src/FbTk/MenuTheme.hh')
-rw-r--r--src/FbTk/MenuTheme.hh7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/FbTk/MenuTheme.hh b/src/FbTk/MenuTheme.hh
index da5b65c..0bb77ef 100644
--- a/src/FbTk/MenuTheme.hh
+++ b/src/FbTk/MenuTheme.hh
@@ -56,6 +56,7 @@ public:
56 ///@{ 56 ///@{
57 inline const FbTk::Color &titleTextColor() const { return *t_text; } 57 inline const FbTk::Color &titleTextColor() const { return *t_text; }
58 inline const FbTk::Color &frameTextColor() const { return *f_text; } 58 inline const FbTk::Color &frameTextColor() const { return *f_text; }
59 inline const FbTk::Color &frameUnderlineColor() const { return *u_text; }
59 inline const FbTk::Color &highlightTextColor() const { return *h_text; } 60 inline const FbTk::Color &highlightTextColor() const { return *h_text; }
60 inline const FbTk::Color &disableTextColor() const { return *d_text; } 61 inline const FbTk::Color &disableTextColor() const { return *d_text; }
61 ///@} 62 ///@}
@@ -94,11 +95,13 @@ public:
94 ///@{ 95 ///@{
95 inline const GContext &titleTextGC() const { return t_text_gc; } 96 inline const GContext &titleTextGC() const { return t_text_gc; }
96 inline const GContext &frameTextGC() const { return f_text_gc; } 97 inline const GContext &frameTextGC() const { return f_text_gc; }
98 inline const GContext &frameUnderlineGC() const { return u_text_gc; }
97 inline const GContext &hiliteTextGC() const { return h_text_gc; } 99 inline const GContext &hiliteTextGC() const { return h_text_gc; }
98 inline const GContext &disableTextGC() const { return d_text_gc; } 100 inline const GContext &disableTextGC() const { return d_text_gc; }
99 inline const GContext &hiliteGC() const { return hilite_gc; } 101 inline const GContext &hiliteGC() const { return hilite_gc; }
100 inline GContext &titleTextGC() { return t_text_gc; } 102 inline GContext &titleTextGC() { return t_text_gc; }
101 inline GContext &frameTextGC() { return f_text_gc; } 103 inline GContext &frameTextGC() { return f_text_gc; }
104 inline GContext &frameUnderlineGC() { return u_text_gc; }
102 inline GContext &hiliteTextGC() { return h_text_gc; } 105 inline GContext &hiliteTextGC() { return h_text_gc; }
103 inline GContext &disableTextGC() { return d_text_gc; } 106 inline GContext &disableTextGC() { return d_text_gc; }
104 inline GContext &hiliteGC() { return hilite_gc; } 107 inline GContext &hiliteGC() { return hilite_gc; }
@@ -139,7 +142,7 @@ public:
139 } 142 }
140 143
141private: 144private:
142 FbTk::ThemeItem<FbTk::Color> t_text, f_text, h_text, d_text; 145 FbTk::ThemeItem<FbTk::Color> t_text, f_text, h_text, d_text, u_text;
143 FbTk::ThemeItem<FbTk::Texture> title, frame, hilite; 146 FbTk::ThemeItem<FbTk::Texture> title, frame, hilite;
144 FbTk::ThemeItem<FbTk::Font> titlefont, framefont; 147 FbTk::ThemeItem<FbTk::Font> titlefont, framefont;
145 FbTk::ThemeItem<FbTk::Justify> framefont_justify, titlefont_justify; 148 FbTk::ThemeItem<FbTk::Justify> framefont_justify, titlefont_justify;
@@ -153,7 +156,7 @@ private:
153 FbTk::ThemeItem<FbTk::PixmapWithMask> m_hl_bullet_pixmap, m_hl_selected_pixmap, m_hl_unselected_pixmap; 156 FbTk::ThemeItem<FbTk::PixmapWithMask> m_hl_bullet_pixmap, m_hl_selected_pixmap, m_hl_unselected_pixmap;
154 157
155 Display *m_display; 158 Display *m_display;
156 FbTk::GContext t_text_gc, f_text_gc, h_text_gc, d_text_gc, hilite_gc; 159 FbTk::GContext t_text_gc, f_text_gc, u_text_gc, h_text_gc, d_text_gc, hilite_gc;
157 160
158 unsigned char m_alpha; 161 unsigned char m_alpha;
159 MenuMode m_menumode; 162 MenuMode m_menumode;