More formatting updates. Reduced whitespace, looks even better.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#ifndef MENU_H
|
||||
#define MENU_H
|
||||
|
||||
|
||||
#if 0
|
||||
/*************************************************************************
|
||||
Menus!
|
||||
@@ -48,7 +47,6 @@ menu_item OptionsMenu[] = {
|
||||
0, 0, 0,
|
||||
};
|
||||
|
||||
|
||||
///////////////// Elsewhere, we declare these...
|
||||
|
||||
void Shutdown_func()
|
||||
@@ -96,7 +94,6 @@ and sliders should return 0-255.
|
||||
**************************************************************************/
|
||||
#endif
|
||||
|
||||
|
||||
// Return codes from selected menu items...
|
||||
#define MENU_ERROR -0x7FFF0000
|
||||
#define MENU_OK 0
|
||||
@@ -125,18 +122,14 @@ and sliders should return 0-255.
|
||||
#define MENU_MINUS 4
|
||||
#define MENU_READ 5
|
||||
|
||||
|
||||
typedef struct menu_item {
|
||||
char *text;
|
||||
int type;
|
||||
void *data;
|
||||
} menu_item;
|
||||
|
||||
|
||||
#define Menu menu_item *
|
||||
|
||||
|
||||
int do_menu (Menu menu);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user