1 #ifndef TERMOX_SYSTEM_EVENT_HPP
2 #define TERMOX_SYSTEM_EVENT_HPP
10 #include <esc/event.hpp>
12 #include <termox/painter/color.hpp>
13 #include <termox/system/key.hpp>
14 #include <termox/system/mouse.hpp>
15 #include <termox/widget/area.hpp>
16 #include <termox/widget/point.hpp>
17 #include <termox/widget/widget.hpp>
21 using Widget_ref = std::reference_wrapper<Widget>;
28 std::optional<Widget_ref> receiver;
33 std::optional<Widget_ref> receiver;
73 std::unique_ptr<Widget> removed;
107 using Processed_colors = std::vector<std::pair<ox::Color, ox::True_color>>;
108 Processed_colors color_data;
116 std::function<void()> send;
117 std::function<bool()> filter_send = [] {
return false; };
139 ::esc::Window_resize,
Definition: event.hpp:115
Definition: event.hpp:106
Definition: event.hpp:102