#pragma once #include namespace gui { enum class Orientation { VERTICAL, HORIZONTAL }; using OnTimeOut = std::function; struct IntervalEvent { OnTimeOut callback; float interval; float timer; // -1 - infinity, 1 - one time event int repeat; }; }