aboutsummaryrefslogtreecommitdiff
path: root/src/Settings.cpp
blob: 5dfa0858bed4fc1fda31c5e30e2c3fede6df06eb (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 = 0.7f;
    
    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;
    }
}