mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
cleanup
This commit is contained in:
parent
95721a6864
commit
5f76e72748
18 changed files with 44 additions and 44 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue