summaryrefslogtreecommitdiff
path: root/freebsdtvision/doc/html/classTHistoryWindow.html
blob: e14df2bed95b1bec45bd95eab7a56c1fa866170b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<!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>THistoryWindow class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.18 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>THistoryWindow Class Reference</h1>Holds a history list viewer. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="dialogs_8h-source.html">dialogs.h</a>&gt;</code>
<p>
<p>Inheritance diagram for THistoryWindow:
<p><center><img src="classTHistoryWindow.png" usemap="#THistoryWindow_map" border="0" alt=""></center>
<map name="THistoryWindow_map">
<area href="classTWindow.html" alt="TWindow" shape="rect" coords="113,168,216,192">
<area href="classTHistInit.html" alt="THistInit" shape="rect" coords="226,168,329,192">
<area href="classTGroup.html" alt="TGroup" shape="rect" coords="56,112,159,136">
<area href="classTWindowInit.html" alt="TWindowInit" shape="rect" coords="169,112,272,136">
<area href="classTView.html" alt="TView" shape="rect" coords="56,56,159,80">
<area href="classTObject.html" alt="TObject" shape="rect" coords="0,0,103,24">
<area href="classTStreamable.html" alt="TStreamable" shape="rect" coords="113,0,216,24">
</map>
<a href="classTHistoryWindow-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classTHistoryWindow.html#a0">THistoryWindow</a> (const <a class="el" href="classTRect.html">TRect</a> &amp;bounds, <a class="el" href="ttypes_8h.html#a0">ushort</a> historyId)</td></tr>
<tr><td nowrap align=right valign=top>virtual <a class="el" href="classTPalette.html">TPalette</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classTHistoryWindow.html#a1">getPalette</a> () const</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTHistoryWindow.html#a2">getSelection</a> (char *dest)</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="classTListViewer.html">TListViewer</a> *&nbsp;</td><td valign=bottom><a class="el" href="classTHistoryWindow.html#d0">initViewer</a> (<a class="el" href="classTRect.html">TRect</a> bounds, <a class="el" href="classTWindow.html">TWindow</a> *w, <a class="el" href="ttypes_8h.html#a0">ushort</a> aHistoryId)</td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classTListViewer.html">TListViewer</a> *&nbsp;</td><td valign=bottom><a class="el" href="classTHistoryWindow.html#n0">viewer</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
THistoryWindow is a specialized descendant of <a class="el" href="classTWindow.html">TWindow</a> and <a class="el" href="classTHistInit.html">THistInit</a> (multiple inheritance) used for holding a history list viewer when the user clicks on the history icon next to an input line.
<p>
By default, the window has no title and no number. The history window's frame has only a close icon: the window can be closed, but not resized or zoomed. 
<p>

<p>
Definition at line <a class="el" href="dialogs_8h-source.html#l02328">2328</a> of file <a class="el" href="dialogs_8h-source.html">dialogs.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="THistoryWindow::THistoryWindow"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> THistoryWindow::THistoryWindow </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classTRect.html">TRect</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>bounds</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="ttypes_8h.html#a0">ushort</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>historyId</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Calls the <a class="el" href="classTHistInit.html">THistInit</a> constructor with the argument &amp;<a class="el" href="classTHistoryWindow.html#d0">THistoryWindow::initViewer</a>. This creates the list viewer. <dl compact><dt><b>See also: </b></dt><dd>
<a class="el" href="classTHistInit.html#a0">THistInit::THistInit</a> , <a class="el" href="classTHistoryWindow.html#d0">THistoryWindow::initViewer</a></dl>Next, the <a class="el" href="classTWindow.html">TWindow</a> constructor is called to set up a window with the given bounds, a null title string, and no window number (<a class="el" href="views_8h.html#a89">wnNoNumber</a>). <dl compact><dt><b>See also: </b></dt><dd>
<a class="el" href="classTWindow.html#a0">TWindow::TWindow</a></dl>Then the <a class="el" href="classTWindowInit.html">TWindowInit</a> constructor is called with the argument &amp;<a class="el" href="classTWindow.html#d0">THistoryWindow::initFrame</a> to create a frame for the history window. <dl compact><dt><b>See also: </b></dt><dd>
<a class="el" href="classTWindow.html#d0">THistoryWindow::initFrame</a> , <a class="el" href="classTWindowInit.html#a0">TWindowInit::TWindowInit</a></dl>Finally, the flags data member is set to <a class="el" href="views_8h.html#a80">wfClose</a> to provide a close icon, and a history viewer object is created and inserted in the history window to show the items in the history list given by `historyId'.     </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a1" doxytag="THistoryWindow::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 class="md" nowrap valign="top"> virtual <a class="el" href="classTPalette.html">TPalette</a>&amp; THistoryWindow::getPalette </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the default palette string. 
<p>
Reimplemented from <a class="el" href="classTWindow.html#a3">TWindow</a>.    </td>
  </tr>
</table>
<a name="a2" doxytag="THistoryWindow::getSelection"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void THistoryWindow::getSelection </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">char *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>dest</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns in `dest' the string value of the <a class="el" href="classTListViewer.html#m4">THistoryViewer::focused</a> item in the associated history viewer.     </td>
  </tr>
</table>
<a name="d0" doxytag="THistoryWindow::initViewer"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classTListViewer.html">TListViewer</a>* THistoryWindow::initViewer </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classTRect.html">TRect</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>bounds</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classTWindow.html">TWindow</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>w</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="ttypes_8h.html#a0">ushort</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>aHistoryId</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Instantiates and inserts a <a class="el" href="classTHistoryViewer.html">THistoryViewer</a> object inside the boundaries of the history window for the list associated with the ID `aHistoryId'.
<p>
Standard scroll bars are placed on the frame of the window to scroll the list.     </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="n0" doxytag="THistoryWindow::viewer"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classTListViewer.html">TListViewer</a>* THistoryWindow::viewer<code> [protected]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Points to the list viewer to be contained in this history window. 
<p>
Definition at line <a class="el" href="dialogs_8h-source.html#l02376">2376</a> of file <a class="el" href="dialogs_8h-source.html">dialogs.h</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="dialogs_8h-source.html">dialogs.h</a></ul>
<hr><address style="align: right;"><small>Generated on Wed Apr 2 22:13:14 2003 for TVision by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.18 </small></address>
</body>
</html>