console and mining tab visual improvements
This commit is contained in:
@@ -202,6 +202,10 @@ public:
|
||||
bool getPoolMode() const { return pool_mode_; }
|
||||
void setPoolMode(bool v) { pool_mode_ = v; }
|
||||
|
||||
// Font scale (user accessibility setting, 1.0–1.5)
|
||||
float getFontScale() const { return font_scale_; }
|
||||
void setFontScale(float v) { font_scale_ = std::max(1.0f, std::min(1.5f, v)); }
|
||||
|
||||
// Window size persistence (logical pixels at 1x scale)
|
||||
int getWindowWidth() const { return window_width_; }
|
||||
int getWindowHeight() const { return window_height_; }
|
||||
@@ -254,6 +258,9 @@ private:
|
||||
bool pool_hugepages_ = true;
|
||||
bool pool_mode_ = false; // false=solo, true=pool
|
||||
|
||||
// Font scale (user accessibility, 1.0–3.0; 1.0 = default)
|
||||
float font_scale_ = 1.0f;
|
||||
|
||||
// Window size (logical pixels at 1x scale; 0 = use default 1200×775)
|
||||
int window_width_ = 0;
|
||||
int window_height_ = 0;
|
||||
|
||||
Reference in New Issue
Block a user