Kanzi Engine API
kanzi::NullGraphicsOutput Class Reference

NullGraphicsOutput class. More...

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

Inheritance diagram for kanzi::NullGraphicsOutput:
[legend]

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from kanzi::GraphicsOutput
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.

kanzi::NullGraphicsOutput::~NullGraphicsOutput ( )
override

Destructor.

Member Function Documentation

void kanzi::NullGraphicsOutput::present ( )
overridevirtual

Does nothing.

Implements kanzi::GraphicsOutput.

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

Does nothing.

void kanzi::NullGraphicsOutput::handleEvents ( EventQueue eventQueue)
overridevirtual

Does nothing.

Implements kanzi::GraphicsOutput.


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