non-resizable window and always floating window

This commit is contained in:
2023-12-11 23:00:31 +02:00
committed by Illusion
parent ac2b73e35a
commit 04c039d64a
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();