17PROMEKI_NAMESPACE_BEGIN
76 Map<uint32_t, SDLWindow *> _windowMap;
78 void dispatchEvent(
const SDL_Event &e);
79 void handleWindowEvent(
const SDL_Event &e);
80 void handleKeyEvent(
const SDL_Event &e);
81 void handleMouseEvent(
const SDL_Event &e);
82 void handleMouseWheelEvent(
const SDL_Event &e);
84 static KeyEvent::Key translateKey(
int sdlKeycode);
85 static uint8_t translateModifiers(uint16_t sdlMod);
Pumps SDL events into the promeki event system.
Definition sdleventpump.h:37
void unregisterWindow(SDLWindow *window)
Unregisters a window from event routing.
void registerWindow(SDLWindow *window)
Registers a window for event routing.
SDLWindow * findWindow(uint32_t id) const
Finds a registered window by SDL window ID.
void pumpEvents()
Drains all pending SDL events and dispatches them.
Top-level SDL window that serves as a root Widget.
Definition sdlwindow.h:47