TermOx
event_name.hpp
1 #ifndef TERMOX_SYSTEM_DETAIL_EVENT_NAME_HPP
2 #define TERMOX_SYSTEM_DETAIL_EVENT_NAME_HPP
3 #include <string>
4 
5 #include <termox/system/event_fwd.hpp>
6 
7 namespace ox::detail {
8 
10 [[nodiscard]] auto name(Paint_event const&) -> std::string;
11 
12 [[nodiscard]] auto name(Key_press_event const&) -> std::string;
13 
14 [[nodiscard]] auto name(Mouse_press_event const&) -> std::string;
15 
16 [[nodiscard]] auto name(Mouse_release_event const&) -> std::string;
17 
18 [[nodiscard]] auto name(Mouse_wheel_event const&) -> std::string;
19 
20 [[nodiscard]] auto name(Mouse_move_event const&) -> std::string;
21 
22 [[nodiscard]] auto name(Child_added_event const&) -> std::string;
23 
24 [[nodiscard]] auto name(Child_removed_event const&) -> std::string;
25 
26 [[nodiscard]] auto name(Child_polished_event const&) -> std::string;
27 
28 [[nodiscard]] auto name(Delete_event const&) -> std::string;
29 
30 [[nodiscard]] auto name(Disable_event const&) -> std::string;
31 
32 [[nodiscard]] auto name(Enable_event const&) -> std::string;
33 
34 [[nodiscard]] auto name(Focus_in_event const&) -> std::string;
35 
36 [[nodiscard]] auto name(Focus_out_event const&) -> std::string;
37 
38 [[nodiscard]] auto name(Move_event const&) -> std::string;
39 
40 [[nodiscard]] auto name(Resize_event const&) -> std::string;
41 
42 [[nodiscard]] auto name(Timer_event const&) -> std::string;
43 
44 [[nodiscard]] auto name(Custom_event const&) -> std::string;
45 
46 } // namespace ox::detail
47 #endif // TERMOX_SYSTEM_DETAIL_EVENT_NAME_HPP