[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Menus in windows in XaAES

Jo Even Skarstein wrote:
-----Original Message-----
From: mint-bounce@lists.fishpool.fi
[mailto:mint-bounce@lists.fishpool.fi]On Behalf Of Henk Robbers
Sent: Thursday, March 13, 2008 12:01 AM

In v0.963 wmenu_tnormal wasnt needed for window menus.
I probably couldnt think of any reason why it was necessary
to leave redrawing menu titles to the user, so I let XaAES
do it for you. (Sevice !).

This was commented in the menu_tnormal() implementation in xa_menu.c as
well. It appears to be correct for menu items (they're automatically
deselected), but not for menu titles. And I can't find any way to redraw the
menu widget except usind wind_set(,WF_TOOLBAR,,,), but that only works
properly when the window has a toolbar.

Dialtest was written for XaAES 0,963 and before.
It didnt need menu_tnormal for window menus.
I dont know about later incarnations of XaAES.

Groeten; Regards.
Henk Robbers. http://members.chello.nl/h.robbers
Interactive disassembler:     TT-Digger;  http://digger.atari.org
A Home Cooked teXt editor:    AHCX