From 62b4a3ededd237f4b4850d91c052585e2f687499 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 2 Jun 2024 21:46:07 +1000 Subject: Switched to luigi, parsing out FLAC metadata. --- ui.h | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 ui.h (limited to 'ui.h') 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 -- cgit v1.2.3-54-g00ecf