#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; }; }