fluidvis
|
#include <SX.h>
Public Member Functions | |
virtual double | getTime () const =0 |
virtual double | getDeltaTime () const =0 |
virtual int | getMouseX () const =0 |
virtual int | getMouseY () const =0 |
virtual double | getMouseDeltaX () const =0 |
virtual double | getMouseDeltaY () const =0 |
virtual bool | hasKey (int key) const =0 |
virtual bool | hasMouseKey (MouseButton key) const =0 |
virtual int | getWidth () const =0 |
virtual int | getHeight () const =0 |
virtual void | stopRendering ()=0 |
virtual void | setMousePointer (int x, int y)=0 |
virtual void | setShowCursor (bool showCursor)=0 |
provides access for SXRenderListeners to its render area
|
pure virtual |
returns the time leapsed since the last frame, which finished processing
Implemented in sx::SXWindow, and sx::SXWidget.
|
pure virtual |
returns the height of the render area
Implemented in sx::SXWindow, and sx::SXWidget.
|
pure virtual |
returns the x coordinate of the difference of the mousepointer shortly before set with setMousePosition and the position set with setMousePosition
Implemented in sx::SXWindow, and sx::SXWidget.
|
pure virtual |
returns the y coordinate of the difference of the mousepointer shortly before set with setMousePosition and the position set with setMousePosition
Implemented in sx::SXWindow, and sx::SXWidget.
|
pure virtual |
returns the x coordinate of the mouse
Implemented in sx::SXWindow, and sx::SXWidget.
|
pure virtual |
returns the y coordinate of the mouse
Implemented in sx::SXWindow, and sx::SXWidget.
|
pure virtual |
returns the time elapsed from the creation of the SXRenderArea to the last frame, which started processing
Implemented in sx::SXWindow, and sx::SXWidget.
|
pure virtual |
returns the width of the render area
Implemented in sx::SXWindow, and sx::SXWidget.
|
pure virtual |
returns true iff key is pressed
Implemented in sx::SXWindow, and sx::SXWidget.
|
pure virtual |
returns true iff mousebutton key is pressed
Implemented in sx::SXWindow, and sx::SXWidget.
|
pure virtual |
sets the mousepointer to a position relative to the left bottom windowcorner
Implemented in sx::SXWindow, and sx::SXWidget.
|
pure virtual |
sets if the cursor is rendered or not, if its located at the render area
Implemented in sx::SXWindow, and sx::SXWidget.
|
pure virtual |
makes the renderarea quit rendering
Implemented in sx::SXWindow, and sx::SXWidget.