MityDSP Documentation Index

MityDSP::tcGuiLabel Class Reference

#include <ggui/gui_label.h>

Inheritance diagram for MityDSP::tcGuiLabel:
MityDSP::tcGuiObject

List of all members.

Public Member Functions

 tcGuiLabel (const char *name, tcBench *bench, int idd, uint32 type=OBJTYPE_LABEL)
 ~tcGuiLabel ()
virtual bool ParseXML (TiXmlElement *ahDom)
void create ()
virtual bool does_l_mouse ()
void draw (tcGuiDspDisplay &pd)

Detailed Description

The tcGuiLabel class is derived tcGuiObject class implementing a simple text label.

See also:
tcGuiLabel Page

Constructor & Destructor Documentation

tcGuiLabel::tcGuiLabel ( const char *  name,
tcBench bench,
int  idd,
uint32  type = OBJTYPE_LABEL 
)

Constructor

Parameters:
name Object ID name from the XML file.
bench The Controlling tcBench object for this widget.
name The windows control ID that we assigned to this control.
tcGuiLabel::~tcGuiLabel (  ) 

Destructor


Member Function Documentation

bool tcGuiLabel::ParseXML ( TiXmlElement *  apElement  )  [virtual]

Parse common XML elements from the DOM.

Reimplemented from MityDSP::tcGuiObject.

void tcGuiLabel::create (  )  [virtual]

This function creates the label control.

Note:
This function is called after all of the XML file settings are read.
the bitmap information is assumed to be stored in the same pixel depth as the active screen coordinates. No bitmap conversion is performed during creation.

Reimplemented from MityDSP::tcGuiObject.

virtual bool MityDSP::tcGuiLabel::does_l_mouse (  )  [inline, virtual]

Reimplemented from MityDSP::tcGuiObject.

void tcGuiLabel::draw ( tcGuiDspDisplay pd  )  [virtual]

This function draws the label.

Parameters:
pd reference to painting device context to render into.

Reimplemented from MityDSP::tcGuiObject.


  
Generated on Wed Mar 17 18:24:43 2010 for MityDSP Skinnable Graphics User Interface (GGUI) by  Doxygen Version 1.6.1
Copyright © 2009, Critical Link LLC, All rights reserved.