diff options
author | quou <quou@disroot.org> | 2024-06-02 21:46:07 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-06-02 21:47:26 +1000 |
commit | 62b4a3ededd237f4b4850d91c052585e2f687499 (patch) | |
tree | 25bf590a634c6c71f399cf9b1d620500f06b8b9f /plat.h | |
parent | 2e761bdb8badecdbda2925a056a6d5aa3e3cac83 (diff) |
Switched to luigi, parsing out FLAC metadata.
Diffstat (limited to 'plat.h')
-rw-r--r-- | plat.h | 33 |
1 files changed, 1 insertions, 32 deletions
@@ -1,44 +1,13 @@ #ifndef plat_h +#define plat_h -#include "render.h" #include "error.h" -int get_mouse_x(); -int get_mouse_y(); - -typedef enum { - mbtn_left, - mbtn_middle, - mbtn_right, - mbtn_count -} MBtn; -int mbtn_pressed(MBtn btn); -int mbtn_just_pressed(MBtn btn); -int mbtn_just_released(MBtn btn); -int get_mscroll_x(void); -int get_mscroll_y(void); -int get_mouse_x(void); -int get_mouse_y(void); - -const char* get_text_input(int* len); - void print(const char* fmt, ...); void print_err(const char* fmt, ...); void print_war(const char* fmt, ...); void pbreak(Error code); -Colour* get_fb(void); - -unsigned long get_current_time(); -void sleep_ns(unsigned long ns); - -void plat_present(int x, int y, int w, int h); -int get_render_w(void); -int get_render_h(void); - -unsigned char* load_binary(const char* n, int* size); -void free_file(void* p); - typedef void (*Dir_Iter)(void* uptr, const char* path); void iter_dir(const char* path, Dir_Iter fn, void* u); |