Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::Input::Manager Class Reference
Inheritance diagram for Grindstone::Input::Manager:
Grindstone::Input::Interface

Public Member Functions

 Manager (Events::Dispatcher *dispatcher)
 
virtual void SetCursorMode (CursorMode) override
 
virtual CursorMode GetCursorMode () override
 
virtual void SetCursorIsRawMotion (bool isRawMode) override
 
virtual bool GetCursorIsRawMotion () override
 
virtual void SetMainWindow (Grindstone::Window *window) override
 
virtual bool IsMouseButtonPressed (Events::MouseButtonCode) override
 
virtual void SetMousePosition (int, int) override
 
virtual void GetMousePosition (int &, int &) override
 
virtual bool IsFocused () override
 
virtual bool IsKeyPressed (Events::KeyPressCode) override
 
virtual void ResizeEvent (int, int) override
 
virtual void SetMouseButton (Events::MouseButtonCode, bool) override
 
virtual void OnMouseMoved (int, int) override
 
virtual void SetIsFocused (bool) override
 
virtual void MouseScroll (float, float) override
 
virtual void SetKeyPressed (Events::KeyPressCode, bool) override
 
virtual void AddCharacterTyped (unsigned short character) override
 
virtual void TryQuit (Grindstone::Window *window) override
 
virtual void ForceQuit (Grindstone::Window *window) override
 
- Public Member Functions inherited from Grindstone::Input::Interface

Member Function Documentation

◆ AddCharacterTyped()

void Manager::AddCharacterTyped ( unsigned short character)
overridevirtual

◆ ForceQuit()

void Manager::ForceQuit ( Grindstone::Window * window)
overridevirtual

◆ GetCursorIsRawMotion()

bool Manager::GetCursorIsRawMotion ( )
overridevirtual

◆ GetCursorMode()

CursorMode Manager::GetCursorMode ( )
overridevirtual

◆ GetMousePosition()

void Manager::GetMousePosition ( int & x,
int & y )
overridevirtual

◆ IsFocused()

bool Manager::IsFocused ( )
overridevirtual

◆ IsKeyPressed()

bool Manager::IsKeyPressed ( Events::KeyPressCode code)
overridevirtual

◆ IsMouseButtonPressed()

bool Manager::IsMouseButtonPressed ( Events::MouseButtonCode code)
overridevirtual

◆ MouseScroll()

void Manager::MouseScroll ( float offsetX,
float offsetY )
overridevirtual

◆ OnMouseMoved()

void Manager::OnMouseMoved ( int x,
int y )
overridevirtual

◆ ResizeEvent()

void Manager::ResizeEvent ( int width,
int height )
overridevirtual

◆ SetCursorIsRawMotion()

void Manager::SetCursorIsRawMotion ( bool isRawMode)
overridevirtual

◆ SetCursorMode()

void Manager::SetCursorMode ( CursorMode cursorMode)
overridevirtual

◆ SetIsFocused()

void Manager::SetIsFocused ( bool isFocused)
overridevirtual

◆ SetKeyPressed()

void Manager::SetKeyPressed ( Events::KeyPressCode code,
bool isPressed )
overridevirtual

◆ SetMainWindow()

void Manager::SetMainWindow ( Grindstone::Window * window)
overridevirtual

◆ SetMouseButton()

void Manager::SetMouseButton ( Events::MouseButtonCode code,
bool isPressed )
overridevirtual

◆ SetMousePosition()

void Manager::SetMousePosition ( int x,
int y )
overridevirtual

◆ TryQuit()

void Manager::TryQuit ( Grindstone::Window * window)
overridevirtual

The documentation for this class was generated from the following files: