TermOx
event_fwd.hpp
1 #ifndef TERMOX_SYSTEM_EVENT_FWD_HPP
2 #define TERMOX_SYSTEM_EVENT_FWD_HPP
3 #include <variant>
4 
5 namespace esc {
6 struct Window_resize;
7 } // namespace esc
8 
9 namespace ox {
10 
11 struct Paint_event;
12 struct Key_press_event;
13 struct Key_release_event;
14 struct Mouse_press_event;
15 struct Mouse_release_event;
16 struct Mouse_wheel_event;
17 struct Mouse_move_event;
18 struct Child_added_event;
19 struct Child_removed_event;
20 struct Child_polished_event;
21 struct Delete_event;
22 struct Disable_event;
23 struct Enable_event;
24 struct Focus_in_event;
25 struct Focus_out_event;
26 struct Move_event;
27 struct Resize_event;
28 struct Timer_event;
29 struct Dynamic_color_event;
30 struct Custom_event;
31 
32 using Event = std::variant<Paint_event,
33  Key_press_event,
34  Key_release_event,
35  Mouse_press_event,
36  Mouse_release_event,
37  Mouse_wheel_event,
38  Mouse_move_event,
39  Child_added_event,
40  Child_removed_event,
41  Child_polished_event,
42  Delete_event,
43  Disable_event,
44  Enable_event,
45  Focus_in_event,
46  Focus_out_event,
47  Move_event,
48  Resize_event,
49  Timer_event,
50  Dynamic_color_event,
51  ::esc::Window_resize,
52  Custom_event>;
53 
54 } // namespace ox
55 #endif // TERMOX_SYSTEM_EVENT_FWD_HPP