6 #include <unordered_map> 82 static std::unique_ptr<Window> create(
const InitInfo& initInfo);
113 void setKeyRepeat(
bool state);
138 const Math::Vec2i& getMousePos()
const;
145 void setMousePos(
const Math::Vec2i& mousePosition);
152 Math::Vec2i getWindowSize()
const;
159 void setMouseCursorVisible(
bool visible);
165 bool init(
const InitInfo& initInfo);
175 void initMouseState();
200 Math::Vec2i _mousePosition{0, 0};
::lug::Window::Style style
std::unordered_map< Keyboard::Key, bool > _keyState
The video mode we set for the window we wish to create.
Key
Abstraction of keyboard keys.
Button
Abstraction of Mouse buttons.
void close(Handle handle)
std::unordered_map< Mouse::Button, bool > _mouseState