TBackground Class Reference

[tvision Index] [tvision Hierarchy] [Headers]


The default desktop background More...

#include <app.h>

Inherits: TView

Public Members

Protected Members


Detailed Description

The default desktop background.

TBackground is a very simple view which by default is the background of the desktop. It is a rectangle painted with an uniform pattern.

See Also: TDeskTop


TBackground( const TRect& bounds, char aPattern ) [public]

Constructor.

`bounds' is the bounding rectangle of the background. `aPattern' specifies the pattern to use.

void draw() [public virtual]

Fills the view with the pattern.

TPalette& getPalette() const [public virtual]

Returns a reference to the standard TBackground palette.

TStreamable* build() [public static]

Creates a new TBackground.

Used to recover the view from a stream.

char pattern[protected]

Is the pattern used to fill the view.

TBackground( StreamableInit ) [protected]

Constructor.

Used to recover the view from a stream.

void write( opstream& os ) [protected virtual]

Used to store the view in a stream.

void* read( ipstream& is ) [protected virtual]

Used to recover the view from a stream.


Documentation generated by sergio@athena.milk.it on Wed Feb 10 22:11:47 CET 1999
Kdoc