updates widget positions
This commit is contained in:
@@ -13,6 +13,11 @@ typedef struct {
|
||||
enum w_type type;
|
||||
} group_el_t;
|
||||
|
||||
typedef struct {
|
||||
enum w_type type;
|
||||
char label[DIALOGUE_TITLE];
|
||||
} group_el_init_t;
|
||||
|
||||
typedef struct {
|
||||
group_el_t *elements;
|
||||
widget_t w;
|
||||
@@ -20,8 +25,9 @@ typedef struct {
|
||||
enum g_direction direction;
|
||||
} group_t;
|
||||
|
||||
group_t *init_group(group_el_t *children);
|
||||
void draw_group(WINDOW *win, group_t *group, uint32_t cur_x, uint32_t cur_y);
|
||||
group_t *init_group(WINDOW **win, uint32_t par_id, group_el_init_t *children,
|
||||
enum g_direction dir);
|
||||
void draw_group(WINDOW *win, group_t *group);
|
||||
void destroy_group(group_t *group);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user