improved outline arguments

This commit is contained in:
va_alpatov
2026-06-07 19:08:01 +03:00
parent b9522fe191
commit d1eaee6e6e
5 changed files with 70 additions and 46 deletions
+6 -1
View File
@@ -30,6 +30,11 @@ namespace omath::hud::widget
float thickness = 1.f;
};
enum class Outlined
{
Off,
On,
};
struct CorneredBox
{
Color color;
@@ -118,7 +123,7 @@ namespace omath::hud::widget
{
Color color;
float offset;
bool outlined;
Outlined outlined;
std::string_view text;
};