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

TTextDevice Class Reference

Scrollable TTY-type text viewer/device driver. More...

#include <textview.h>

Inheritance diagram for TTextDevice::

TScroller TView TObject TStreamable TTerminal List of all members.

Public Methods

 TTextDevice (const TRect &bounds, TScrollBar *aHScrollBar, TScrollBar *aVScrollBar)
virtual int do_sputn (const char *s, int count)=0

Detailed Description

TTextDevice is a scrollable TTY-type text viewer/device driver.

Apart from the data members and member functions inherited from TScroller, TTextDevice defines virtual member functions for reading and writing strings from and to the device.

TTextDevice exists solely as a base type for deriving real terminal drivers. TTextDevice uses TScroller's destructor.

Definition at line 35 of file textview.h.


Constructor & Destructor Documentation

TTextDevice::TTextDevice ( const TRect & bounds,
TScrollBar * aHScrollBar,
TScrollBar * aVScrollBar )
 

Creates a TTextDevice object with the given bounds, horizontal and vertical scroll bars by calling TScroller constructor with the `bounds' and scroller arguments.

See also:
TScroller::TScroller


Member Function Documentation

int TTextDevice::do_sputn ( const char * s,
int count ) [pure virtual]
 

Overrides the corresponding function in class streambuf.

This is an internal function that is called whenever a character string is to be inserted into the internal buffer.

Reimplemented in TTerminal.


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