Main Page   Modules   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

CmContainer Class Reference

Abstract Container Class. More...

Inheritance diagram for CmContainer:

CmObject CmMGUI CmForm CmShell CmAbsCForm CmAbsPagedForm CmAbsTableForm CmColForm CmPosForm CmRowForm CmAbsScrolledForm CmClippedColForm CmClippedPosForm CmClippedRowForm CmAbsTabbedForm CmPagedColForm CmPagedColFormExt CmPagedPosForm CmPagedPosFormExt CmPagedRowForm CmPagedRowFormExt CmScrolledTableForm CmTableForm

Public Methods

virtual void addChild (CmObject *child)=0
CmObjectgetSelectedObject (void)
CmObjectgetFirstChild (void)
CmObjectgetNextChild (void)
int getNChildren (void)
void enableSmartDrawing (void)
 Enables the no-flickering object drawing on all children.

void disableSmartDrawing (void)
 Disables the no-flickering object drawing on all children.

void addKeyCallback (CmCallback *, int, MVALUE_CB)

Detailed Description

Abstract Container Class.


Member Function Documentation

virtual void CmContainer::addChild CmObject   child [pure virtual]
 

Implemented in CmShell, and CmForm.

void CmContainer::addKeyCallback CmCallback  ,
int   ,
MVALUE_CB   
 

void CmContainer::disableSmartDrawing void   
 

Disables the no-flickering object drawing on all children.

Disabling the smart drawing feature on a object hierarchy is helpfull in terms of dwrawing performance if the hierarchy is composed by a lot of transparent nested containers. This condition is actually applying in the high level MTREE object.

void CmContainer::enableSmartDrawing void   
 

Enables the no-flickering object drawing on all children.

By default smart drawing is enabled on all FORM objects. In earlier MGui releases object drawing was performed always "parent first then children" causing the annoying flickering effect. Smart drawing, available since release 4, avoids flickering by drawing children first and the only uncovered portion of the parent.

CmObject* CmContainer::getFirstChild void   
 

int CmContainer::getNChildren void   
 

CmObject* CmContainer::getNextChild void   
 

CmObject* CmContainer::getSelectedObject void   
 


Generated on Sun Jun 29 13:03:07 2003 for MGui API by doxygen1.3-rc2