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> template <typename T>
class CWindowOverridableVar { class CWindowOverridableVar {
public: public:
CWindowOverridableVar(T val) CWindowOverridableVar(T val) : value(val) {}
: value(val) {
}
~CWindowOverridableVar() = default; ~CWindowOverridableVar() = default;

View file

@ -54,17 +54,11 @@ 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() {}