diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-19 18:47:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-19 18:47:49 +0100 |
| commit | a360c31d0434898888e710f4a5f560200f50cecf (patch) | |
| tree | f68746c77b416654ec059f670e2e66af62581de3 /src/config/shared/complex | |
| parent | 889ee4f26d77ff0c36f5c4767ef0629371fd2c18 (diff) | |
errorOverlay: modernize, refactor, use GPU rendering (#14122)
Improves the overlay's rendering:
- GPU accelerated
- supports gradients
- wraps
- cleaner code a bit
Diffstat (limited to 'src/config/shared/complex')
| -rw-r--r-- | src/config/shared/complex/ComplexDataTypes.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/shared/complex/ComplexDataTypes.hpp b/src/config/shared/complex/ComplexDataTypes.hpp index 2db73ae8..536b0433 100644 --- a/src/config/shared/complex/ComplexDataTypes.hpp +++ b/src/config/shared/complex/ComplexDataTypes.hpp @@ -18,6 +18,9 @@ namespace Config { m_colors.push_back(col); updateColorsOk(); }; + CGradientValueData(std::vector<CHyprColor>&& cols, float ang) : m_colors(std::move(cols)), m_angle(ang) { + updateColorsOk(); + }; virtual ~CGradientValueData() = default; virtual eConfigValueDataTypes getDataType() { |
