HiDPI support -- fractional scaling is a bit broken, sometimes crashes, is a bit blurry

This commit is contained in:
2026-03-25 23:32:08 +01:00
parent e8867e4b01
commit 103f17b8e9
6 changed files with 94 additions and 9 deletions

View File

@@ -121,6 +121,9 @@ private:
FreqScale freqScale_ = FreqScale::Linear;
bool paused_ = false;
bool vsync_ = true;
float uiScale_ = 0.0f; // 0 = auto (use DPI), >0 = manual override
float appliedScale_ = 0.0f; // currently applied scale (0 = not yet applied)
void applyUIScale(float scale);
// (waterfallW_ removed — texture width tracks bin count automatically)
// (waterfallH_ removed — fixed history depth of 1024 rows)