Optibits
Loading...
Searching...
No Matches
Optibits::Input::Impl Struct Reference
Inheritance diagram for Optibits::Input::Impl:
Optibits::Noncopyable

Classes

struct  InputEvent
 

Public Member Functions

 Impl (Input &input, SDL_Window *window)
 
void updateMousePosition ()
 
void setMousePosition (double x, double y)
 
bool feedSdlEvent (const SDL_Event *e)
 
void dispatchEvents ()
 

Public Attributes

Inputinput
 
SDL_Window * window
 
double mouseX
 
double mouseY
 
double mouseScaleX = 1
 
double mouseScaleY = 1
 
double mouseOffsetX = 0
 
double mouseOffsetY = 0
 

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