Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
plugin_key_routing.hpp File Reference
#include <cstdint>
#include <pulp/view/input_events.hpp>

Go to the source code of this file.

Classes

struct  pulp::view::PluginKeyOffer
 Platform-supplied facts about the key that core/view cannot derive from a KeyEvent alone. More...

Namespaces

namespace  pulp
namespace  pulp::view
 Hover-cursor tracking for platform window hosts.

Enumerations

enum class  pulp::view::PluginKeyDisposition : std::uint8_t { pulp::view::forward_to_host , pulp::view::consumed , pulp::view::insert_as_text }
 What an embedded plugin editor should do with a key it has been offered. More...

Functions

PluginKeyDisposition pulp::view::route_plugin_key (View &root, const PluginKeyOffer &offer)
 Resolve who consumes offer under root.
View * pulp::view::plugin_key_focus (View &root)
 The focused view under root, or nullptr.
bool pulp::view::is_plugin_navigation_key (KeyCode key, std::uint16_t modifiers)
 The bounded navigation set a non-text widget may borrow from the host.