Menu stuff update. Fixed some of the probably many bugs and made things a

bit more consistent.
This commit is contained in:
robijn
2002-07-09 22:56:05 +00:00
parent 012a4cb483
commit 1156c51062
8 changed files with 131 additions and 61 deletions
+11 -1
View File
@@ -15,10 +15,10 @@
#define MENUSCREENS_H
#include "menu.h"
#include "menuitem.h"
#include "screen.h"
extern Screen * menuscreen;
extern MenuItem * active_menuitem;
extern Menu * main_menu;
int init_menu();
@@ -28,6 +28,16 @@ bool is_menu_key (char * key);
* reserved menu key.
*/
void menuscreen_inform_item_destruction (MenuItem * item);
/* Meant for other parts of the program to inform the menuscreen that the
* item is about to be removed.
*/
void menuscreen_inform_item_modified (MenuItem * item);
/* Meant for other parts of the program to inform the menuscreen that some
* properties of the item have been modified.
*/
void menuscreen_key_handler (char *key);
/* This handler handles the keypresses for the menu.
*/