diff options
Diffstat (limited to 'sigalatvision/doc/html/classTMemo.html')
-rw-r--r-- | sigalatvision/doc/html/classTMemo.html | 429 |
1 files changed, 429 insertions, 0 deletions
diff --git a/sigalatvision/doc/html/classTMemo.html b/sigalatvision/doc/html/classTMemo.html new file mode 100644 index 0000000..6c7f3d2 --- /dev/null +++ b/sigalatvision/doc/html/classTMemo.html @@ -0,0 +1,429 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>TMemo class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body bgcolor="#ffffff"> +<!-- Generated by Doxygen 1.2.8.1 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> +<hr><h1>TMemo Class Reference</h1>Derived from <a class="el" href="classTEditor.html">TEditor</a> and designed for insertion into a dialog or form. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="editors_8h-source.html">editors.h</a>></code> +<p> +<p>Inheritance diagram for TMemo:: +<p><center><img src="classTMemo.gif" usemap="#TMemo_map" border="0"></center> +<map name="TMemo_map"> +<area href="classTEditor.html" alt="TEditor" shape="rect" coords="46,112,128,136"> +<area href="classTView.html" alt="TView" shape="rect" coords="46,56,128,80"> +<area href="classTObject.html" alt="TObject" shape="rect" coords="0,0,82,24"> +<area href="classTStreamable.html" alt="TStreamable" shape="rect" coords="92,0,174,24"> +</map> +<a href="classTMemo-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classTMemo.html#a0">TMemo</a> (const <a class="el" href="classTRect.html">TRect</a> &bounds, <a class="el" href="classTScrollBar.html">TScrollBar</a> *aHScrollBar, <a class="el" href="classTScrollBar.html">TScrollBar</a> *aVScrollBar, <a class="el" href="classTIndicator.html">TIndicator</a> *aIndicator, <a class="el" href="ttypes_8h.html#a2">uint</a> aBufSize)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classTMemo.html#a1">getData</a> (void *rec)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classTMemo.html#a2">setData</a> (void *rec)</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="ttypes_8h.html#a0">ushort</a> </td><td valign=bottom><a class="el" href="classTMemo.html#a3">dataSize</a> ()</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classTPalette.html">TPalette</a>& </td><td valign=bottom><a class="el" href="classTMemo.html#a4">getPalette</a> () const</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classTMemo.html#a5">handleEvent</a> (<a class="el" href="structTEvent.html">TEvent</a> &)</td></tr> +<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classTStreamable.html">TStreamable</a>* </td><td valign=bottom><a class="el" href="classTMemo.html#d0">build</a> ()</td></tr> +<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>const char* const </td><td valign=bottom><a class="el" href="classTMemo.html#p0">name</a></td></tr> +<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classTMemo.html#b0">TMemo</a> (<a class="el" href="ttypes_8h.html#a14">StreamableInit</a>)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classTMemo.html#b1">write</a> (<a class="el" href="classopstream.html">opstream</a> &)</td></tr> +<tr><td nowrap align=right valign=top>virtual void* </td><td valign=bottom><a class="el" href="classTMemo.html#b2">read</a> (<a class="el" href="classipstream.html">ipstream</a> &)</td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +TMemo, which is derived from <a class="el" href="classTEditor.html">TEditor</a>, is designed for insertion into a dialog or form. +<p> + +<p> +Definition at line <a class="el" href="editors_8h-source.html#l01087">1087</a> of file <a class="el" href="editors_8h-source.html">editors.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="TMemo::TMemo"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +TMemo::TMemo ( + </b></td> + <td valign="bottom"><b> +const <a class="el" href="classTRect.html">TRect</a> & <em>bounds</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="classTScrollBar.html">TScrollBar</a> * <em>aHScrollBar</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="classTScrollBar.html">TScrollBar</a> * <em>aVScrollBar</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="classTIndicator.html">TIndicator</a> * <em>aIndicator</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="ttypes_8h.html#a2">uint</a> <em>aBufSize</em> ) + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. <dl compact><dt> +<b>See also: </b><dd> +<a class="el" href="classTEditor.html#a0">TEditor::TEditor</a> </dl> </td> + </tr> +</table> +<a name="b0" doxytag="TMemo::TMemo"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +TMemo::TMemo ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="ttypes_8h.html#a14">StreamableInit</a> )<code> [protected]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Each streamable class needs a "builder" to allocate the correct memory for its objects together with the initialized virtual table pointers. +<p> +This is achieved by calling this constructor with an argument of type <a class="el" href="ttypes_8h.html#a14">StreamableInit</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="d0" doxytag="TMemo::build"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="classTStreamable.html">TStreamable</a> * TMemo::build ( + </b></td> + <td valign="bottom"><b> +)<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Called to create an object in certain stream-reading situations. +<p> +Reimplemented from <a class="el" href="classTEditor.html#d0">TEditor</a>. </td> + </tr> +</table> +<a name="a3" doxytag="TMemo::dataSize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="ttypes_8h.html#a0">ushort</a> TMemo::dataSize ( + </b></td> + <td valign="bottom"><b> +)<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Used with <a class="el" href="classTMemo.html#a1">getData</a>() and <a class="el" href="classTMemo.html#a2">setData</a>(), which are inherited from <a class="el" href="classTView.html">TView</a> and redefined. By default it returns (sizeof(ushort) + <a class="el" href="classTEditor.html#m4">bufSize</a>). +<p> +Reimplemented from <a class="el" href="classTView.html#a28">TView</a>. </td> + </tr> +</table> +<a name="a1" doxytag="TMemo::getData"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void TMemo::getData ( + </b></td> + <td valign="bottom"><b> +void * <em>rec</em> )<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<a class="el" href="classTMemo.html#a1">getData</a>() must copy <a class="el" href="classTMemo.html#a3">dataSize</a>() bytes from the view to the data record given by the `rec' pointer. The data record mechanism is typically used only in views that implement controls for dialog boxes. <dl compact><dt> +<b>See also: </b><dd> +<a class="el" href="classTView.html#a30">TView::setData</a> +<p> +</dl>The default <a class="el" href="classTView.html#a29">TView::getData</a>() does nothing. +<p> +Reimplemented from <a class="el" href="classTView.html#a29">TView</a>. </td> + </tr> +</table> +<a name="a4" doxytag="TMemo::getPalette"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="classTPalette.html">TPalette</a> & TMemo::getPalette ( + </b></td> + <td valign="bottom"><b> +) const<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the default memo palette. +<p> +Reimplemented from <a class="el" href="classTEditor.html#a11">TEditor</a>. </td> + </tr> +</table> +<a name="a5" doxytag="TMemo::handleEvent"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void TMemo::handleEvent ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="structTEvent.html">TEvent</a> & <em>event</em> )<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Prevents TMemo from handling kbTab key events; otherwise handles events the same as a <a class="el" href="classTEditor.html">TEditor</a>. <dl compact><dt> +<b>See also: </b><dd> +<a class="el" href="classTEditor.html#a12">TEditor::handleEvent</a> </dl> +<p> +Reimplemented from <a class="el" href="classTEditor.html#a12">TEditor</a>. </td> + </tr> +</table> +<a name="b2" doxytag="TMemo::read"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void * TMemo::read ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="classipstream.html">ipstream</a> & <em>is</em> )<code> [protected, virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Reads from the input stream `is'. +<p> +Reimplemented from <a class="el" href="classTEditor.html#b2">TEditor</a>. </td> + </tr> +</table> +<a name="a2" doxytag="TMemo::setData"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void TMemo::setData ( + </b></td> + <td valign="bottom"><b> +void * <em>rec</em> )<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<a class="el" href="classTMemo.html#a2">setData</a>() must copy <a class="el" href="classTMemo.html#a3">dataSize</a>() bytes from the data record given by `rec' to the view. The data record mechanism is typically used only in views that implement controls for dialog boxes. <dl compact><dt> +<b>See also: </b><dd> +<a class="el" href="classTView.html#a29">TView::getData</a> +<p> +</dl>The default <a class="el" href="classTView.html#a30">TView::setData</a>() does nothing. +<p> +Reimplemented from <a class="el" href="classTView.html#a30">TView</a>. </td> + </tr> +</table> +<a name="b1" doxytag="TMemo::write"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +void TMemo::write ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="classopstream.html">opstream</a> & <em>os</em> )<code> [protected, virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Writes to the output stream `os'. +<p> +Reimplemented from <a class="el" href="classTEditor.html#b1">TEditor</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="p0" doxytag="TMemo::name"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td nowrap valign="top"><b> +const char *const TMemo::name<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Undocumented. +<p> +Reimplemented from <a class="el" href="classTEditor.html#p5">TEditor</a>. +<p> +Definition at line <a class="el" href="editors_8h-source.html#l01138">1138</a> of file <a class="el" href="editors_8h-source.html">editors.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="editors_8h-source.html">editors.h</a></ul> +<hr><address><small>Generated at Sat Sep 22 20:19:28 2001 for TVision by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.gif" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.2.8.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, + © 1997-2001</small></address> +</body> +</html> |