Last change
on this file was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
577 bytes
|
Rev | Line | |
---|
[c5c522c] | 1 | #ifndef CLIENT_MENU_H |
---|
| 2 | #define CLIENT_MENU_H |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | hee-hee.. this isn't implemented yet. |
---|
| 6 | |
---|
| 7 | Eventually, it'll handle client-supplied menus, and send back info about |
---|
| 8 | what the user does. |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | typedef struct client_menu |
---|
| 12 | { |
---|
| 13 | char id[]; |
---|
| 14 | LL * items; |
---|
| 15 | } client_menu; |
---|
| 16 | |
---|
| 17 | typedef struct client_menu_item |
---|
| 18 | { |
---|
| 19 | char id[]; |
---|
| 20 | int type; // Title, function, submenu, slider, checkbox, etc... |
---|
| 21 | int value; // Holds stuff like "true", 43, etc... |
---|
| 22 | char text[]; // Text to display here... |
---|
| 23 | char child[]; // For the "submenu" type |
---|
| 24 | } client_menu; |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.