Classes | |
| class | InputRouterHost |
| The native operations the router needs but must not perform itself. More... | |
| class | PluginInputRouter |
| Pointer/keyboard/text routing for one plug-in editor window. More... | |
| class | PointerSession |
| Host-neutral model of the single Win32 capture bracket owned by an editor. More... | |
| class | SurfaceLifecycle |
| Tracks whether the Windows editor host currently owns a GPU/Skia surface pair. More... | |
Functions | |
| std::string | utf16_code_point_to_utf8 (char16_t high, char16_t low) |
| Encode one Unicode code point, supplied as one or two UTF-16 code units, as UTF-8. | |
| constexpr int16_t | lparam_x (uint32_t lparam) noexcept |
| constexpr int16_t | lparam_y (uint32_t lparam) noexcept |
| Point | lparam_to_logical_point (uint32_t lparam, float scale) noexcept |
| constexpr uint16_t | mouse_modifiers (uint32_t wparam, bool alt_down, bool meta_down) noexcept |
| constexpr bool | drag_continues (uint32_t wparam) noexcept |
| constexpr uint32_t | button_mask (MouseButton button) noexcept |
| constexpr bool | drag_continues (uint32_t wparam, MouseButton button) noexcept |
| constexpr MouseButton | mouse_button_from_message (uint32_t message) noexcept |
| constexpr float | wheel_steps (uint32_t wparam, bool horizontal) noexcept |
| constexpr uint16_t | key_modifiers (bool shift_down, bool control_down, bool alt_down, bool meta_down) noexcept |
| constexpr KeyCode | key_code_from_virtual_key (uint32_t vk) noexcept |
Variables | |
| constexpr uint32_t | kMkLButton = 0x0001 |
| constexpr uint32_t | kMkRButton = 0x0002 |
| constexpr uint32_t | kMkShift = 0x0004 |
| constexpr uint32_t | kMkControl = 0x0008 |
| constexpr uint32_t | kMkMButton = 0x0010 |
| constexpr uint32_t | kWmLButtonDown = 0x0201 |
| constexpr uint32_t | kWmLButtonUp = 0x0202 |
| constexpr uint32_t | kWmRButtonDown = 0x0204 |
| constexpr uint32_t | kWmRButtonUp = 0x0205 |
| constexpr uint32_t | kWmMButtonDown = 0x0207 |
| constexpr uint32_t | kWmMButtonUp = 0x0208 |
| constexpr uint32_t | kVkBack = 0x08 |
| constexpr uint32_t | kVkTab = 0x09 |
| constexpr uint32_t | kVkReturn = 0x0D |
| constexpr uint32_t | kVkEscape = 0x1B |
| constexpr uint32_t | kVkSpace = 0x20 |
| constexpr uint32_t | kVkPrior = 0x21 |
| constexpr uint32_t | kVkNext = 0x22 |
| constexpr uint32_t | kVkEnd = 0x23 |
| constexpr uint32_t | kVkHome = 0x24 |
| constexpr uint32_t | kVkLeft = 0x25 |
| constexpr uint32_t | kVkUp = 0x26 |
| constexpr uint32_t | kVkRight = 0x27 |
| constexpr uint32_t | kVkDown = 0x28 |
| constexpr uint32_t | kVkDelete = 0x2E |
| constexpr uint32_t | kVkF1 = 0x70 |
| constexpr uint32_t | kVkF12 = 0x7B |
| constexpr uint32_t | kVkOem1 = 0xBA |
| constexpr uint32_t | kVkOemComma = 0xBC |
| constexpr uint32_t | kVkOem7 = 0xDE |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
inlinenoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
|
inline |
Encode one Unicode code point, supplied as one or two UTF-16 code units, as UTF-8.
Returns empty for an unpaired surrogate or an out-of-range value.
Hand-rolled rather than routed through WideCharToMultiByte so the text path stays platform-free and testable. The input is at most one code point, so this is the whole conversion — not a general UTF-16 decoder.
|
constexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |