From 307da13fff916694f870ecb77aaf3ce0cf51d09e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 17 Apr 2002 23:07:11 +0000 Subject: menus update their values when they are reconfigure()d. the screen, toolbar and slit rc values are reloaded in BScreen::reconfigure() before the menus. the toolbar and slit rc values are explicitly loaded in their constructors, as is BScreen's. --- src/Slit.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Slit.h') diff --git a/src/Slit.h b/src/Slit.h index cb6b454a..f7feb6b1 100644 --- a/src/Slit.h +++ b/src/Slit.h @@ -42,9 +42,11 @@ private: protected: virtual void itemSelected(int, int); + virtual void setValues(); public: Directionmenu(Slitmenu &); + void reconfigure(); }; class Placementmenu : public Basemenu { @@ -71,7 +73,7 @@ private: protected: virtual void itemSelected(int, int); virtual void internal_hide(); - + virtual void setValues(); public: Slitmenu(Slit &); -- cgit v1.2.3