summaryrefslogtreecommitdiff
path: root/gfx/gfx.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-21 11:32:13 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-21 11:32:13 -0300
commit05806761d1d63e0d22370948659f0a9eec9e2f12 (patch)
tree5e4ab58051af32ebeecf9e8358e345847f8e4ac6 /gfx/gfx.c
parentd782cafa49d23f2dce9061d4cdd7cfe0a36d8ff5 (diff)
downloadeeshow-05806761d1d63e0d22370948659f0a9eec9e2f12.tar.gz
eeshow-05806761d1d63e0d22370948659f0a9eec9e2f12.tar.bz2
eeshow-05806761d1d63e0d22370948659f0a9eec9e2f12.zip
eeshow/gfx/gfx.c (gfx_sheet_name): pass sheet name (title) to driver
Diffstat (limited to 'gfx/gfx.c')
-rw-r--r--gfx/gfx.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gfx/gfx.c b/gfx/gfx.c
index a0ac9bd..6236888 100644
--- a/gfx/gfx.c
+++ b/gfx/gfx.c
@@ -101,6 +101,13 @@ void gfx_init(const struct gfx_ops *ops, int argc, char *const *argv)
}
+void gfx_sheet_name(const char *name)
+{
+ if (gfx_ops->sheet_name)
+ gfx_ops->sheet_name(gfx_ctx, name);
+}
+
+
void gfx_new_sheet(void)
{
if (gfx_ops->new_sheet)