aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-02-03 13:40:52 (GMT)
committerfluxgen <fluxgen>2003-02-03 13:40:52 (GMT)
commit7865dd73c1d7a80818225d89e5f9dcafd6cf869f (patch)
treed663d3849ce10fce002197b2d9dbda23c1d9e2d4 /src/FbTk
parent7b81a4d6035d3d6c3dfa7a2c52b0e04d0b13f7d3 (diff)
downloadfluxbox-7865dd73c1d7a80818225d89e5f9dcafd6cf869f.zip
fluxbox-7865dd73c1d7a80818225d89e5f9dcafd6cf869f.tar.bz2
changed name on windowID to window and removed layer item
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/Menu.hh12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh
index a20d400..1360528 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.6 2003/02/02 16:32:41 rathnor Exp $ 25// $Id: Menu.hh,v 1.7 2003/02/03 13:40:52 fluxgen Exp $
26 26
27#ifndef FBTK_MENU_HH 27#ifndef FBTK_MENU_HH
28#define FBTK_MENU_HH 28#define FBTK_MENU_HH
@@ -78,13 +78,9 @@ public:
78 inline void setTorn() { torn = true; } 78 inline void setTorn() { torn = true; }
79 inline void removeParent() { if (internal_menu) m_parent = 0; } 79 inline void removeParent() { if (internal_menu) m_parent = 0; }
80 /// raise this window 80 /// raise this window
81 void raise(); 81 virtual void raise();
82 /// lower this window 82 /// lower this window
83 void lower(); 83 virtual void lower();
84
85 XLayerItem *getLayerItem() const { return menu.window.getLayerItem(); }
86 void setLayerItem(XLayerItem *item) { menu.window.setLayerItem(item); }
87
88 84
89 void disableTitle(); 85 void disableTitle();
90 void enableTitle(); 86 void enableTitle();
@@ -123,7 +119,7 @@ public:
123 bool isTorn() const { return torn; } 119 bool isTorn() const { return torn; }
124 bool isVisible() const { return visible; } 120 bool isVisible() const { return visible; }
125 int screenNumber() const { return m_screen_num; } 121 int screenNumber() const { return m_screen_num; }
126 Window windowID() const { return menu.window.window(); } 122 Window window() const { return menu.window.window(); }
127 const std::string &label() const { return menu.label; } 123 const std::string &label() const { return menu.label; }
128 int x() const { return menu.x; } 124 int x() const { return menu.x; }
129 int y() const { return menu.y; } 125 int y() const { return menu.y; }