1999-12-09 23:15:14 +00:00
|
|
|
#ifndef CLIENT_MENU_H
|
|
|
|
|
#define CLIENT_MENU_H
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
hee-hee.. this isn't implemented yet.
|
|
|
|
|
|
|
|
|
|
Eventually, it'll handle client-supplied menus, and send back info about
|
|
|
|
|
what the user does.
|
|
|
|
|
*/
|
|
|
|
|
|
2000-03-30 20:20:41 +00:00
|
|
|
typedef struct client_menu {
|
2000-04-03 22:13:57 +00:00
|
|
|
char id[];
|
|
|
|
|
LL *items;
|
1999-12-09 23:15:14 +00:00
|
|
|
} client_menu;
|
|
|
|
|
|
2000-03-30 20:20:41 +00:00
|
|
|
typedef struct client_menu_item {
|
2000-04-03 22:13:57 +00:00
|
|
|
char id[];
|
|
|
|
|
int type; // Title, function, submenu, slider, checkbox, etc...
|
|
|
|
|
int value; // Holds stuff like "true", 43, etc...
|
|
|
|
|
char text[]; // Text to display here...
|
|
|
|
|
char child[]; // For the "submenu" type
|
1999-12-09 23:15:14 +00:00
|
|
|
} client_menu;
|
|
|
|
|
|
|
|
|
|
#endif
|