-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetting.h
More file actions
35 lines (28 loc) · 756 Bytes
/
setting.h
File metadata and controls
35 lines (28 loc) · 756 Bytes
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
27
28
29
30
31
32
33
34
35
/**
* @author Saef Taher
* @date 14/01/2018
*/
#ifndef SETTING_H
#define SETTING_H
/**
* @brief The Setting class is a basic cotainer for some settings.
*/
class Setting
{
public:
Setting(double opacity = 100, double transistion = 10, double ambiBrightness = 100, double ambiSatFactor = 100);
double opacity() const;
void setOpacity(double opacity);
double transistion() const;
void setTransistion(double transistion);
double ambiBrightness() const;
void setAmbiBrightness(double ambiBrightness);
double ambiSatFactor() const;
void setAmbiSatFactor(double ambiSatFactor);
private:
double opacity_;
double transistion_;
double ambiBrightness_;
double ambiSatFactor_;
};
#endif // SETTING_H