Hover-cursor tracking for platform window hosts.
Definition fwd.hpp:27
bool is_plugin_navigation_key(KeyCode key, std::uint16_t modifiers)
The bounded navigation set a non-text widget may borrow from the host.
View * plugin_key_focus(View &root)
The focused view under root, or nullptr.
PluginKeyDisposition route_plugin_key(View &root, const PluginKeyOffer &offer)
Resolve who consumes offer under root.
PluginKeyDisposition
What an embedded plugin editor should do with a key it has been offered.
Definition plugin_key_routing.hpp:32
@ consumed
A view or the root's global hook consumed the key outright.
Definition plugin_key_routing.hpp:39
@ forward_to_host
Nothing under the root claimed the key.
Definition plugin_key_routing.hpp:36
@ insert_as_text
A focused text field did not treat the key as a command, and the key is a plain printable candidate.
Definition plugin_key_routing.hpp:46
KeyCode
Definition input_events.hpp:35
Rich key event with key code, modifiers, and repeat state.
Definition input_events.hpp:193
Platform-supplied facts about the key that core/view cannot derive from a KeyEvent alone.
Definition plugin_key_routing.hpp:51
bool is_function_key
The key carries no printable character (a function key, or AppKit's 0xF700-0xF8FF private-use range).
Definition plugin_key_routing.hpp:56
bool offer_global_hook
Whether this call may offer the key to root.on_global_key.
Definition plugin_key_routing.hpp:65
KeyEvent key
Definition plugin_key_routing.hpp:52