X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FBasemenu.hh;h=46a8d52821f5bf9e598273ac930218695cd3b94b;hb=4e0fde35ac60dcf36c3180b1606abba84ccace34;hp=87592ec5865597b5ac2647d3f1ae093fcceac179;hpb=20063c22469643e8eb9c32bcc4b996f9640c9baf;p=chaz%2Fopenbox diff --git a/src/Basemenu.hh b/src/Basemenu.hh index 87592ec5..46a8d528 100644 --- a/src/Basemenu.hh +++ b/src/Basemenu.hh @@ -67,7 +67,6 @@ private: Basemenu& operator=(const Basemenu&); protected: - BasemenuItem *find(int index); inline void setTitleVisibility(bool b) { title_vis = b; } inline void setMovable(bool b) { movable = b; } inline void setHideTree(bool h) { hide_tree = h; } @@ -106,6 +105,7 @@ public: inline int getY(void) const { return menu.y; } inline unsigned int getCount(void) { return menuitems.size(); } inline int getCurrentSubmenu(void) const { return which_sub; } + BasemenuItem *find(int index); inline unsigned int getWidth(void) const { return menu.width; } inline unsigned int getHeight(void) const { return menu.height; }