summaryrefslogtreecommitdiff
path: root/prge_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'prge_gui.h')
-rw-r--r--prge_gui.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/prge_gui.h b/prge_gui.h
index 72fc11a..c267466 100644
--- a/prge_gui.h
+++ b/prge_gui.h
@@ -1,7 +1,6 @@
-#ifndef PRGE_GUI_H
-#define PRGE_GUI_H
+B32 inrect(V2 pos, V2 start, V2 end);
-B32 in_rect(V2 pos, V2 start, V2 end);
-B32 button(Window *wnd, U32 shader, Input *input, Arena *arena, Str8 name, V2 center, F32 w, F32 h);
+void beginui(Shader shader, PRGEWindow wnd);
+void endui(void);
-#endif /* PRGE_GUI_H */
+B32 button(PRGEContext *prgectx, Shader shader, const char *name, V2 center, F32 w, F32 h);