aboutsummaryrefslogtreecommitdiff
path: root/src/gui/inc
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-09-20 17:31:17 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-09-20 17:34:25 +0200
commite3356fde2de41b29989b4e8884f04b2be763256f (patch)
tree76cdcea6b5e171334cbd0256b5eccc9391e6f952 /src/gui/inc
parent84c834c00023bbb581b9747e17039fd38facdda1 (diff)
downloadrts-e3356fde2de41b29989b4e8884f04b2be763256f.tar.gz
gui: Implement gui_deinit
Diffstat (limited to 'src/gui/inc')
-rw-r--r--src/gui/inc/gui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/inc/gui.h b/src/gui/inc/gui.h
index 9093572..72b2fb0 100644
--- a/src/gui/inc/gui.h
+++ b/src/gui/inc/gui.h
@@ -20,6 +20,7 @@ struct gui_common
const struct camera *, struct input *);
int (*render)(const struct gui_common *);
void (*get_dim)(const struct gui_common *, short *w, short *h);
+ void (*deinit)(struct gui_common *, struct input *);
} *cb;
short x, y, xoff, yoff;
@@ -32,6 +33,7 @@ void gui_add_sibling(struct gui_common *g, struct gui_common *sibling);
int gui_update(struct gui_common *g, const union peripheral *p,
const struct camera *c, struct input *in);
int gui_render(const struct gui_common *g);
+void gui_deinit(struct gui_common *g, struct input *in);
#ifdef __cplusplus
}