aboutsummaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-08 22:04:26 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-08 22:04:26 -0400
commitbae22b3118742113a53d3496ee84ad577481077c (patch)
treecd4046bf2215f106e5041ef93e03360670152a96 /term.h
parent48da503fbfe7c376842dc9b05c69875f5b6092a6 (diff)
downloadrunes-bae22b3118742113a53d3496ee84ad577481077c.tar.gz
runes-bae22b3118742113a53d3496ee84ad577481077c.zip
a bunch more refactoring
Diffstat (limited to 'term.h')
-rw-r--r--term.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/term.h b/term.h
index 68b3f9c..dc00387 100644
--- a/term.h
+++ b/term.h
@@ -2,16 +2,13 @@
#define _RUNES_TERM_H
struct runes_term {
- RunesWindow *w;
- /* RunesBuffer *buf; */
+ RunesWindowBackend w;
- cairo_surface_t *surface;
cairo_t *cr;
-
uv_loop_t *loop;
};
-RunesTerm *runes_term_create(int argc, char *argv[]);
-void runes_term_destroy(RunesTerm *t);
+void runes_term_init(RunesTerm *t, int argc, char *argv[]);
+void runes_term_cleanup(RunesTerm *t);
#endif