From 8a59b9b4541490badaf3e1a0503b4ca5f0105c8f Mon Sep 17 00:00:00 2001 From: rathnor Date: Sat, 28 Aug 2004 19:03:09 +0000 Subject: couple of menu render fixes --- ChangeLog | 3 +++ src/FbTk/Menu.cc | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 36432d5..c9c402a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,9 @@ (Format: Year/Month/Day) Changes for 0.9.10: *04/08/28: + * Some more menu rendering fixes (Simon) + Thanks Florian Pigorsch for nice bug reports + debugging + FbTk/Menu.cc * Fix some blank fonts problem for i18n (I think) (Simon) FbTk/Font.cc FbTk/XmbFontImp.cc * Fix menu render bug with previously highlighted items (Simon) diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 95fa9ad..18c3b75 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Menu.cc,v 1.73 2004/08/28 14:25:52 rathnor Exp $ +// $Id: Menu.cc,v 1.74 2004/08/28 19:03:09 rathnor Exp $ //use GNU extensions #ifndef _GNU_SOURCE @@ -177,6 +177,7 @@ Menu::Menu(MenuTheme &tm, ImageControl &imgctrl): menu.title.raise(); + reconfigure(); } Menu::~Menu() { @@ -389,6 +390,7 @@ void Menu::enterParent() { if (submenu) submenu->internal_hide(); + m_active_index = -1; drawItem(which_press, true, // clear true); // transp -- cgit v0.11.2