diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-28 09:14:19 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-28 09:14:19 (GMT) |
commit | 0f6b73f36abb1fd31893ef16413f010e78ed84ab (patch) | |
tree | 68ebeaae3db4e0708f1d430c828a77ebce86c9f1 /src/FbMenu.hh | |
parent | 2940869cd7cc1688be5114451380275c9a85f5d1 (diff) | |
download | fluxbox_pavel-0f6b73f36abb1fd31893ef16413f010e78ed84ab.zip fluxbox_pavel-0f6b73f36abb1fd31893ef16413f010e78ed84ab.tar.bz2 |
move shape handling from FbMenu to FbTk::Menu
Diffstat (limited to 'src/FbMenu.hh')
-rw-r--r-- | src/FbMenu.hh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/FbMenu.hh b/src/FbMenu.hh index ef8670d..9469311 100644 --- a/src/FbMenu.hh +++ b/src/FbMenu.hh | |||
@@ -30,7 +30,6 @@ | |||
30 | 30 | ||
31 | namespace FbTk { | 31 | namespace FbTk { |
32 | class MenuTheme; | 32 | class MenuTheme; |
33 | class Shape; | ||
34 | } | 33 | } |
35 | 34 | ||
36 | /// a layered and shaped menu | 35 | /// a layered and shaped menu |
@@ -38,16 +37,12 @@ class FbMenu:public FbTk::Menu { | |||
38 | public: | 37 | public: |
39 | FbMenu(FbTk::MenuTheme &tm, FbTk::ImageControl &imgctrl, | 38 | FbMenu(FbTk::MenuTheme &tm, FbTk::ImageControl &imgctrl, |
40 | FbTk::XLayer &layer); | 39 | FbTk::XLayer &layer); |
41 | virtual ~FbMenu(); | 40 | virtual ~FbMenu() { } |
42 | void updateMenu(int index = -1); | ||
43 | void clearWindow(); | ||
44 | void raise() { m_layeritem.raise(); } | 41 | void raise() { m_layeritem.raise(); } |
45 | void lower() { m_layeritem.lower(); } | 42 | void lower() { m_layeritem.lower(); } |
46 | void reconfigure(); | ||
47 | void buttonReleaseEvent(XButtonEvent &be); | 43 | void buttonReleaseEvent(XButtonEvent &be); |
48 | private: | 44 | private: |
49 | FbTk::XLayerItem m_layeritem; | 45 | FbTk::XLayerItem m_layeritem; |
50 | std::auto_ptr<FbTk::Shape> m_shape; | ||
51 | }; | 46 | }; |
52 | 47 | ||
53 | #endif // FBMENU_HH | 48 | #endif // FBMENU_HH |