summaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-06-02 21:46:07 +1000
committerquou <quou@disroot.org>2024-06-02 21:47:26 +1000
commit62b4a3ededd237f4b4850d91c052585e2f687499 (patch)
tree25bf590a634c6c71f399cf9b1d620500f06b8b9f /ui.h
parent2e761bdb8badecdbda2925a056a6d5aa3e3cac83 (diff)
Switched to luigi, parsing out FLAC metadata.
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/ui.h b/ui.h
deleted file mode 100644
index 6a36566..0000000
--- a/ui.h
+++ /dev/null
@@ -1,41 +0,0 @@
-#ifndef ui_h
-#define ui_h
-
-#include "render.h"
-#include "rect.h"
-
-typedef struct {
- Font* font;
-} UI;
-
-Rectangle rectcut_left (Rectangle* l, int a);
-Rectangle rectcut_right (Rectangle* l, int a);
-Rectangle rectcut_top (Rectangle* l, int a);
-Rectangle rectcut_bottom(Rectangle* l, int a);
-Rectangle shrink_rect (const Rectangle* l, int a);
-Rectangle centre_rect (
- const Rectangle* l,
- const Rectangle* t
-);
-
-void init_ui(UI* u, Font* f);
-void ui_begin(UI* u, Rectangle* l);
-void ui_end(UI* u);
-int ui_button(
- UI* u,
- const Rectangle* l,
- const char* label
-);
-void ui_label(
- UI* u,
- const Rectangle* l,
- const char* text
-);
-void ui_container(
- UI* u,
- const Rectangle* l,
- Rectangle* r,
- const Rectangle* c
-);
-
-#endif