diff options
Diffstat (limited to 'src/gui/inc')
| -rw-r--r-- | src/gui/inc/gui.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/inc/gui.h b/src/gui/inc/gui.h index ec87f45..6678b1b 100644 --- a/src/gui/inc/gui.h +++ b/src/gui/inc/gui.h @@ -15,8 +15,9 @@ struct gui_common int (*update)(struct gui_common *, const union peripheral *, const struct camera *); int (*render)(const struct gui_common *); + void (*get_dim)(const struct gui_common *, short *w, short *h); short x, y; - bool centered; + bool hcentered, vcentered; struct gui_common *parent, *child, *sibling; }; |
