/[LeafOK_CVS]/lbbs/include/menu.h
ViewVC logotype

Diff of /lbbs/include/menu.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.16 by sysadm, Thu May 15 05:14:57 2025 UTC Revision 1.18 by sysadm, Sat May 17 15:39:51 2025 UTC
# Line 19  Line 19 
19    
20  #include "common.h"  #include "common.h"
21  #include "trie_dict.h"  #include "trie_dict.h"
22    #include "bbs_cmd.h"
23  #include <stdint.h>  #include <stdint.h>
24  #include <sys/shm.h>  #include <sys/shm.h>
25    
# Line 39  typedef uint64_t MENU_SCREEN_ID; Line 40  typedef uint64_t MENU_SCREEN_ID;
40    
41  struct menu_item_t  struct menu_item_t
42  {  {
43          int16_t row, col, r_row, r_col;          int16_t row, col;
44          char action[MAX_MENUACTION_LENGTH];          char action[MAX_MENUACTION_LENGTH];
45          MENU_ID action_menu_id;          MENU_ID action_menu_id;
46          int8_t submenu, display;          bbs_cmd_handler action_cmd_handler;
47            int8_t submenu;
48          int priv, level;          int priv, level;
49          char name[MAX_MENUNAME_LENGTH];          char name[MAX_MENUNAME_LENGTH];
50          char text[MAX_MENUITEM_LENGTH];          char text[MAX_MENUITEM_LENGTH];
# Line 94  struct menu_set_t Line 96  struct menu_set_t
96          MENU_ID menu_id_path[MAX_MENU_DEPTH];          MENU_ID menu_id_path[MAX_MENU_DEPTH];
97          int16_t menu_item_pos[MAX_MENU_DEPTH];          int16_t menu_item_pos[MAX_MENU_DEPTH];
98          int16_t choose_step;          int16_t choose_step;
99            int8_t menu_item_display[MAX_ITEMS_PER_MENU];
100            int16_t menu_item_r_row[MAX_ITEMS_PER_MENU];
101            int16_t menu_item_r_col[MAX_ITEMS_PER_MENU];
102  };  };
103  typedef struct menu_set_t MENU_SET;  typedef struct menu_set_t MENU_SET;
104    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1