bug fixes + minimum and maximum window size options

This commit is contained in:
Patrick 2025-10-12 01:45:23 +02:00
commit 17d67cad27
8 changed files with 166 additions and 53 deletions

View file

@ -64,6 +64,9 @@ int main(void) {
pgpl_gui_widget_add(gui, create_main_view(&app));
pgpl_window_thread_set_minimum_size(gui->window_thread, 320, 240);
pgpl_window_thread_set_maximum_size(gui->window_thread, 640, 480);
pgpl_gui_run_and_show(gui, true);
pgpl_font_destroy(NULL, font);