bug fixes + minimum and maximum window size options
This commit is contained in:
parent
d35c30c81c
commit
17d67cad27
8 changed files with 166 additions and 53 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue