mirror of
https://github.com/orange-cpp/omath.git
synced 2026-08-08 05:52:07 +00:00
added outside glow
This commit is contained in:
@@ -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 ────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user