16 virtual void SetCursorMode(CursorMode)
override;
17 virtual CursorMode GetCursorMode()
override;
18 virtual void SetCursorIsRawMotion(
bool isRawMode)
override;
19 virtual bool GetCursorIsRawMotion()
override;
21 virtual bool IsMouseButtonPressed(Events::MouseButtonCode)
override;
22 virtual void SetMousePosition(
int,
int)
override;
23 virtual void GetMousePosition(
int&,
int&)
override;
24 virtual bool IsFocused()
override;
25 virtual bool IsKeyPressed(Events::KeyPressCode)
override;
27 virtual void ResizeEvent(
int,
int)
override;
28 virtual void SetMouseButton(Events::MouseButtonCode,
bool)
override;
29 virtual void OnMouseMoved(
int,
int)
override;
30 virtual void SetIsFocused(
bool)
override;
31 virtual void MouseScroll(
float,
float)
override;
32 virtual void SetKeyPressed(Events::KeyPressCode,
bool)
override;
33 virtual void AddCharacterTyped(
unsigned short character)
override;
39 bool isFocused =
false;
40 int mousePositionX = 0;
41 int mousePositionY = 0;
42 bool keyPressed[(int)Events::KeyPressCode::Last];
43 bool mousePressed[(int)Events::MouseButtonCode::Last];