aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Menu.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-08-03 21:25:51 (GMT)
committerfluxgen <fluxgen>2004-08-03 21:25:51 (GMT)
commit7b4d57f275fb7fbc7521fd3efad57f6fd07bb248 (patch)
tree9c91f7ef3475446493dce579ccfe47c0f488c633 /src/FbTk/Menu.hh
parent582fe36cea0d20298d67222a720fe8be014a78bf (diff)
downloadfluxbox_pavel-7b4d57f275fb7fbc7521fd3efad57f6fd07bb248.zip
fluxbox_pavel-7b4d57f275fb7fbc7521fd3efad57f6fd07bb248.tar.bz2
fixed menu move bug and made separator not selectable, patch from Mathias Gumz
Diffstat (limited to 'src/FbTk/Menu.hh')
-rw-r--r--src/FbTk/Menu.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh
index 8c6c738..57894b8 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.37 2004/06/27 13:51:24 fluxgen Exp $ 25// $Id: Menu.hh,v 1.38 2004/08/03 21:25:51 fluxgen Exp $
26 26
27#ifndef FBTK_MENU_HH 27#ifndef FBTK_MENU_HH
28#define FBTK_MENU_HH 28#define FBTK_MENU_HH
@@ -151,6 +151,7 @@ public:
151 bool hasSubmenu(unsigned int index) const; 151 bool hasSubmenu(unsigned int index) const;
152 bool isItemSelected(unsigned int index) const; 152 bool isItemSelected(unsigned int index) const;
153 bool isItemEnabled(unsigned int index) const; 153 bool isItemEnabled(unsigned int index) const;
154 bool isItemSelectable(unsigned int index) const;
154 inline const MenuTheme &theme() const { return m_theme; } 155 inline const MenuTheme &theme() const { return m_theme; }
155 inline unsigned char alpha() const { return theme().alpha(); } 156 inline unsigned char alpha() const { return theme().alpha(); }
156 inline static Menu *focused() { return s_focused; } 157 inline static Menu *focused() { return s_focused; }