blob: 79c4fda6eda4084d9ca02d7bf37847c6f0ccc7d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include "../include/Settings.hpp"
namespace dchat
{
float scaling = 1.0f;
float Settings::getScaling()
{
// TODO: Load scaling from settings file
/*
CLUTTER_SCALE
GDK_SCALE
GDK_DPI_SCALE
QT_AUTO_SCREEN_SCALE_FACTOR
QT_SCALE_FACTOR
QT_SCREEN_SCALE_FACTORS
QT_DEVICE_PIXEL_RATIO
*/
return scaling;
}
void Settings::setScaling(float _scaling)
{
scaling = _scaling;
}
}
|