summaryrefslogtreecommitdiff
path: root/gfx/gfx.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-03 15:18:40 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-03 19:18:29 -0300
commitb987ddd5026d6e96f96475d2f380e121c40cad29 (patch)
treefd3d41cf340c4b34989b9c35d9ff65fdc0db3659 /gfx/gfx.h
parent8fe67338b3f797208623c88893f56d1c1a9d1b30 (diff)
downloadeeshow-b987ddd5026d6e96f96475d2f380e121c40cad29.tar.gz
eeshow-b987ddd5026d6e96f96475d2f380e121c40cad29.tar.bz2
eeshow-b987ddd5026d6e96f96475d2f380e121c40cad29.zip
select driver by filename extension instead of driver spec
Diffstat (limited to 'gfx/gfx.h')
-rw-r--r--gfx/gfx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/gfx.h b/gfx/gfx.h
index c53c661..da28b6b 100644
--- a/gfx/gfx.h
+++ b/gfx/gfx.h
@@ -22,7 +22,8 @@
struct gfx;
struct gfx_ops {
- const char *name;
+ const char *const *ext;
+ int n_ext;
void (*line)(void *ctx, int sx, int sy, int ex, int ey,
int color, unsigned layer);
void (*rect)(void *ctx, int sx, int sy, int ex, int ey,