virtual update, fixed round courners bug
This commit is contained in:
parent
ad7c2d846d
commit
5c047ad1c3
2 changed files with 9 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: FbMenu.cc,v 1.2 2003/12/10 23:08:03 fluxgen Exp $
|
||||
// $Id: FbMenu.cc,v 1.3 2004/04/18 18:53:55 fluxgen Exp $
|
||||
|
||||
|
||||
#include "FbMenu.hh"
|
||||
|
@ -39,7 +39,13 @@ FbMenu::~FbMenu() {
|
|||
|
||||
}
|
||||
|
||||
void FbMenu::update(int index) {
|
||||
FbTk::Menu::update(index);
|
||||
m_shape->update();
|
||||
}
|
||||
|
||||
void FbMenu::clearWindow() {
|
||||
FbTk::Menu::clearWindow();
|
||||
m_shape->update();
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: FbMenu.hh,v 1.3 2003/12/10 23:08:03 fluxgen Exp $
|
||||
// $Id: FbMenu.hh,v 1.4 2004/04/18 18:53:55 fluxgen Exp $
|
||||
|
||||
#ifndef FBMENU_HH
|
||||
#define FBMENU_HH
|
||||
|
@ -36,6 +36,7 @@ public:
|
|||
FbMenu(MenuTheme &tm, FbTk::ImageControl &imgctrl,
|
||||
FbTk::XLayer &layer);
|
||||
~FbMenu();
|
||||
void update(int index = -1);
|
||||
void clearWindow();
|
||||
void raise() { m_layeritem.raise(); }
|
||||
void lower() { m_layeritem.lower(); }
|
||||
|
|
Loading…
Reference in a new issue