UI Overview: 4.4 Using the Visible Classes: The Vis Class Tree

Up: GEOS SDK TechDocs | Up | Prev: 4.3 Visible Object Abilities | Next: 4.5 Creating a Visible Object Tree

There are four base visible classes on which the other object libraries are founded. VisClass is the most basic and at the root of the visible class tree. Under it are VisCompClass and VisTextClass . VisContentClass is a subclass of VisCompClass .

VisTextClass is special in that it is rarely subclassed as it already contains nearly all the functionality an application will need from a visible text object.

The other three classes are typically subclassed by applications. None of the three can draw itself; instead, the subclass must handle MSG_VIS_DRAW , the message that indicates the object must draw itself. The three different classes are used as follows:


Up: GEOS SDK TechDocs | Up | Prev: 4.3 Visible Object Abilities | Next: 4.5 Creating a Visible Object Tree