mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-24 21:25:58 +01:00
formatted hpp files
This commit is contained in:
parent
91e1fc978d
commit
9cc29db0de
3 changed files with 71 additions and 79 deletions
|
@ -35,9 +35,7 @@ class IWindowTransformer;
|
||||||
template <typename T>
|
template <typename T>
|
||||||
class CWindowOverridableVar {
|
class CWindowOverridableVar {
|
||||||
public:
|
public:
|
||||||
CWindowOverridableVar(T val)
|
CWindowOverridableVar(T val) : value(val) {}
|
||||||
: value(val) {
|
|
||||||
}
|
|
||||||
|
|
||||||
~CWindowOverridableVar() = default;
|
~CWindowOverridableVar() = default;
|
||||||
|
|
||||||
|
|
|
@ -54,19 +54,13 @@ class CGradientValueData : public ICustomConfigValueData {
|
||||||
// This class is probably going to be refactored once hyprlang is used
|
// This class is probably going to be refactored once hyprlang is used
|
||||||
class CCornerRadiiData : public ICustomConfigValueData {
|
class CCornerRadiiData : public ICustomConfigValueData {
|
||||||
public:
|
public:
|
||||||
CCornerRadiiData()
|
CCornerRadiiData() : CCornerRadiiData(0) {}
|
||||||
: CCornerRadiiData(0) {
|
|
||||||
}
|
|
||||||
|
|
||||||
CCornerRadiiData(int radius)
|
CCornerRadiiData(int radius) : CCornerRadiiData(radius, radius, radius, radius) {}
|
||||||
: CCornerRadiiData(radius, radius, radius, radius) {
|
|
||||||
}
|
|
||||||
|
|
||||||
CCornerRadiiData(int topL, int topR, int bottomR, int bottomL)
|
CCornerRadiiData(int topL, int topR, int bottomR, int bottomL) : topLeft(topL), topRight(topR), bottomRight(bottomR), bottomLeft(bottomL) {}
|
||||||
: topLeft(topL), topRight(topR), bottomRight(bottomR), bottomLeft(bottomL) {
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual ~CCornerRadiiData(){}
|
virtual ~CCornerRadiiData() {}
|
||||||
|
|
||||||
virtual eConfigValueDataTypes getDataType() {
|
virtual eConfigValueDataTypes getDataType() {
|
||||||
return CVD_TYPE_CORNER_RADII;
|
return CVD_TYPE_CORNER_RADII;
|
||||||
|
|
Loading…
Reference in a new issue