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

[MiNT] [AES DOC] menu_bar extension



Hello,

In gemlib, there is the following:


/* menu_bar modes */
#define MENU_INQUIRE	-1	/**< TODO */
#define MENU_REMOVE		0	/**< TODO */
#define MENU_INSTALL	1	/**< TODO */
#define MENU_GETMODE	3	   /**< Get the menu bar mode */
#define MENU_SETMODE	4	   /**< Set the menu bar mode */
#define MENU_UPDATE 	5	   /**< Update the system part of the menu bar */
#define MENU_INSTL 100 /**< Install a menu without switching the top application (Magic) */


/* MENU_GETMODE and MENU_SETMODE bits */
#define  MENU_HIDDEN	0x0001 /**< menu bar only visible when needed */
#define  MENU_PULLDOWN  0x0002 /**< Pulldown-Menus */
#define  MENU_SHADOWED  0x0004 /**< menu bar with shadows */


I'd like to know how MENU_GETMODE, MENU_SETMODE and MENU_UPDATE work (what the meaning of other parameters of menu_bar() and its return value when invoking with this mode), and which AES support them ?

best regards,
Arnaud.