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

Public Member Functions

virtual CursorMode GetCursorMode ()=0
 
virtual void SetCursorMode (CursorMode)=0
 
virtual void SetCursorIsRawMotion (bool isRawMode)=0
 
virtual bool GetCursorIsRawMotion ()=0
 
virtual void SetMainWindow (Grindstone::Window *window)=0
 
virtual void ResizeEvent (int, int)=0
 
virtual void SetMouseButton (Events::MouseButtonCode, bool)=0
 
virtual bool IsMouseButtonPressed (Events::MouseButtonCode)=0
 
virtual void SetMousePosition (int, int)=0
 
virtual void GetMousePosition (int &, int &)=0
 
virtual void OnMouseMoved (int, int)=0
 
virtual void SetIsFocused (bool)=0
 
virtual bool IsFocused ()=0
 
virtual void MouseScroll (float offsetX, float offsetY)=0
 
virtual void SetKeyPressed (Events::KeyPressCode, bool)=0
 
virtual bool IsKeyPressed (Events::KeyPressCode)=0
 
virtual void AddCharacterTyped (unsigned short character)=0
 
virtual void TryQuit (Grindstone::Window *window)=0
 
virtual void ForceQuit (Grindstone::Window *window)=0
 

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