couple of menu render fixes
rathnor rathnor
2 files changed,
6 insertions(+),
1 deletions(-)
M
ChangeLog
→
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)
M
src/FbTk/Menu.cc
→
src/FbTk/Menu.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 @@ evm.add(*this, menu.frame);
menu.title.raise(); + reconfigure(); } Menu::~Menu() {@@ -389,6 +390,7 @@ Menu *submenu = menuitems[which_press]->submenu();
if (submenu) submenu->internal_hide(); + m_active_index = -1; drawItem(which_press, true, // clear true); // transp