diff options
author | fluxgen <fluxgen> | 2005-06-23 03:09:39 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2005-06-23 03:09:39 (GMT) |
commit | 0df6609bb94ae51e3fd6f18b1c05667653dfb37f (patch) | |
tree | 023490c10cf3f5c17ba88ad5be925aae43a11bd0 /src/FbTk/MenuItem.cc | |
parent | 5373f6d840abaa49685c15fee2f411e77472a7da (diff) | |
download | fluxbox_pavel-0df6609bb94ae51e3fd6f18b1c05667653dfb37f.zip fluxbox_pavel-0df6609bb94ae51e3fd6f18b1c05667653dfb37f.tar.bz2 |
added showSubmenu in MenuItem
Diffstat (limited to 'src/FbTk/MenuItem.cc')
-rw-r--r-- | src/FbTk/MenuItem.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/FbTk/MenuItem.cc b/src/FbTk/MenuItem.cc index 1ed3ebd..ee40f63 100644 --- a/src/FbTk/MenuItem.cc +++ b/src/FbTk/MenuItem.cc | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "Image.hh" | 29 | #include "Image.hh" |
30 | #include "App.hh" | 30 | #include "App.hh" |
31 | #include "StringUtil.hh" | 31 | #include "StringUtil.hh" |
32 | #include "Menu.hh" | ||
32 | 33 | ||
33 | namespace FbTk { | 34 | namespace FbTk { |
34 | 35 | ||
@@ -297,4 +298,9 @@ void MenuItem::updateTheme(const MenuTheme &theme) { | |||
297 | 298 | ||
298 | } | 299 | } |
299 | 300 | ||
301 | void MenuItem::showSubmenu() { | ||
302 | if (submenu() != 0) | ||
303 | submenu()->show(); | ||
304 | } | ||
305 | |||
300 | }; // end namespace FbTk | 306 | }; // end namespace FbTk |