13 enum TaskasaurColors {
20 typedef struct BoardMenu {
26 /* the ts is used to not conflict with builtin names */
27 extern int init_tscurses(void);
28 extern int exit_tscurses(void);
30 extern int curs_on(void);
31 extern int curs_off(void);
34 extern BoardMenu* create_board_menu(Board* board);
35 extern Menu** make_menus(Board* board, int todolist_length);
36 extern MenuItem** todolist_to_menuitem(TodoItem** item_list, int list_length);
37 extern Board* boardmenu_to_board(BoardMenu* boardmenu);
39 extern int set_selected_menu(BoardMenu* boardmenu, int index);
40 extern int swap_menu(BoardMenu* boardmenu, int src_index, int dest_index);
43 extern int update_menuitem_descrip(MenuItem* menuitem);
45 /* popup menu for menu item */
46 extern WINDOW* create_popup_win();
49 extern int ungetstr(char* str);