#include <dialogs.h>
Inheritance diagram for THistory::
Public Methods | |
THistory (const TRect &bounds, TInputLine *aLink, ushort aHistoryId) | |
virtual void | draw () |
virtual TPalette& | getPalette () const |
virtual void | handleEvent (TEvent &event) |
virtual THistoryWindow* | initHistoryWindow (const TRect &bounds) |
virtual void | recordHistory (const char *s) |
virtual void | shutDown () |
Static Public Methods | |
TStreamable* | build () |
Static Public Attributes | |
const char* | icon |
const char* const | name |
Protected Methods | |
THistory (StreamableInit) | |
virtual void | write (opstream &os) |
virtual void* | read (ipstream &is) |
Protected Attributes | |
TInputLine* | link |
ushort | historyId |
Different input lines can share the same history list by using the same ID number.
Definition at line 2404 of file dialogs.h.
|
Creates a THistory object of the given size by calling TView::TView(bounds), then setting the link and historyId data members with the given argument values `aLink' and `aHistoryId'.
|
|
Each streamable class needs a "builder" to allocate the correct memory for its objects together with the initialized virtual table pointers. This is achieved by calling this constructor with an argument of type StreamableInit. |
|
Called to create an object in certain stream-reading situations. Reimplemented from TView. |
|
Draws the THistory icon in the default palette. Reimplemented from TView. |
|
Returns a reference to the default palette. Reimplemented from TView. |
|
Calls TView::handleEvent(event), then handles relevant mouse and key events to select the linked input line and create a history window.
Reimplemented from TView. |
|
Creates a THistoryWindow object and returns a pointer to it. The new object has the given bounds and the same historyId as the calling THistory object.
|
|
Reads from the input stream `is'. Reimplemented from TView. |
|
Undocumented. |
|
Used internally by TObject::destroy() to ensure correct destruction of derived and related objects. shutDown() is overridden in many classes to ensure the proper setting of related data members when destroy() is called. Reimplemented from TView. |
|
Writes to the output stream `os'. Reimplemented from TView. |
|
Each history list has a unique ID number, assigned by the programmer. Different history objects in different windows may share a history list by using the same history ID. |
|
Undocumented. |
|
A pointer to the linked TInputLine object. |
|
Undocumented. Reimplemented from TView. |