Re: [AD] Overriding GUI menu look

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 20 May 2001, Peter Wang <tjaden@xxxxxxxxxx> wrote:
> Attached is a proposed patch to allow overriding the look of the GUI
> menu (overriding MSG_DRAW for d_menu_proc is not enough; there are
> lots of internal things which I don't want to move out of gui.c).

While I'm being reckless, I've committed this.  (I accidently
committed the doc changes before.)

But I just had another similar idea (d'oh).  Something like:

struct GUI_MENU_STYLE {
   void (*draw_menu)(...);
   void (*draw_menu_item)(...);
   int menu_item_height;
	   .
	   .	/* other aspects of menus */
};

struct GUI_MENU_STYLE *gui_menu_style;


I might do that some other time.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/