all repos — fluxbox @ 7865dd73c1d7a80818225d89e5f9dcafd6cf869f

custom fork of the fluxbox windowmanager

changed name on windowID to window and removed layer item
fluxgen fluxgen
commit

7865dd73c1d7a80818225d89e5f9dcafd6cf869f

parent

7b81a4d6035d3d6c3dfa7a2c52b0e04d0b13f7d3

1 files changed, 4 insertions(+), 8 deletions(-)

jump to
M src/FbTk/Menu.hhsrc/FbTk/Menu.hh

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Menu.hh,v 1.6 2003/02/02 16:32:41 rathnor Exp $ +// $Id: Menu.hh,v 1.7 2003/02/03 13:40:52 fluxgen Exp $ #ifndef FBTK_MENU_HH #define FBTK_MENU_HH

@@ -78,13 +78,9 @@ inline void setAlignment(Alignment a) { m_alignment = a; }

inline void setTorn() { torn = true; } inline void removeParent() { if (internal_menu) m_parent = 0; } /// raise this window - void raise(); + virtual void raise(); /// lower this window - void lower(); - - XLayerItem *getLayerItem() const { return menu.window.getLayerItem(); } - void setLayerItem(XLayerItem *item) { menu.window.setLayerItem(item); } - + virtual void lower(); void disableTitle(); void enableTitle();

@@ -123,7 +119,7 @@ //@{

bool isTorn() const { return torn; } bool isVisible() const { return visible; } int screenNumber() const { return m_screen_num; } - Window windowID() const { return menu.window.window(); } + Window window() const { return menu.window.window(); } const std::string &label() const { return menu.label; } int x() const { return menu.x; } int y() const { return menu.y; }