aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Menu.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-06-13 00:31:29 (GMT)
committerfluxgen <fluxgen>2004-06-13 00:31:29 (GMT)
commit46a06cdb02084f52b927cdb9b97092765f532cee (patch)
tree28e84d48393671cfa827dcf9874e28274278c1ec /src/FbTk/Menu.hh
parent4366436c500a6055917f5f2cfeebd1d1feb11162 (diff)
downloadfluxbox-46a06cdb02084f52b927cdb9b97092765f532cee.zip
fluxbox-46a06cdb02084f52b927cdb9b97092765f532cee.tar.bz2
transparency improvements, added buffer for title window to reduce flickering and removed menu.bevel_w since its already in MenuTheme
Diffstat (limited to 'src/FbTk/Menu.hh')
-rw-r--r--src/FbTk/Menu.hh10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh
index 0bf828d..6227c07 100644
--- a/src/FbTk/Menu.hh
+++ b/src/FbTk/Menu.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Menu.hh,v 1.33 2004/06/10 11:38:26 fluxgen Exp $ 25// $Id: Menu.hh,v 1.34 2004/06/13 00:31:29 fluxgen Exp $
26 26
27#ifndef FBTK_MENU_HH 27#ifndef FBTK_MENU_HH
28#define FBTK_MENU_HH 28#define FBTK_MENU_HH
@@ -205,13 +205,15 @@ private:
205 std::string label; 205 std::string label;
206 int x_move, y_move, x_shift, y_shift, sublevels, persub, minsub, 206 int x_move, y_move, x_shift, y_shift, sublevels, persub, minsub,
207 grab_x, grab_y; 207 grab_x, grab_y;
208 unsigned int title_h, frame_h, item_w, item_h, bevel_w, 208 unsigned int title_h, frame_h, item_w, item_h, bevel_w;
209 bevel_h;
210 } menu; 209 } menu;
211 210
212 Drawable m_root_pm; 211 Drawable m_root_pm;
213 static Menu *s_focused; ///< holds current input focused menu, so one can determine if a menu is focused 212 static Menu *s_focused; ///< holds current input focused menu, so one can determine if a menu is focused
214 FbPixmap m_frame_pm, m_real_frame_pm; 213 FbPixmap m_frame_pm, ///< buffer pixmap
214 m_real_frame_pm; ///< buffer pixmap (this one is shown to the user)
215 FbPixmap m_title_pm, ///< buffer pixmap to avoid flicker
216 m_real_title_pm; ///< buffer pixmap (this one is shown to the user)
215 std::auto_ptr<Transparent> m_transp; 217 std::auto_ptr<Transparent> m_transp;
216 bool m_need_update; 218 bool m_need_update;
217 Timer m_submenu_timer; 219 Timer m_submenu_timer;