summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FbMenu.hh (renamed from src/LayeredMenu.hh)16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/LayeredMenu.hh b/src/FbMenu.hh
index 6cfbd31..c9d3771 100644
--- a/src/LayeredMenu.hh
+++ b/src/FbMenu.hh
@@ -1,4 +1,4 @@
1// LayeredMenu.hh for Fluxbox Window Manager 1// FbMenu.hh for Fluxbox Window Manager
2// Copyright (c) 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) 2// Copyright (c) 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net)
3// 3//
4// Permission is hereby granted, free of charge, to any person obtaining a 4// Permission is hereby granted, free of charge, to any person obtaining a
@@ -19,24 +19,24 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: LayeredMenu.hh,v 1.1 2003/02/03 13:58:09 fluxgen Exp $ 22// $Id: FbMenu.hh,v 1.1 2003/02/18 15:06:25 rathnor Exp $
23 23
24#ifndef LAYEREDMENU_HH 24#ifndef FBMENU_HH
25#define LAYEREDMENU_HH 25#define FBMENU_HH
26 26
27#include "Menu.hh" 27#include "Menu.hh"
28#include "XLayerItem.hh" 28#include "XLayerItem.hh"
29 29
30/// a layered menu 30/// a layered menu
31class LayeredMenu:public FbTk::Menu { 31class FbMenu:public FbTk::Menu {
32public: 32public:
33 LayeredMenu(FbTk::MenuTheme &tm, int screen_num, FbTk::ImageControl &imgctrl, 33 FbMenu(FbTk::MenuTheme &tm, int screen_num, FbTk::ImageControl &imgctrl,
34 FbTk::XLayer &layer):FbTk::Menu(tm, screen_num, imgctrl), m_layeritem(window(), layer) { } 34 FbTk::XLayer &layer):FbTk::Menu(tm, screen_num, imgctrl), m_layeritem(fbwindow(), layer) { }
35 void raise() { m_layeritem.raise(); } 35 void raise() { m_layeritem.raise(); }
36 void lower() { m_layeritem.lower(); } 36 void lower() { m_layeritem.lower(); }
37private: 37private:
38 FbTk::XLayerItem m_layeritem; 38 FbTk::XLayerItem m_layeritem;
39}; 39};
40 40
41#endif // LAYEREDMENU_HH 41#endif // FBMENU_HH
42 42