1
0
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:
2022-02-16 17:58:07 -06:00
parent c21be8dfee
commit 9a15ce1463
8 changed files with 520 additions and 40 deletions

View File

@@ -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