HikoGUI
A low latency retained GUI
|
Definition of GUI event type. More...
#include "../utility/utility.hpp"
#include "../macros.hpp"
#include <string>
#include <string_view>
#include <ostream>
Go to the source code of this file.
Namespaces | |
namespace | hi |
The HikoGUI namespace. | |
namespace | hi::v1 |
The HikoGUI API version 1. | |
Enumerations | |
enum class | hi::v1::gui_event_type { none , keyboard_down , keyboard_up , keyboard_grapheme , keyboard_partial_grapheme , keyboard_enter , keyboard_exit , mouse_move , mouse_drag , mouse_down , mouse_up , mouse_wheel , mouse_enter , mouse_exit , mouse_exit_window , hi::v1::gui_event_type::window_redraw , hi::v1::gui_event_type::window_relayout , hi::v1::gui_event_type::window_reconstrain , hi::v1::gui_event_type::window_resize , hi::v1::gui_event_type::window_minimize , hi::v1::gui_event_type::window_maximize , hi::v1::gui_event_type::window_normalize , hi::v1::gui_event_type::window_close , hi::v1::gui_event_type::window_open_sysmenu , hi::v1::gui_event_type::window_set_keyboard_target , hi::v1::gui_event_type::window_set_clipboard , hi::v1::gui_event_type::window_activate , hi::v1::gui_event_type::window_deactivate , text_cursor_left_char , text_cursor_right_char , text_cursor_down_char , text_cursor_up_char , text_cursor_left_word , text_cursor_right_word , text_cursor_begin_line , text_cursor_end_line , text_cursor_begin_sentence , text_cursor_end_sentence , text_cursor_begin_document , text_cursor_end_document , text_select_left_char , text_select_right_char , text_select_down_char , text_select_up_char , text_select_word , text_select_left_word , text_select_right_word , text_select_begin_line , text_select_end_line , text_select_begin_sentence , text_select_end_sentence , text_select_document , text_select_begin_document , text_select_end_document , text_delete_char_prev , text_delete_char_next , text_delete_word_prev , text_delete_word_next , text_swap_chars , text_edit_paste , text_edit_copy , text_edit_cut , text_undo , text_redo , text_insert_line , text_insert_line_up , text_insert_line_down , text_mode_insert , gui_widget_next , gui_widget_prev , gui_menu_next , gui_menu_prev , gui_toolbar_open , gui_toolbar_next , gui_toolbar_prev , gui_activate , gui_activate_stay , gui_activate_next , gui_cancel } |
GUI event type. More... | |
Functions | |
hi_export_module (hikogui.GUI :gui_event_type) | |
std::string_view | hi::v1::to_string (gui_event_type rhs) noexcept |
Convert a GUI event type to a string. | |
constexpr gui_event_type | hi::v1::to_gui_event_type (std::string_view name) noexcept |
Convert a name to a GUI event type. | |
Variables | |
constexpr auto | hi::v1::gui_event_type_metadata |
Definition of GUI event type.