added outside glow

This commit is contained in:
2026-07-11 22:39:18 +03:00
parent 1618a41318
commit cbe220664f
7 changed files with 98 additions and 23 deletions
@@ -39,9 +39,19 @@ namespace omath::hud::widget
float intensity = 1.f;
};
enum class CanvasGlowMode
{
INSIDE,
OUTSIDE,
BOTH,
};
struct CanvasGlow
{
Glow glow;
int layers = 64;
CanvasGlowMode mode = CanvasGlowMode::INSIDE;
float rounding = 20.f;
};
// ── Standalone widgets ────────────────────────────────────────────────────