diff options
| author | vaxerski <vaxry@vaxry.net> | 2025-01-01 17:26:05 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2025-01-01 17:26:05 +0100 |
| commit | d64ac472027b9bcd6eefb4c9e86f85311769f7fa (patch) | |
| tree | d27448166f3d9c89581201e51a580b3c426cd0f5 /src/helpers/Color.cpp | |
| parent | 4e93b2def5f00f944abbd63a8258ee18bd99ff54 (diff) | |
pass: improve pass debugging
Diffstat (limited to 'src/helpers/Color.cpp')
| -rw-r--r-- | src/helpers/Color.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/helpers/Color.cpp b/src/helpers/Color.cpp index 7952ef55..8dfefbbd 100644 --- a/src/helpers/Color.cpp +++ b/src/helpers/Color.cpp @@ -43,3 +43,7 @@ Hyprgraphics::CColor::SHSL CHyprColor::asHSL() const { CHyprColor CHyprColor::stripA() const { return {r, g, b, 1.F}; } + +CHyprColor CHyprColor::modifyA(float newa) const { + return {r, g, b, newa}; +} |
