mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-24 19:26:01 +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>
|
||||
class CWindowOverridableVar {
|
||||
public:
|
||||
CWindowOverridableVar(T val)
|
||||
: value(val) {
|
||||
}
|
||||
CWindowOverridableVar(T val) : value(val) {}
|
||||
|
||||
~CWindowOverridableVar() = default;
|
||||
|
||||
|
|
|
@ -54,19 +54,13 @@ class CGradientValueData : public ICustomConfigValueData {
|
|||
// This class is probably going to be refactored once hyprlang is used
|
||||
class CCornerRadiiData : public ICustomConfigValueData {
|
||||
public:
|
||||
CCornerRadiiData()
|
||||
: CCornerRadiiData(0) {
|
||||
}
|
||||
CCornerRadiiData() : CCornerRadiiData(0) {}
|
||||
|
||||
CCornerRadiiData(int radius)
|
||||
: CCornerRadiiData(radius, radius, radius, radius) {
|
||||
}
|
||||
CCornerRadiiData(int radius) : CCornerRadiiData(radius, radius, radius, radius) {}
|
||||
|
||||
CCornerRadiiData(int topL, int topR, int bottomR, int bottomL)
|
||||
: topLeft(topL), topRight(topR), bottomRight(bottomR), bottomLeft(bottomL) {
|
||||
}
|
||||
CCornerRadiiData(int topL, int topR, int bottomR, int bottomL) : topLeft(topL), topRight(topR), bottomRight(bottomR), bottomLeft(bottomL) {}
|
||||
|
||||
virtual ~CCornerRadiiData(){}
|
||||
virtual ~CCornerRadiiData() {}
|
||||
|
||||
virtual eConfigValueDataTypes getDataType() {
|
||||
return CVD_TYPE_CORNER_RADII;
|
||||
|
|
Loading…
Reference in a new issue