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

TIndicator Class Reference

The line and column counter in the lower left corner of the edit window. More...

#include <editors.h>

Inheritance diagram for TIndicator::

TView TObject TStreamable List of all members.

Public Methods

 TIndicator (const TRect &)
virtual void draw ()
virtual TPalettegetPalette () const
virtual void setState (ushort, Boolean)
void setValue (const TPoint &aLocation, Boolean aModified)

Static Public Methods

TStreamablebuild ()

Static Public Attributes

char dragFrame
char normalFrame
const char* const name

Protected Methods

 TIndicator (StreamableInit)

Protected Attributes

TPoint location
Boolean modified

Detailed Description

TIndicator is the line and column counter in the lower left corner of the edit window. It is initialized by the TEditWindow constructor and passed as the fourth argument to the TEditor constructor.

Definition at line 203 of file editors.h.


Constructor & Destructor Documentation

TIndicator::TIndicator ( const TRect & )
 

Creates a TIndicator object.

TIndicator::TIndicator ( StreamableInit ) [protected]
 

Undocumented.


Member Function Documentation

TStreamable * TIndicator::build ( ) [static]
 

Called to create an object in certain stream reading situations.

Reimplemented from TView.

void TIndicator::draw ( ) [virtual]
 

Draws the indicator. If variable modified is True, a special character (ASCII value 15, a star on PC graphic adapters) is displayed.

Reimplemented from TView.

TPalette & TIndicator::getPalette ( ) const [virtual]
 

Returns the TIndicator default palette.

Reimplemented from TView.

void TIndicator::setState ( ushort aState,
Boolean enable ) [virtual]
 

Draws the indicator in the frame-dragging color if the view is being dragged.

Reimplemented from TView.

void TIndicator::setValue ( const TPoint & aLocation,
Boolean aModified )
 

Method called by TEditor to update and display the values of the data members of the associated TIndicator object.

See also:
TIndicator::location , TIndicator::modified


Member Data Documentation

char TIndicator::dragFrame [static]
 

Undocumented.

Definition at line 234 of file editors.h.

TPoint TIndicator::location [protected]
 

Stores the location to display. Updated by a TEditor.

Definition at line 243 of file editors.h.

Boolean TIndicator::modified [protected]
 

True if the associated TEditor has been modified.

Definition at line 247 of file editors.h.

const char *const TIndicator::name [static]
 

Undocumented.

Reimplemented from TView.

Definition at line 260 of file editors.h.

char TIndicator::normalFrame [static]
 

Undocumented.

Definition at line 238 of file editors.h.


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