1#ifndef OE_GUI_DATATYPES_H
2#define OE_GUI_DATATYPES_H
10 typedef uint64_t gui_id_t;
11 typedef std::function<void()> callback_t;
15 WINDOW_BORDER = (1 << 0),
16 WINDOW_MOVABLE = (1 << 1),
17 WINDOW_SCALABLE = (1 << 2),
18 WINDOW_CLOSABLE = (1 << 3),
19 WINDOW_MINIMIZABLE = (1 << 4),
20 WINDOW_NO_SCROLLBAR = (1 << 5),
21 WINDOW_TITLE = (1 << 6),
22 WINDOW_SCROLL_AUTO_HIDE = (1 << 7),
23 WINDOW_BACKGROUND = (1 << 8),
24 WINDOW_SCALE_LEFT = (1 << 9),
25 WINDOW_NO_INPUT = (1 << 10)
28 constexpr int DEFAULT_WINDOW_FLAGS =
29 window_flags::WINDOW_MOVABLE | window_flags::WINDOW_SCALABLE
30 | window_flags::WINDOW_BACKGROUND
31 | window_flags::WINDOW_TITLE
32 | window_flags::WINDOW_BORDER
35 constexpr int NO_WINDOW_FLAGS = 0;
Oxygen Engine common namespace.
Definition cursor.h:8