diff options
author | rathnor <rathnor> | 2003-02-02 16:32:41 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-02-02 16:32:41 (GMT) |
commit | 1b063dcea92e0a7ac5008518fc5c13f03c055f54 (patch) | |
tree | 29d5b622c0870f06a94086ed463ab90e23bc673e /src/FbTk/Menu.hh | |
parent | 5244fc32447d2649a52a06dc84d96da94e9fd715 (diff) | |
download | fluxbox-1b063dcea92e0a7ac5008518fc5c13f03c055f54.zip fluxbox-1b063dcea92e0a7ac5008518fc5c13f03c055f54.tar.bz2 |
Integration of new Layering code, plus updates to the layering code itself
- new KeyActions: Raise/LowerLayer, AlwaysOnTop/Bottom, Top/BottomLayer
Added a "Quit" KeyAction
Diffstat (limited to 'src/FbTk/Menu.hh')
-rw-r--r-- | src/FbTk/Menu.hh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh index 49c82d7..a20d400 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.5 2003/01/12 17:02:33 fluxgen Exp $ | 25 | // $Id: Menu.hh,v 1.6 2003/02/02 16:32:41 rathnor Exp $ |
26 | 26 | ||
27 | #ifndef FBTK_MENU_HH | 27 | #ifndef FBTK_MENU_HH |
28 | #define FBTK_MENU_HH | 28 | #define FBTK_MENU_HH |
@@ -35,6 +35,7 @@ | |||
35 | #include "EventHandler.hh" | 35 | #include "EventHandler.hh" |
36 | #include "RefCount.hh" | 36 | #include "RefCount.hh" |
37 | #include "Command.hh" | 37 | #include "Command.hh" |
38 | #include "XLayerItem.hh" | ||
38 | 39 | ||
39 | namespace FbTk { | 40 | namespace FbTk { |
40 | 41 | ||
@@ -80,6 +81,11 @@ public: | |||
80 | void raise(); | 81 | void raise(); |
81 | /// lower this window | 82 | /// lower this window |
82 | void lower(); | 83 | void lower(); |
84 | |||
85 | XLayerItem *getLayerItem() const { return menu.window.getLayerItem(); } | ||
86 | void setLayerItem(XLayerItem *item) { menu.window.setLayerItem(item); } | ||
87 | |||
88 | |||
83 | void disableTitle(); | 89 | void disableTitle(); |
84 | void enableTitle(); | 90 | void enableTitle(); |
85 | /** | 91 | /** |