aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbMenu.cc8
-rw-r--r--src/FbMenu.hh3
2 files changed, 9 insertions, 2 deletions
diff --git a/src/FbMenu.cc b/src/FbMenu.cc
index 9a62050..6efb34e 100644
--- a/src/FbMenu.cc
+++ b/src/FbMenu.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbMenu.cc,v 1.2 2003/12/10 23:08:03 fluxgen Exp $ 22// $Id: FbMenu.cc,v 1.3 2004/04/18 18:53:55 fluxgen Exp $
23 23
24 24
25#include "FbMenu.hh" 25#include "FbMenu.hh"
@@ -39,7 +39,13 @@ FbMenu::~FbMenu() {
39 39
40} 40}
41 41
42void FbMenu::update(int index) {
43 FbTk::Menu::update(index);
44 m_shape->update();
45}
46
42void FbMenu::clearWindow() { 47void FbMenu::clearWindow() {
48 FbTk::Menu::clearWindow();
43 m_shape->update(); 49 m_shape->update();
44} 50}
45 51
diff --git a/src/FbMenu.hh b/src/FbMenu.hh
index 4252aa4..bf7bd29 100644
--- a/src/FbMenu.hh
+++ b/src/FbMenu.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbMenu.hh,v 1.3 2003/12/10 23:08:03 fluxgen Exp $ 22// $Id: FbMenu.hh,v 1.4 2004/04/18 18:53:55 fluxgen Exp $
23 23
24#ifndef FBMENU_HH 24#ifndef FBMENU_HH
25#define FBMENU_HH 25#define FBMENU_HH
@@ -36,6 +36,7 @@ public:
36 FbMenu(MenuTheme &tm, FbTk::ImageControl &imgctrl, 36 FbMenu(MenuTheme &tm, FbTk::ImageControl &imgctrl,
37 FbTk::XLayer &layer); 37 FbTk::XLayer &layer);
38 ~FbMenu(); 38 ~FbMenu();
39 void update(int index = -1);
39 void clearWindow(); 40 void clearWindow();
40 void raise() { m_layeritem.raise(); } 41 void raise() { m_layeritem.raise(); }
41 void lower() { m_layeritem.lower(); } 42 void lower() { m_layeritem.lower(); }