|
Unravel Engine C++ Reference
|
Functions | |
| auto | input_event_handler (Rml::Context *context, const os::event &event) -> bool |
| Process ospp event and forward to RmlUi context. | |
| auto | convert_key (os::key::code ospp_key) -> Rml::Input::KeyIdentifier |
| Convert ospp key code to RmlUi key identifier. | |
| auto | convert_mouse_button (os::mouse::button ospp_button) -> int |
| Convert ospp mouse button to RmlUi mouse button. | |
| auto | convert_rml_key_to_ospp (Rml::Input::KeyIdentifier rml_key) -> os::key::code |
| Convert RmlUi key identifier to ospp key code. | |
| auto | convert_rml_key_to_input (Rml::Input::KeyIdentifier rml_key) -> input::key_code |
| Convert RmlUi key identifier to engine input key code. | |
| auto | get_key_modifier_state () -> int |
| Get current key modifier state. | |
| auto unravel::RmlEngine::convert_key | ( | os::key::code | ospp_key | ) | -> Rml::Input::KeyIdentifier |
Convert ospp key code to RmlUi key identifier.
| ospp_key | ospp key code |
Definition at line 281 of file RmlUi_SystemInterface.cpp.
| auto unravel::RmlEngine::convert_mouse_button | ( | os::mouse::button | ospp_button | ) | -> int |
Convert ospp mouse button to RmlUi mouse button.
| ospp_button | ospp mouse button |
Definition at line 471 of file RmlUi_SystemInterface.cpp.
| auto unravel::RmlEngine::convert_rml_key_to_input | ( | Rml::Input::KeyIdentifier | rml_key | ) | -> input::key_code |
Convert RmlUi key identifier to engine input key code.
| rml_key | RmlUi key identifier |
Definition at line 709 of file RmlUi_SystemInterface.cpp.
| auto unravel::RmlEngine::convert_rml_key_to_ospp | ( | Rml::Input::KeyIdentifier | rml_key | ) | -> os::key::code |
Convert RmlUi key identifier to ospp key code.
| rml_key | RmlUi key identifier |
Definition at line 484 of file RmlUi_SystemInterface.cpp.
| auto unravel::RmlEngine::get_key_modifier_state | ( | ) | -> int |
Get current key modifier state.
Definition at line 933 of file RmlUi_SystemInterface.cpp.
| auto unravel::RmlEngine::input_event_handler | ( | Rml::Context * | context, |
| const os::event & | event ) -> bool |
Process ospp event and forward to RmlUi context.
| context | RmlUi context to receive events |
| event | ospp event to process |
Definition at line 197 of file RmlUi_SystemInterface.cpp.