summaryrefslogtreecommitdiff
path: root/gfx/gfx.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-30 20:01:45 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-30 20:13:40 -0300
commite5f83a6d3f12984758748d70f827c2ad4e68ef0f (patch)
tree4192a351f6041d8cbfab8a4673dc174901f2948f /gfx/gfx.h
parentd34bd9be49b2fc8d85eba54f1e8e67bc40a0eb67 (diff)
downloadeeshow-e5f83a6d3f12984758748d70f827c2ad4e68ef0f.tar.gz
eeshow-e5f83a6d3f12984758748d70f827c2ad4e68ef0f.tar.bz2
eeshow-e5f83a6d3f12984758748d70f827c2ad4e68ef0f.zip
gfx/: begin to bring some order into post-diff cleanup
Sadly, we need two new partial destructor functions for this, cro_img_reset and cro_img_destroy, plus one for the graphics abstraction, gfx_destroy.
Diffstat (limited to 'gfx/gfx.h')
-rw-r--r--gfx/gfx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gfx/gfx.h b/gfx/gfx.h
index bcc0a3e..c53c661 100644
--- a/gfx/gfx.h
+++ b/gfx/gfx.h
@@ -74,10 +74,13 @@ unsigned gfx_text_width(struct gfx *gfx, const char *s, unsigned size,
struct gfx *gfx_init(const struct gfx_ops *ops);
bool gfx_args(struct gfx *gfx, int argc, char *const *argv);
+
void gfx_sheet_name(struct gfx *gfx, const char *name);
void gfx_new_sheet(struct gfx *gfx);
bool gfx_multi_sheet(struct gfx *gfx);
void *gfx_user(struct gfx *gfx); /* transitional kludge */
+
+void gfx_destroy(struct gfx *gfx);
int gfx_end(struct gfx *gfx);
#endif /* !GFX_GFX_H */