aboutsummaryrefslogtreecommitdiff
path: root/editor/tile.c
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-26 15:35:13 -0400
committeriamcheeseman <[email protected]>2026-05-26 15:35:13 -0400
commited7dfaad432b6e3fe838b9a2b5fe225abea5365d (patch)
tree0af2e01a688d963ec6d2977802dbeb9156335845 /editor/tile.c
parent8122098e3854bf68ca63cc25e082ba51a27b8615 (diff)
tbh i did a lot
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)
+{
+}