This commit is contained in:
MihailRis 2025-11-14 20:56:11 +03:00
parent 95721a6864
commit 5f76e72748
18 changed files with 44 additions and 44 deletions

View file

@ -3,12 +3,12 @@
#include <functional>
namespace gui {
enum class Orientation { vertical, horizontal };
enum class Orientation { VERTICAL, HORIZONTAL };
using ontimeout = std::function<void()>;
using OnTimeOut = std::function<void()>;
struct IntervalEvent {
ontimeout callback;
OnTimeOut callback;
float interval;
float timer;
// -1 - infinity, 1 - one time event