kanzi::NullGraphicsOutput Class Reference

NullGraphicsOutput class. More...

#include <kanzi/core.ui/graphics/null_graphics_output.hpp>

Inheritance diagram for kanzi::NullGraphicsOutput:
kanzi::GraphicsOutput

Public Member Functions

 NullGraphicsOutput (unsigned int width=320, unsigned height=200)
 Constructor. More...
 
virtual ~NullGraphicsOutput () KZ_OVERRIDE
 Destructor. More...
 
virtual void present () KZ_OVERRIDE
 Does nothing. More...
 
void setSwapInterval (int interval)
 Does nothing. More...
 
virtual void handleEvents (const struct KzsEventQueue *eventQueue) KZ_OVERRIDE
 Does nothing. More...
 
- Public Member Functions inherited from kanzi::GraphicsOutput
 GraphicsOutput ()
 Constructor. More...
 
virtual ~GraphicsOutput ()
 Destructor. More...
 
unsigned int getWidth () const
 Returns the width of rendering area in pixels. More...
 
unsigned int getHeight () const
 Returns the height of rendering area in pixels. More...
 
enum KzsDisplayOrientationAngle getOrientationAngle () const
 Returns the orientations of the rendering area. More...
 
void resize (unsigned int width, unsigned int height)
 Resizes the rendering area. More...
 

Additional Inherited Members

- Protected Member Functions inherited from kanzi::GraphicsOutput
virtual void resizeOverride (unsigned int width, unsigned int height)
 Override function for resize(). More...
 
void updateSize (unsigned int width, unsigned int height)
 Updates the rendering area size. More...
 

Detailed Description

NullGraphicsOutput class.

A graphics output implementation that provides a width and a height, but no actual rendering output. This graphics output can be used as a placeholder, as it works on all platforms.

Constructor & Destructor Documentation

kanzi::NullGraphicsOutput::NullGraphicsOutput ( unsigned int  width = 320,
unsigned  height = 200 
)
explicit

Constructor.

virtual kanzi::NullGraphicsOutput::~NullGraphicsOutput ( )
virtual

Destructor.

Member Function Documentation

virtual void kanzi::NullGraphicsOutput::present ( )
virtual

Does nothing.

Implements kanzi::GraphicsOutput.

void kanzi::NullGraphicsOutput::setSwapInterval ( int  interval)

Does nothing.

virtual void kanzi::NullGraphicsOutput::handleEvents ( const struct KzsEventQueue *  eventQueue)
virtual

Does nothing.

Implements kanzi::GraphicsOutput.


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