Public Member Functions | Static Public Member Functions

mxgui::Display Class Reference
[Mxgui level 1]

#include <display.h>

List of all members.

Public Member Functions

void turnOn ()
void turnOff ()
short int getHeight () const
short int getWidth () const

Static Public Member Functions

static Displayinstance ()

Detailed Description

Display class. Contains member functions to retrieve a display instance, and to turn it on or off. For drawing onto the display, you need to instantiate a DrawingContext.


Member Function Documentation

short int mxgui::Display::getHeight (  )  const
Returns:
the display's height
short int mxgui::Display::getWidth (  )  const
Returns:
the display's width
Display & mxgui::Display::instance (  )  [static]
Returns:
a reference to the instance of the Display. Multiple calls return the same display instance (singleton)
void mxgui::Display::turnOff (  ) 

Turn the display Off. It can be later turned back On.

void mxgui::Display::turnOn (  ) 

Turn the display On after it has been turned Off. Display initial state is On.


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