mirror of
https://github.com/orange-cpp/omath.git
synced 2026-08-08 05:52:07 +00:00
added gradient dir
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
|
||||
namespace omath::hud
|
||||
{
|
||||
enum class GradientDirection
|
||||
{
|
||||
RightToLeft,
|
||||
LeftToRight,
|
||||
};
|
||||
|
||||
struct Gradient
|
||||
{
|
||||
Color top_left;
|
||||
@@ -12,5 +18,6 @@ namespace omath::hud
|
||||
bool animated = false;
|
||||
float animation_speed = 4.f;
|
||||
float animation_spread = 0.7f;
|
||||
GradientDirection direction = GradientDirection::RightToLeft;
|
||||
};
|
||||
} // namespace omath::hud
|
||||
|
||||
Reference in New Issue
Block a user