|
RavEngine
|
Public Member Functions | |
| void | AnyActionDown (const int charcode) override |
| void | AnyActionUp (const int charcode) override |
| template<typename T > | |
| void | ExclusiveAccess (const T &func) |
| template<typename T > | |
| constexpr void | EnqueueUIUpdate (const T &func) |
| void | ScrollY (float amt) |
| void | MouseMove () |
| void | SetDimensions (uint32_t width, uint32_t height) |
Public Attributes | ||
| Rml::Context * | context = nullptr | |
| locked_hashmap< std::string, Rml::ElementDocument *, SpinLock > | documents | |
| ConcurrentQueue< Function< void(void)> > | q_a | |
| ConcurrentQueue< Function< void(void)> > | q_b | |
| std::atomic< decltype(q_a) * > | current = &q_a | |
| std::atomic< decltype(q_a) * > | inactive = &q_b | |
| SpinLock | mtx | |
| uint32_t | modifier_state = 0 | |
| struct { | ||
| float x = 0 | ||
| float y = 0 | ||
| } | MousePos | |
|
overridevirtual |
Invoked when an input is pressed
Reimplemented from RavEngine::IInputListener.
|
overridevirtual |
Invoked when an input is released
Reimplemented from RavEngine::IInputListener.