TStaticText Class Reference

[tvision Index] [tvision Hierarchy] [Headers]


Used to show static text in a window More...

#include <dialogs.h>

Inherits: TView

Public Members

Protected Members


Detailed Description

Used to show static text in a window.

This class stores a copy of the string. Check TParamText if you want to show also dynamic text.

See Also: TParamText


TStaticText( const TRect& bounds, const char *aText ) [public]

Constructor.

`bounds' is the bounding rectangle of the static text. `aText' is a pointer to the string to show.

~TStaticText() [public]

Destructor.

void draw() [public virtual]

Draws the static text.

TPalette& getPalette() const [public virtual]

Returns a reference to the static text palette.

void getText( char *s ) [public virtual]

Writes the string at address `s'.

TStreamable* build() [public static]

Creates a new TStaticText.

Used to recover the view from a stream.

const char *text[protected]

Stores the pointer to the string to show.

TStaticText( 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