This class provides a graphics driver that does nothing. More...
#include <MultiWidgets/NullGfxDriver.hpp>
Public Member Functions | |
| virtual bool | autoConfigure () |
| Configure the driver. More... | |
| virtual size_t | frame () const |
| Returns the frame the driver is rendering. More... | |
| virtual bool | init (Application &app) |
| Initializes the driver. More... | |
| virtual void | keepMouseCursorVisible (bool keepVisible) |
| Tells the driver to keep the mouse cursor visible, even after timeout. | |
| virtual Luminous::MultiHead & | multiHead () |
| Returns related Luminous::MultiHead object. More... | |
| virtual bool | needGUI () const |
| Do we need GUI (is it necessary to initialize Luminous). More... | |
| NullGfxDriver () | |
| Constructor for the driver. | |
| virtual void | render () |
| Increases frame number and sleeps for 1 ms. | |
| virtual void | shutdown () |
| Shuts down the driver. | |
| virtual | ~NullGfxDriver () |
| Destructor for the driver. | |
This class provides a graphics driver that does nothing.
It is meant to be used with console applications when no windows are required.
|
virtual |
Configure the driver.
Never fails.
Implements MultiWidgets::GfxDriver.
|
virtual |
Returns the frame the driver is rendering.
Implements MultiWidgets::GfxDriver.
|
virtual |
Initializes the driver.
This never fails.
| app | Related application. |
Implements MultiWidgets::GfxDriver.
|
virtual |
Returns related Luminous::MultiHead object.
Implements MultiWidgets::GfxDriver.
|
virtual |
Do we need GUI (is it necessary to initialize Luminous).
Always false
Implements MultiWidgets::GfxDriver.