formatted hpp files

This commit is contained in:
Micovec 2024-01-08 18:26:41 +01:00
parent 91e1fc978d
commit 9cc29db0de
3 changed files with 71 additions and 79 deletions

View file

@ -35,9 +35,7 @@ class IWindowTransformer;
template <typename T>
class CWindowOverridableVar {
public:
CWindowOverridableVar(T val)
: value(val) {
}
CWindowOverridableVar(T val) : value(val) {}
~CWindowOverridableVar() = default;

View file

@ -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;