mirror of
https://github.com/CPunch/Laika.git
synced 2025-10-14 19:40:24 +00:00
Re-added variadic packets
- minor refacotring
This commit is contained in:
@@ -13,6 +13,7 @@ typedef enum {
|
||||
LIST_LIST,
|
||||
LIST_TABS,
|
||||
LIST_MENU,
|
||||
LIST_TEXT,
|
||||
LIST_NONE
|
||||
} LISTTYPE;
|
||||
|
||||
@@ -45,6 +46,12 @@ typedef struct sPanel_menu {
|
||||
char *title;
|
||||
} tPanel_menu;
|
||||
|
||||
typedef struct sPanel_text {
|
||||
COMMONPANELLIST;
|
||||
char *title;
|
||||
char *text;
|
||||
} tPanel_text;
|
||||
|
||||
extern WINDOW *wmain;
|
||||
extern tPanel_list *panel_botList;
|
||||
extern tPanel_tabs *panel_tabList;
|
||||
@@ -88,6 +95,10 @@ void panelL_freeTabs(tPanel_tabs *tabs);
|
||||
tPanel_menu *panelL_newMenu(char *title);
|
||||
void panelL_freeMenu(tPanel_menu *menu);
|
||||
|
||||
/* textbot popup */
|
||||
tPanel_text *panelL_newText(char *title, char *text);
|
||||
void panelL_freeText(tPanel_text *text);
|
||||
|
||||
#undef COMMONPANELLIST
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user