Add more resolution settings

This commit is contained in:
daleclack 2024-08-15 15:48:26 +08:00
parent d9fdaffd4e
commit 4ecc92a883
1 changed files with 15 additions and 0 deletions

View File

@ -732,6 +732,18 @@ static void btnapply_clicked(GtkWidget *widget, MyPrefs *self)
self->width = 1366;
self->height = 768;
break;
case 5:
self->width = 1600;
self->height = 900;
break;
case 6:
self->width = 1920;
self->height = 1080;
break;
case 7:
self->width = 2560;
self->height = 1440;
break;
}
}
else
@ -751,6 +763,9 @@ static void my_prefs_init(MyPrefs *self)
"1024x576",
"1280x720",
"1366x768",
"1600x900",
"1920x1080",
"2560x1440",
NULL};
// Load config