summaryrefslogtreecommitdiff
path: root/src/errorOverlay/Overlay.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-05-08 15:31:02 +0100
committerGitHub <noreply@github.com>2026-05-08 15:31:02 +0100
commitb94f1498542be0e83fe8060a50bce5ff2d5a1c39 (patch)
tree8bddcfc9f8504817d5778136ec8c7c05d881c852 /src/errorOverlay/Overlay.hpp
parenta6a0cc308c827557d04cb3e4c3b5d258de0411e6 (diff)
config: allow hashes for parsing colors (#14337)
Diffstat (limited to 'src/errorOverlay/Overlay.hpp')
-rw-r--r--src/errorOverlay/Overlay.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/errorOverlay/Overlay.hpp b/src/errorOverlay/Overlay.hpp
index 68f0e5dc..08c04336 100644
--- a/src/errorOverlay/Overlay.hpp
+++ b/src/errorOverlay/Overlay.hpp
@@ -5,7 +5,6 @@
#include "../defines.hpp"
#include "../render/Texture.hpp"
#include "../helpers/AnimatedVariable.hpp"
-#include "../helpers/MiscFunctions.hpp"
#include "../config/shared/complex/ComplexDataTypes.hpp"
namespace ErrorOverlay {
@@ -13,10 +12,8 @@ namespace ErrorOverlay {
namespace Colors {
constexpr const float ANGLE_30 = 0.52359877;
- static const Config::CGradientValueData ERROR =
- Config::CGradientValueData{std::vector<CHyprColor>{*configStringToInt("0xffff6666"), *configStringToInt("0xff800000")}, ANGLE_30};
- static const Config::CGradientValueData WARNING =
- Config::CGradientValueData{std::vector<CHyprColor>{*configStringToInt("0xffffdb4d"), *configStringToInt("0xff665200")}, ANGLE_30};
+ static const Config::CGradientValueData ERROR = Config::CGradientValueData{std::vector<CHyprColor>{0xffff6666, 0xff800000}, ANGLE_30};
+ static const Config::CGradientValueData WARNING = Config::CGradientValueData{std::vector<CHyprColor>{0xffffdb4d, 0xff665200}, ANGLE_30};
};
class COverlay {