CTerminal Class Reference

List of all members.

Static Public Member Functions

static BOOL Init ()
 Initializes GUI devices.
static void BlankDisplay ()
 Blanks the display.
static void UnBlankDisplay ()
 Unblanks the display.
static INT16 GetScreenWidth ()
 Gets the width of the display.
static INT16 GetScreenHeight ()
 Gets the height of the display.
static INT16 GetPreferredScreenWidth ()
 Gets the preferred width for new window.
static INT16 GetPreferredScreenHeight ()
 Gets the preferred height for new window.
static INT16 GetPreferredScreenPositionX ()
 Gets the preferred screen x position for new window.
static INT16 GetPreferredScreenPositionY ()
 Gets the preferred screen y position for new window.
static void AddForm (CForm *form)
 Adds the form to this screen manager.
static void RemoveForm (CForm *form)
 Removes the form from this screen manager.
static void ToFront (CForm *form)
 Set the form to foreground.
static BOOL NextAction ()
 Reads input event.
static void ProcessUserActions ()
 Delivers input event to focus component.
static void OnTimer ()
 Calls OnTimer function for every component on the active form.
static void Paint ()
 Paints active form.
static void Repaint (CComponent *form)
 Requests to repaint a form.
static void AddRepaintRegion (CComponent *form, INT16 x, INT16 y, INT16 width, INT16 height)
 Adds region for repainting to repaint manager.

Static Public Attributes

static SColorScheme m_scheme
 The current color scheme.

Member Function Documentation

void CTerminal::AddForm ( CForm form  )  [static]

Adds the form to this screen manager.

Parameters:
form - form to add.
void CTerminal::AddRepaintRegion ( CComponent form,
INT16  x,
INT16  y,
INT16  width,
INT16  height 
) [static]

Adds region for repainting to repaint manager.

Parameters:
form - form which doing this request
x - the screen x coordinate of the rectangle to repaint
x - the screen y coordinate of the rectangle to repaint
width - the width of the rectangle to repaint
height - the height of the rectangle to repaint
INT16 CTerminal::GetPreferredScreenHeight (  )  [static]

Gets the preferred height for new window.

Returns:
height of the window
INT16 CTerminal::GetPreferredScreenPositionX (  )  [static]

Gets the preferred screen x position for new window.

Returns:
x position of the window
INT16 CTerminal::GetPreferredScreenPositionY (  )  [static]

Gets the preferred screen y position for new window.

Returns:
y position of the window
INT16 CTerminal::GetPreferredScreenWidth (  )  [static]

Gets the preferred width for new window.

Returns:
width of the window
INT16 CTerminal::GetScreenHeight (  )  [static]

Gets the height of the display.

Returns:
screen height
INT16 CTerminal::GetScreenWidth (  )  [static]

Gets the width of the display.

Returns:
screen width
BOOL CTerminal::Init (  )  [static]

Initializes GUI devices.

Returns:
true if it was successfully
BOOL CTerminal::NextAction (  )  [static]

Reads input event.

Returns:
true if event was read
void CTerminal::RemoveForm ( CForm form  )  [static]

Removes the form from this screen manager.

Parameters:
form - form to remove
void CTerminal::Repaint ( CComponent form  )  [static]

Requests to repaint a form.

If form is null, need repaint all forms

Parameters:
form 
void CTerminal::ToFront ( CForm form  )  [static]

Set the form to foreground.

Parameters:
form - form to set to foreground

Member Data Documentation

SColorScheme CTerminal::m_scheme [static]
Initial value:
 {
0xffffff, 0x000000, 0x000000, 0x000000, 0xc0c0c0 }

The current color scheme.


The documentation for this class was generated from the following files:
Generated on Tue Jun 29 18:34:06 2010 for guilib by  doxygen 1.6.3