aboutsummaryrefslogtreecommitdiff
path: root/editor/tile.c
diff options
context:
space:
mode:
Diffstat (limited to 'editor/tile.c')
-rw-r--r--editor/tile.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/editor/tile.c b/editor/tile.c
new file mode 100644
index 0000000..b40a6a4
--- /dev/null
+++ b/editor/tile.c
@@ -0,0 +1,31 @@
+#include "tile.h"
+
+#include "editor.h"
+
+static
+void tile_ui(void)
+{
+ Tile_Editor *t = &editor.tile;
+ if (
+ !tyui_begin_window(
+ "Tile Editor",
+ ty_recti(0, 0, 100, 100),
+ &t->tile_editor_win
+ )
+ ) {
+ return;
+ }
+
+ tyui_text("test");
+
+ tyui_end_window();
+}
+
+void tile_proc(void)
+{
+ tile_ui();
+}
+
+void tile_draw(void)
+{
+}