diff options
author | fluxgen <fluxgen> | 2004-04-18 18:48:58 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-04-18 18:48:58 (GMT) |
commit | ad7c2d846dc46ad59d797bce04ca5280e4769842 (patch) | |
tree | a87a4eca45a937fda2897d07e24af0ca8fb9c5b8 | |
parent | a81034c46747a4838c644cb6dd5435dd28ae27cd (diff) | |
download | fluxbox-ad7c2d846dc46ad59d797bce04ca5280e4769842.zip fluxbox-ad7c2d846dc46ad59d797bce04ca5280e4769842.tar.bz2 |
virtual update(index), so we can update shape in FbMenu
-rw-r--r-- | src/FbTk/Menu.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh index 1adcfa9..c7be717 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.30 2004/02/27 14:22:27 fluxgen Exp $ | 25 | // $Id: Menu.hh,v 1.31 2004/04/18 18:48:58 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef FBTK_MENU_HH | 27 | #ifndef FBTK_MENU_HH |
28 | #define FBTK_MENU_HH | 28 | #define FBTK_MENU_HH |
@@ -115,7 +115,7 @@ public: | |||
115 | void setLabel(const char *labelstr); | 115 | void setLabel(const char *labelstr); |
116 | /// move menu to x,y | 116 | /// move menu to x,y |
117 | void move(int x, int y); | 117 | void move(int x, int y); |
118 | void update(int active_index = -1); | 118 | virtual void update(int active_index = -1); |
119 | void setItemSelected(unsigned int index, bool val); | 119 | void setItemSelected(unsigned int index, bool val); |
120 | void setItemEnabled(unsigned int index, bool val); | 120 | void setItemEnabled(unsigned int index, bool val); |
121 | inline void setMinimumSublevels(int m) { menu.minsub = m; } | 121 | inline void setMinimumSublevels(int m) { menu.minsub = m; } |