Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TDeskInit Class Reference

Virtual base class for TDeskTop. More...

#include <app.h>

Inheritance diagram for TDeskInit::

TDeskTop List of all members.

Public Methods

 TDeskInit (TBackground *(*cBackground)(TRect bounds))

Protected Attributes

TBackground* (* createBackground )(TRect bounds)

Detailed Description

TDeskInit is used as a virtual base class for a number of classes, providing a constructor and a create background member function used in creating and inserting a background object.
See also:
TDeskTop

Definition at line 136 of file app.h.


Constructor & Destructor Documentation

TDeskInit::TDeskInit ( TBackground *(* cBackground)(TRect bounds) )
 

This constructor takes a function address argument, usually &TDeskTop::initBackground.

See also:
TDeskTop::initBackground

Note: the TDeskTop constructor invokes TGroup constructor and TDeskInit(&initBackground) to create a desk top object of size `bounds' and associated background. The latter is inserted in the desk top group object.
See also:
TDeskTop::TDeskTop


Member Data Documentation

TBackground *(* TDeskInit::createBackground)(TRect bounds) [protected]
 

Called by the TDeskInit constructor to create a TBackground object with the given bounds and return a pointer to it. A 0 pointer indicates lack of success in this endeavor.


The documentation for this class was generated from the following file:
Generated at Sat Sep 22 20:19:23 2001 for TVision by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001