Added display scaling and updated flatpak info

This commit is contained in:
Yousef Khadadeh 2025-11-23 12:53:50 +03:00
parent ba75f394e8
commit 45fa4b2774
6 changed files with 47 additions and 15 deletions

View file

@ -43,7 +43,9 @@ class MainProgram {
SkAlphaType defaultAlphaType;
int vsyncValue = 1;
float density = 1.0f;
float scale = 1.0f;
bool applyDisplayScale = true;
int defaultMSAASampleCount = 0;
SkSurfaceProps defaultMSAASurfaceProps;
@ -94,6 +96,8 @@ class MainProgram {
void init_net_library();
void set_vsync_value(int vsyncValue);
void update_scale_and_density();
float get_scale_and_density_factor_gui();
std::filesystem::path homePath;
std::filesystem::path configPath;