non-resizable window and always floating window

This commit is contained in:
2023-11-26 01:29:17 +02:00
parent 10f727cd28
commit 9fc316583f
6 changed files with 39 additions and 5 deletions
+2
View File
@@ -32,6 +32,7 @@ typedef struct Text {
typedef struct Context {
bool should_quit;
Color clear_color;
Size screen_size;
Size window_size;
ZephFont font;
Text texts;
@@ -68,6 +69,7 @@ typedef struct UIConstraints {
int init_zephr(const char* font_path, const char* window_title, Size window_size, Color *clear_color);
void deinit_zephr();
void make_window_non_resizable();
bool zephr_should_quit();
void zephr_swap_buffers();
Size zephr_get_window_size();