Dispatch events to terminal if active else to input router.
More...
#include <le2d/console/junction.hpp>
Dispatch events to terminal if active else to input router.
◆ Junction()
| le::console::Junction::Junction |
( |
gsl::not_null< ITerminal * > |
terminal, |
|
|
gsl::not_null< input::Router * > |
router |
|
) |
| |
|
inlineexplicit |
- Parameters
-
| router | Persistent pointer to input router. |
| terminal | Persistent pointer to terminal instance. |
◆ dispatch()
| void le::console::Junction::dispatch |
( |
std::span< Event const > |
events, |
|
|
glm::ivec2 |
framebuffer_size |
|
) |
| const |
- Parameters
-
| events | Event queue. |
| framebuffer_size | Size of target framebuffer for terminal. |
The documentation for this class was generated from the following file: