summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@gnugeneration.com>2016-12-13 07:23:30 -0800
committerVito Caputo <vcaputo@gnugeneration.com>2016-12-13 07:23:30 -0800
commite195a20a3af0b2c34db115574e00894cf55bf0fa (patch)
tree3dbaba11690c3ab31deaecad2d12f4c4bec6979b
parent4ba53a227cf93c0559b016d83df5eb372e977c78 (diff)
rototiller: introduce rototiller_renderer_t
Moving towards a modular renderer model so we can draw different things.
-rw-r--r--rototiller.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/rototiller.h b/rototiller.h
new file mode 100644
index 0000000..0ff2c3f
--- /dev/null
+++ b/rototiller.h
@@ -0,0 +1,12 @@
+#ifndef _ROTOTILLER_H
+#define _ROTOTILLER_H
+
+typedef struct rototiller_renderer_t {
+ void (*render)(fb_fragment_t *);
+ char *name;
+ char *description;
+ char *author;
+ char *license;
+} rototiller_renderer_t;
+
+#endif
© All Rights Reserved