summaryrefslogtreecommitdiff
path: root/sigalatvision/doc/html/classTView.html
diff options
context:
space:
mode:
Diffstat (limited to 'sigalatvision/doc/html/classTView.html')
-rw-r--r--sigalatvision/doc/html/classTView.html3701
1 files changed, 3701 insertions, 0 deletions
diff --git a/sigalatvision/doc/html/classTView.html b/sigalatvision/doc/html/classTView.html
new file mode 100644
index 0000000..4dbf2fe
--- /dev/null
+++ b/sigalatvision/doc/html/classTView.html
@@ -0,0 +1,3701 @@
+<!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>TView 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> &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>TView Class Reference</h1>The base of all visible objects.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="views_8h-source.html">views.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for TView::
+<p><center><img src="classTView.gif" usemap="#TView_map" border="0"></center>
+<map name="TView_map">
+<area href="classTObject.html" alt="TObject" shape="rect" coords="0,0,97,24">
+<area href="classTStreamable.html" alt="TStreamable" shape="rect" coords="107,0,204,24">
+<area href="classTBackground.html" alt="TBackground" shape="rect" coords="160,112,257,136">
+<area href="classTButton.html" alt="TButton" shape="rect" coords="160,168,257,192">
+<area href="classTCluster.html" alt="TCluster" shape="rect" coords="160,224,257,248">
+<area href="classTColorDisplay.html" alt="TColorDisplay" shape="rect" coords="160,280,257,304">
+<area href="classTColorSelector.html" alt="TColorSelector" shape="rect" coords="160,336,257,360">
+<area href="classTEditor.html" alt="TEditor" shape="rect" coords="160,392,257,416">
+<area href="classTFileInfoPane.html" alt="TFileInfoPane" shape="rect" coords="160,448,257,472">
+<area href="classTFrame.html" alt="TFrame" shape="rect" coords="160,504,257,528">
+<area href="classTGroup.html" alt="TGroup" shape="rect" coords="160,560,257,584">
+<area href="classTHistory.html" alt="THistory" shape="rect" coords="160,616,257,640">
+<area href="classTIndicator.html" alt="TIndicator" shape="rect" coords="160,672,257,696">
+<area href="classTInputLine.html" alt="TInputLine" shape="rect" coords="160,728,257,752">
+<area href="classTListViewer.html" alt="TListViewer" shape="rect" coords="160,784,257,808">
+<area href="classTMenuView.html" alt="TMenuView" shape="rect" coords="160,840,257,864">
+<area href="classTScrollBar.html" alt="TScrollBar" shape="rect" coords="160,896,257,920">
+<area href="classTScroller.html" alt="TScroller" shape="rect" coords="160,952,257,976">
+<area href="classTStaticText.html" alt="TStaticText" shape="rect" coords="160,1008,257,1032">
+<area href="classTStatusLine.html" alt="TStatusLine" shape="rect" coords="160,1064,257,1088">
+</map>
+<a href="classTView-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classTView.html#s6">phaseType</a> { <b>phFocused</b>,
+<b>phPreProcess</b>,
+<b>phPostProcess</b>
+ }</td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classTView.html#s7">selectMode</a> { <b>normalSelect</b>,
+<b>enterSelect</b>,
+<b>leaveSelect</b>
+ }</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="classTView.html#a0">TView</a> (const <a class="el" href="classTRect.html">TRect</a> &amp;bounds)</td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a1">~TView</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a2">sizeLimits</a> (<a class="el" href="classTPoint.html">TPoint</a> &amp;min, <a class="el" href="classTPoint.html">TPoint</a> &amp;max)</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classTRect.html">TRect</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a3">getBounds</a> ()</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classTRect.html">TRect</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a4">getExtent</a> ()</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classTRect.html">TRect</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a5">getClipRect</a> ()</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a13">Boolean</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a6">mouseInView</a> (<a class="el" href="classTPoint.html">TPoint</a> mouse)</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a13">Boolean</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a7">containsMouse</a> (<a class="el" href="structTEvent.html">TEvent</a> &amp;event)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a8">locate</a> (<a class="el" href="classTRect.html">TRect</a> &amp;bounds)</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a9">dragView</a> (<a class="el" href="structTEvent.html">TEvent</a> &amp;event, <a class="el" href="ttypes_8h.html#a1">uchar</a> mode, <a class="el" href="classTRect.html">TRect</a> &amp;limits, <a class="el" href="classTPoint.html">TPoint</a> minSize, <a class="el" href="classTPoint.html">TPoint</a> maxSize)</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a10">calcBounds</a> (<a class="el" href="classTRect.html">TRect</a> &amp;bounds, <a class="el" href="classTPoint.html">TPoint</a> delta)</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a11">changeBounds</a> (const <a class="el" href="classTRect.html">TRect</a> &amp;bounds)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a12">growTo</a> (short x, short y)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a13">moveTo</a> (short x, short y)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a14">setBounds</a> (const <a class="el" href="classTRect.html">TRect</a> &amp;bounds)</td></tr>
+<tr><td nowrap align=right valign=top>virtual <a class="el" href="ttypes_8h.html#a0">ushort</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a15">getHelpCtx</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>virtual <a class="el" href="ttypes_8h.html#a13">Boolean</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a16">valid</a> (<a class="el" href="ttypes_8h.html#a0">ushort</a> command)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a17">hide</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a18">show</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a19">draw</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a20">drawView</a> ()</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a13">Boolean</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a21">exposed</a> ()</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a13">Boolean</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a22">focus</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a23">hideCursor</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a24">drawHide</a> (TView *lastView)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a25">drawShow</a> (TView *lastView)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a26">drawUnderRect</a> (<a class="el" href="classTRect.html">TRect</a> &amp;r, TView *lastView)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a27">drawUnderView</a> (<a class="el" href="ttypes_8h.html#a13">Boolean</a> doShadow, TView *lastView)</td></tr>
+<tr><td nowrap align=right valign=top>virtual <a class="el" href="ttypes_8h.html#a0">ushort</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a28">dataSize</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a29">getData</a> (void *rec)</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a30">setData</a> (void *rec)</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a31">awaken</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a32">blockCursor</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a33">normalCursor</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a34">resetCursor</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a35">setCursor</a> (int x, int y)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a36">showCursor</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a37">drawCursor</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a38">clearEvent</a> (<a class="el" href="structTEvent.html">TEvent</a> &amp;event)</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a13">Boolean</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a39">eventAvail</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a40">getEvent</a> (<a class="el" href="structTEvent.html">TEvent</a> &amp;event)</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a41">handleEvent</a> (<a class="el" href="structTEvent.html">TEvent</a> &amp;event)</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a42">putEvent</a> (<a class="el" href="structTEvent.html">TEvent</a> &amp;event)</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a43">endModal</a> (<a class="el" href="ttypes_8h.html#a0">ushort</a> command)</td></tr>
+<tr><td nowrap align=right valign=top>virtual <a class="el" href="ttypes_8h.html#a0">ushort</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a44">execute</a> ()</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a0">ushort</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a45">getColor</a> (<a class="el" href="ttypes_8h.html#a0">ushort</a> color)</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="classTView.html#a46">getPalette</a> () const</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a1">uchar</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a47">mapColor</a> (<a class="el" href="ttypes_8h.html#a1">uchar</a>)</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a13">Boolean</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a48">getState</a> (<a class="el" href="ttypes_8h.html#a0">ushort</a> aState)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a49">select</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a50">setState</a> (<a class="el" href="ttypes_8h.html#a0">ushort</a> aState, <a class="el" href="ttypes_8h.html#a13">Boolean</a> enable)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a51">keyEvent</a> (<a class="el" href="structTEvent.html">TEvent</a> &amp;event)</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a13">Boolean</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a52">mouseEvent</a> (<a class="el" href="structTEvent.html">TEvent</a> &amp;event, <a class="el" href="ttypes_8h.html#a0">ushort</a> mask)</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classTPoint.html">TPoint</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a53">makeGlobal</a> (<a class="el" href="classTPoint.html">TPoint</a> source)</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classTPoint.html">TPoint</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a54">makeLocal</a> (<a class="el" href="classTPoint.html">TPoint</a> source)</td></tr>
+<tr><td nowrap align=right valign=top>TView*&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a55">nextView</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>TView*&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a56">prevView</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>TView*&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a57">prev</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a58">makeFirst</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a59">putInFrontOf</a> (TView *Target)</td></tr>
+<tr><td nowrap align=right valign=top>TView*&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a60">TopView</a> ()</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a61">writeBuf</a> (short x, short y, short w, short h, const void *b)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a62">writeBuf</a> (short x, short y, short w, short h, const <a class="el" href="classTDrawBuffer.html">TDrawBuffer</a> &amp;b)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a63">writeChar</a> (short x, short y, char c, <a class="el" href="ttypes_8h.html#a1">uchar</a> color, short count)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a64">writeLine</a> (short x, short y, short w, short h, const <a class="el" href="classTDrawBuffer.html">TDrawBuffer</a> &amp;b)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a65">writeLine</a> (short x, short y, short w, short h, const void *b)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a66">writeStr</a> (short x, short y, const char *str, <a class="el" href="ttypes_8h.html#a1">uchar</a> color)</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#a67">shutDown</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="ttypes_8h.html#a13">Boolean</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#d0">commandEnabled</a> (<a class="el" href="ttypes_8h.html#a0">ushort</a> command)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#d1">disableCommands</a> (<a class="el" href="classTCommandSet.html">TCommandSet</a> &amp;commands)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#d2">enableCommands</a> (<a class="el" href="classTCommandSet.html">TCommandSet</a> &amp;commands)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#d3">disableCommand</a> (<a class="el" href="ttypes_8h.html#a0">ushort</a> command)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#d4">enableCommand</a> (<a class="el" href="ttypes_8h.html#a0">ushort</a> command)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#d5">getCommands</a> (<a class="el" href="classTCommandSet.html">TCommandSet</a> &amp;commands)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#d6">setCommands</a> (<a class="el" href="classTCommandSet.html">TCommandSet</a> &amp;commands)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#d7">setCmdState</a> (<a class="el" href="classTCommandSet.html">TCommandSet</a> &amp;commands, <a class="el" href="ttypes_8h.html#a13">Boolean</a> enable)</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classTStreamable.html">TStreamable</a>*&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#d8">build</a> ()</td></tr>
+<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top>TView*&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#m0">next</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classTPoint.html">TPoint</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#m1">size</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a0">ushort</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#m2">options</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a0">ushort</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#m3">eventMask</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a0">ushort</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#m4">state</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classTPoint.html">TPoint</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#m5">origin</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classTPoint.html">TPoint</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#m6">cursor</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a1">uchar</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#m7">growMode</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a1">uchar</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#m8">dragMode</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a0">ushort</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#m9">helpCtx</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classTGroup.html">TGroup</a>*&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#m10">owner</a></td></tr>
+<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a13">Boolean</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#p0">commandSetChanged</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classTCommandSet.html">TCommandSet</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#p1">curCommandSet</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a13">Boolean</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#p2">showMarkers</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a1">uchar</a>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#p3">errorAttr</a></td></tr>
+<tr><td nowrap align=right valign=top>const char* const&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#p4">name</a></td></tr>
+<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#b0">TView</a> (<a class="el" href="ttypes_8h.html#a14">StreamableInit</a>)</td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#b1">write</a> (<a class="el" href="classopstream.html">opstream</a> &amp;os)</td></tr>
+<tr><td nowrap align=right valign=top>virtual void*&nbsp;</td><td valign=bottom><a class="el" href="classTView.html#b2">read</a> (<a class="el" href="classipstream.html">ipstream</a> &amp;is)</td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+The base of all visible objects.
+<p>
+Most programs make use of the TView derivatives: <a class="el" href="classTFrame.html">TFrame</a>, <a class="el" href="classTScrollBar.html">TScrollBar</a>, <a class="el" href="classTScroller.html">TScroller</a>, <a class="el" href="classTListViewer.html">TListViewer</a>, <a class="el" href="classTGroup.html">TGroup</a>, and <a class="el" href="classTWindow.html">TWindow</a> objects.
+<p>
+TView objects are rarely instantiated in TVision programs. The TView class exists to provide basic data and functionality for its derived classes. You'll probably never need to construct an instance of TView itself, but most of the common behavior of visible elements in TVision applications comes from TView.
+<p>
+
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l00807">807</a> of file <a class="el" href="views_8h-source.html">views.h</a>.<hr><h2>Member Enumeration Documentation</h2>
+<a name="s6" doxytag="TView::phaseType"></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>
+enum TView::phaseType
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTGroup.html#a23">TGroup::handleEvent</a> , <a class="el" href="classTGroup.html#m3">TGroup::phase</a> </dl>
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l00814">814</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="s7" doxytag="TView::selectMode"></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>
+enum TView::selectMode
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Used internally by TVision.
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l00818">818</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="TView::TView"></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>
+TView::TView (
+ </b></td>
+ <td valign="bottom"><b>
+const <a class="el" href="classTRect.html">TRect</a> &amp; <em>bounds</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Creates a TView object with the given `bounds' rectangle. TView constructor calls the <a class="el" href="classTObject.html">TObject</a> constructor and then sets the data members of the new TView to the following values:
+<p>
+<pre>
+ Data member Value
+
+ cursor (0, 0)
+ dragMode <a class="el" href="views_8h.html#a60">dmLimitLoY</a>
+ eventMask <a class="el" href="system_8h.html#a0">evMouseDown</a> | <a class="el" href="system_8h.html#a4">evKeyDown</a> | <a class="el" href="system_8h.html#a5">evCommand</a>
+ growMode 0
+ helpCtx <a class="el" href="views_8h.html#a64">hcNoContext</a>
+ next 0
+ options 0
+ origin (bounds.A.x, bounds.A.y)
+ owner 0
+ size (bounds.B.x - bounds.A.x, bounds.B.y - bounds.A.y)
+ state <a class="el" href="views_8h.html#a26">sfVisible</a>
+ </pre> </td>
+ </tr>
+</table>
+<a name="a1" doxytag="TView::~TView"></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>
+TView::~TView (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Hides the view and then, if it has an owner, removes it from the group. </td>
+ </tr>
+</table>
+<a name="b0" doxytag="TView::TView"></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>
+TView::TView (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="ttypes_8h.html#a14">StreamableInit</a>&nbsp;)<code> [protected]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+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 <a class="el" href="ttypes_8h.html#a14">StreamableInit</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a60" doxytag="TView::TopView"></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>
+TView * TView::TopView (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns a pointer to the current modal view, or 0 if none such. </td>
+ </tr>
+</table>
+<a name="a31" doxytag="TView::awaken"></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 TView::awaken (
+ </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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The default <a class="el" href="classTView.html#a31">awaken</a>() does nothing. When a group is loaded from a stream, the last thing the <a class="el" href="classTGroup.html#b2">TGroup::read</a>() function does is call the <a class="el" href="classTView.html#a31">awaken</a>() methods of all subviews, giving those views a chance to initialize themselves once all subviews have loaded.
+<p>
+If you create objects that depend on other subviews to initialize themselves after being read from a stream, you can override <a class="el" href="classTView.html#a31">awaken</a>() to perform that initialization.
+<p>
+Reimplemented in <a class="el" href="classTGroup.html#a5">TGroup</a>. </td>
+ </tr>
+</table>
+<a name="a32" doxytag="TView::blockCursor"></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 TView::blockCursor (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets <a class="el" href="views_8h.html#a28">sfCursorIns</a> in <a class="el" href="classTView.html#m4">state</a> data member to change the cursor to a solid block. The cursor will only be visible if <a class="el" href="views_8h.html#a27">sfCursorVis</a> is also set (and the view is visible). </td>
+ </tr>
+</table>
+<a name="d8" doxytag="TView::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> * TView::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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Called to create an object in certain stream-reading situations.
+<p>
+Reimplemented in <a class="el" href="classTBackground.html#d0">TBackground</a>, <a class="el" href="classTDeskTop.html#d1">TDeskTop</a>, <a class="el" href="classTColorSelector.html#d0">TColorSelector</a>, <a class="el" href="classTMonoSelector.html#d0">TMonoSelector</a>, <a class="el" href="classTColorDisplay.html#d0">TColorDisplay</a>, <a class="el" href="classTColorGroupList.html#d0">TColorGroupList</a>, <a class="el" href="classTColorItemList.html#d0">TColorItemList</a>, <a class="el" href="classTColorDialog.html#d0">TColorDialog</a>, <a class="el" href="classTDialog.html#d0">TDialog</a>, <a class="el" href="classTInputLine.html#d0">TInputLine</a>, <a class="el" href="classTButton.html#d0">TButton</a>, <a class="el" href="classTCluster.html#d0">TCluster</a>, <a class="el" href="classTRadioButtons.html#d0">TRadioButtons</a>, <a class="el" href="classTCheckBoxes.html#d0">TCheckBoxes</a>, <a class="el" href="classTMultiCheckBoxes.html#d0">TMultiCheckBoxes</a>, <a class="el" href="classTListBox.html#d0">TListBox</a>, <a class="el" href="classTStaticText.html#d0">TStaticText</a>, <a class="el" href="classTParamText.html#d0">TParamText</a>, <a class="el" href="classTLabel.html#d0">TLabel</a>, <a class="el" href="classTHistory.html#d0">THistory</a>, <a class="el" href="classTIndicator.html#d0">TIndicator</a>, <a class="el" href="classTEditor.html#d0">TEditor</a>, <a class="el" href="classTMemo.html#d0">TMemo</a>, <a class="el" href="classTFileEditor.html#d0">TFileEditor</a>, <a class="el" href="classTEditWindow.html#d0">TEditWindow</a>, <a class="el" href="classTMenuView.html#d0">TMenuView</a>, <a class="el" href="classTMenuBar.html#d0">TMenuBar</a>, <a class="el" href="classTMenuBox.html#d0">TMenuBox</a>, <a class="el" href="classTStatusLine.html#d0">TStatusLine</a>, <a class="el" href="classTOutlineViewer.html#d0">TOutlineViewer</a>, <a class="el" href="classTOutline.html#d0">TOutline</a>, <a class="el" href="classTFileInputLine.html#d0">TFileInputLine</a>, <a class="el" href="classTSortedListBox.html#d0">TSortedListBox</a>, <a class="el" href="classTFileList.html#d0">TFileList</a>, <a class="el" href="classTFileInfoPane.html#d0">TFileInfoPane</a>, <a class="el" href="classTFileDialog.html#d0">TFileDialog</a>, <a class="el" href="classTDirListBox.html#d0">TDirListBox</a>, <a class="el" href="classTChDirDialog.html#d0">TChDirDialog</a>, <a class="el" href="classTFrame.html#d0">TFrame</a>, <a class="el" href="classTScrollBar.html#d0">TScrollBar</a>, <a class="el" href="classTScroller.html#d0">TScroller</a>, <a class="el" href="classTListViewer.html#d0">TListViewer</a>, <a class="el" href="classTGroup.html#d0">TGroup</a>, and <a class="el" href="classTWindow.html#d1">TWindow</a>. </td>
+ </tr>
+</table>
+<a name="a10" doxytag="TView::calcBounds"></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 TView::calcBounds (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classTRect.html">TRect</a> &amp; <em>bounds</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="classTPoint.html">TPoint</a> <em>delta</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+When a view's owner changes size, the owner repeatedly calls <a class="el" href="classTView.html#a10">calcBounds</a>() and <a class="el" href="classTView.html#a11">changeBounds</a>() for all its subviews.
+<p>
+<a class="el" href="classTView.html#a10">calcBounds</a>() must calculate the new bounds of the view given that its owner's size has changed by `delta', and return the new bounds in `bounds'.
+<p>
+<a class="el" href="classTView.html#a10">calcBounds</a>() calculates the new bounds using the flags specified in <a class="el" href="classTView.html#m7">growMode</a> data member. </td>
+ </tr>
+</table>
+<a name="a11" doxytag="TView::changeBounds"></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 TView::changeBounds (
+ </b></td>
+ <td valign="bottom"><b>
+const <a class="el" href="classTRect.html">TRect</a> &amp; <em>bounds</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="classTView.html#a11">changeBounds</a>() must change the view's bounds (<a class="el" href="classTView.html#m5">origin</a> and <a class="el" href="classTView.html#m1">size</a> data members) to the rectangle given by the `bounds' parameter. Having changed the bounds, <a class="el" href="classTView.html#a11">changeBounds</a>() must then redraw the view.
+<p>
+<a class="el" href="classTView.html#a11">changeBounds</a>() is called by various TView member functions, but should never be called directly.
+<p>
+<a class="el" href="classTView.html#a11">changeBounds</a>() first calls setBounds(bounds) and then calls <a class="el" href="classTView.html#a20">drawView</a>().
+<p>
+Reimplemented in <a class="el" href="classTEditor.html#a5">TEditor</a>, <a class="el" href="classTHelpViewer.html#a2">THelpViewer</a>, <a class="el" href="classTScroller.html#a1">TScroller</a>, <a class="el" href="classTListViewer.html#a1">TListViewer</a>, and <a class="el" href="classTGroup.html#a25">TGroup</a>. </td>
+ </tr>
+</table>
+<a name="a38" doxytag="TView::clearEvent"></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 TView::clearEvent (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="structTEvent.html">TEvent</a> &amp; <em>event</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Standard member function used in <a class="el" href="classTView.html#a41">handleEvent</a>() to signal that the view has successfully handled the event.
+<p>
+Sets `event.what' to <a class="el" href="system_8h.html#a7">evNothing</a> and `event.message.infoPtr' to this. </td>
+ </tr>
+</table>
+<a name="d0" doxytag="TView::commandEnabled"></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#a13">Boolean</a> TView::commandEnabled (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="ttypes_8h.html#a0">ushort</a> <em>command</em>&nbsp;)<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns True if the given command is currently enabled; otherwise it returns False.
+<p>
+Note that when you change a modal state, you can then disable and enable commands as you wish; when you return to the previous modal state, however, the original command set will be restored. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="TView::containsMouse"></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#a13">Boolean</a> TView::containsMouse (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="structTEvent.html">TEvent</a> &amp; <em>event</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns True if a mouse event occurs inside the calling view, otherwise returns False. Returns True if the view is visible and the mouse coordinates (defined in `event.mouse.where') are within this view.
+<p>
+The coordinate is defined in the global coordinate system. <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTView.html#a53">TView::makeGlobal</a> , <a class="el" href="classTView.html#a54">TView::makeLocal</a> </dl> </td>
+ </tr>
+</table>
+<a name="a28" doxytag="TView::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> TView::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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="classTView.html#a28">dataSize</a>() must be used to return the size of the data read from and written to data records by <a class="el" href="classTView.html#a30">setData</a>() and <a class="el" href="classTView.html#a29">getData</a>(). The data record mechanism is typically used only in views that implement controls for dialog boxes.
+<p>
+<a class="el" href="classTView.html#a28">TView::dataSize</a>() returns zero to indicate that no data was transferred.
+<p>
+Reimplemented in <a class="el" href="classTColorDialog.html#a2">TColorDialog</a>, <a class="el" href="classTInputLine.html#a2">TInputLine</a>, <a class="el" href="classTCluster.html#a2">TCluster</a>, <a class="el" href="classTMultiCheckBoxes.html#a2">TMultiCheckBoxes</a>, <a class="el" href="classTListBox.html#a2">TListBox</a>, <a class="el" href="classTMemo.html#a3">TMemo</a>, <a class="el" href="classTFileList.html#a8">TFileList</a>, <a class="el" href="classTChDirDialog.html#a1">TChDirDialog</a>, and <a class="el" href="classTGroup.html#a26">TGroup</a>. </td>
+ </tr>
+</table>
+<a name="d3" doxytag="TView::disableCommand"></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 TView::disableCommand (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="ttypes_8h.html#a0">ushort</a> <em>command</em>&nbsp;)<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Disables the given command. If the command set is changed by the call, <a class="el" href="classTView.html#p0">commandSetChanged</a> is set True. </td>
+ </tr>
+</table>
+<a name="d1" doxytag="TView::disableCommands"></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 TView::disableCommands (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classTCommandSet.html">TCommandSet</a> &amp; <em>commands</em>&nbsp;)<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Disables the commands specified in the `commands' argument. If the command set is changed by this call, <a class="el" href="classTView.html#p0">commandSetChanged</a> is set True. </td>
+ </tr>
+</table>
+<a name="a9" doxytag="TView::dragView"></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 TView::dragView (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="structTEvent.html">TEvent</a> &amp; <em>event</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="ttypes_8h.html#a1">uchar</a> <em>mode</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="classTRect.html">TRect</a> &amp; <em>limits</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="classTPoint.html">TPoint</a> <em>minSize</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="classTPoint.html">TPoint</a> <em>maxSize</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Drags the view in the ways specified by the `mode' argument, that is interpreted like the <a class="el" href="classTView.html#m7">growMode</a> data member.
+<p>
+`limits' specifies the rectangle (in the owner's coordinate system) within which the view can be moved, and `min' and `max' specify the minimum and maximum sizes the view can shrink or grow to.
+<p>
+The event leading to the dragging operation is needed in `event' to distinguish mouse dragging from use of the cursor keys. </td>
+ </tr>
+</table>
+<a name="a19" doxytag="TView::draw"></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 TView::draw (
+ </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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Draws the view on the screen.
+<p>
+Called whenever the view must draw (display) itself. <a class="el" href="classTView.html#a19">draw</a>() must cover the entire area of the view.
+<p>
+This member function must be overridden appropriately for each derived class. <a class="el" href="classTView.html#a19">draw</a>() is seldom called directly, since it is more efficient to use <a class="el" href="classTView.html#a20">drawView</a>(), which draws only views that are exposed; that is, some or all of the view is visible on the screen.
+<p>
+If required, draw can call <a class="el" href="classTView.html#a5">getClipRect</a>() to obtain the rectangle that needs redrawing, and then only draw that area. For complicated views, this can improve performance noticeably.
+<p>
+To perform its task, <a class="el" href="classTView.html#a19">draw</a>() usually uses a <a class="el" href="classTDrawBuffer.html">TDrawBuffer</a> object.
+<p>
+Reimplemented in <a class="el" href="classTBackground.html#a1">TBackground</a>, <a class="el" href="classTColorSelector.html#a1">TColorSelector</a>, <a class="el" href="classTMonoSelector.html#a1">TMonoSelector</a>, <a class="el" href="classTColorDisplay.html#a2">TColorDisplay</a>, <a class="el" href="classTInputLine.html#a3">TInputLine</a>, <a class="el" href="classTButton.html#a2">TButton</a>, <a class="el" href="classTRadioButtons.html#a1">TRadioButtons</a>, <a class="el" href="classTCheckBoxes.html#a1">TCheckBoxes</a>, <a class="el" href="classTMultiCheckBoxes.html#a3">TMultiCheckBoxes</a>, <a class="el" href="classTStaticText.html#a2">TStaticText</a>, <a class="el" href="classTLabel.html#a1">TLabel</a>, <a class="el" href="classTHistory.html#a1">THistory</a>, <a class="el" href="classTIndicator.html#a1">TIndicator</a>, <a class="el" href="classTEditor.html#a10">TEditor</a>, <a class="el" href="classTHelpViewer.html#a3">THelpViewer</a>, <a class="el" href="classTMenuBar.html#a3">TMenuBar</a>, <a class="el" href="classTMenuBox.html#a1">TMenuBox</a>, <a class="el" href="classTStatusLine.html#a2">TStatusLine</a>, <a class="el" href="classTOutlineViewer.html#a3">TOutlineViewer</a>, <a class="el" href="classTFileInfoPane.html#a1">TFileInfoPane</a>, <a class="el" href="classTTerminal.html#a6">TTerminal</a>, <a class="el" href="classTFrame.html#a1">TFrame</a>, <a class="el" href="classTScrollBar.html#a1">TScrollBar</a>, <a class="el" href="classTListViewer.html#a2">TListViewer</a>, and <a class="el" href="classTGroup.html#a29">TGroup</a>. </td>
+ </tr>
+</table>
+<a name="a37" doxytag="TView::drawCursor"></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 TView::drawCursor (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+If the view is <a class="el" href="views_8h.html#a32">sfFocused</a>, the cursor is reset with a call to <a class="el" href="classTView.html#a34">resetCursor</a>(). <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTView.html#m4">TView::state</a> </dl> </td>
+ </tr>
+</table>
+<a name="a24" doxytag="TView::drawHide"></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 TView::drawHide (
+ </b></td>
+ <td valign="bottom"><b>
+TView * <em>lastView</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Calls <a class="el" href="classTView.html#a37">drawCursor</a>() followed by <a class="el" href="classTView.html#a27">drawUnderView</a>(). The latter redraws all subviews (with shadows if required) until the given `lastView' is reached. </td>
+ </tr>
+</table>
+<a name="a25" doxytag="TView::drawShow"></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 TView::drawShow (
+ </b></td>
+ <td valign="bottom"><b>
+TView * <em>lastView</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Calls <a class="el" href="classTView.html#a20">drawView</a>(), then if <a class="el" href="classTView.html#m4">state</a> data member has the <a class="el" href="views_8h.html#a29">sfShadow</a> bit set, <a class="el" href="classTView.html#a27">drawUnderView</a>() is called to draw the shadow. </td>
+ </tr>
+</table>
+<a name="a26" doxytag="TView::drawUnderRect"></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 TView::drawUnderRect (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classTRect.html">TRect</a> &amp; <em>r</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+TView * <em>lastView</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Calls owner-&gt;clip.intersect(r) to set the area that needs drawing. Then, all the subviews from the next view to the given `lastView' are drawn using drawSubViews(). Finally, owner-&gt;clip is reset to owner-&gt;<a class="el" href="classTView.html#a4">getExtent</a>(). <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTGroup.html#m2">TGroup::clip</a> , <a class="el" href="classTRect.html#a5">TRect::intersect</a> , <a class="el" href="classTView.html#a4">TView::getExtent</a> </dl> </td>
+ </tr>
+</table>
+<a name="a27" doxytag="TView::drawUnderView"></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 TView::drawUnderView (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="ttypes_8h.html#a13">Boolean</a> <em>doShadow</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+TView * <em>lastView</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Calls drawUnderRect(r, lastView), where `r' is the calling view's current bounds. If `doShadow' is True, the view's bounds are first increased by shadowSize (see `TView.cc' for more). <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTView.html#a26">drawUnderRect</a> </dl> </td>
+ </tr>
+</table>
+<a name="a20" doxytag="TView::drawView"></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 TView::drawView (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Draws the view on the screen.
+<p>
+Calls <a class="el" href="classTView.html#a19">draw</a>() if <a class="el" href="classTView.html#a21">exposed</a>() returns True, indicating that the view is exposed (see <a class="el" href="views_8h.html#a37">sfExposed</a>). If <a class="el" href="classTView.html#a21">exposed</a>() returns False, <a class="el" href="classTView.html#a20">drawView</a>() does nothing.
+<p>
+You should call <a class="el" href="classTView.html#a20">drawView</a>() (not <a class="el" href="classTView.html#a19">draw</a>()) whenever you need to redraw a view after making a change that affects its visual appearance. </td>
+ </tr>
+</table>
+<a name="d4" doxytag="TView::enableCommand"></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 TView::enableCommand (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="ttypes_8h.html#a0">ushort</a> <em>command</em>&nbsp;)<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Enables the given command. If the command set is changed by this call, <a class="el" href="classTView.html#p0">commandSetChanged</a> is set True. </td>
+ </tr>
+</table>
+<a name="d2" doxytag="TView::enableCommands"></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 TView::enableCommands (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classTCommandSet.html">TCommandSet</a> &amp; <em>commands</em>&nbsp;)<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Enables all the commands in the `commands' argument. If the command set is changed by this call, <a class="el" href="classTView.html#p0">commandSetChanged</a> is set True. </td>
+ </tr>
+</table>
+<a name="a43" doxytag="TView::endModal"></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 TView::endModal (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="ttypes_8h.html#a0">ushort</a> <em>command</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Calls <a class="el" href="classTView.html#a60">TopView</a>() to seek the top most modal view. If there is none such (that is, if <a class="el" href="classTView.html#a60">TopView</a>() returns 0) no further action is taken. If there is a modal view, that view calls <a class="el" href="classTView.html#a43">endModal</a>(), and so on.
+<p>
+The net result is that <a class="el" href="classTView.html#a43">endModal</a>() terminates the current modal state. The `command' argument is passed to the <a class="el" href="classTGroup.html#a3">TGroup::execView</a>() that created the modal state in the first place.
+<p>
+Reimplemented in <a class="el" href="classTGroup.html#a34">TGroup</a>. </td>
+ </tr>
+</table>
+<a name="a39" doxytag="TView::eventAvail"></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#a13">Boolean</a> TView::eventAvail (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Calls <a class="el" href="classTView.html#a40">getEvent</a>() and returns True if an event is available. Calls <a class="el" href="classTView.html#a42">putEvent</a>() to set the event as pending. <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTProgram.html#q0">TProgram::pending</a> </dl> </td>
+ </tr>
+</table>
+<a name="a44" doxytag="TView::execute"></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> TView::execute (
+ </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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Is called from <a class="el" href="classTGroup.html#a3">TGroup::execView</a>() whenever a view becomes modal. If a view is to allow modal execution, it must override <a class="el" href="classTView.html#a44">execute</a>() to provide an event loop. The value returned by <a class="el" href="classTView.html#a44">execute</a>() will be the value returned by <a class="el" href="classTGroup.html#a3">TGroup::execView</a>().
+<p>
+The default <a class="el" href="classTView.html#a44">TView::execute</a>() simply returns cmCancel.
+<p>
+Reimplemented in <a class="el" href="classTMenuView.html#a3">TMenuView</a>, and <a class="el" href="classTGroup.html#a4">TGroup</a>. </td>
+ </tr>
+</table>
+<a name="a21" doxytag="TView::exposed"></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#a13">Boolean</a> TView::exposed (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Checks if the view is exposed.
+<p>
+Returns True if any part of the view is visible on the screen. The view is exposed if:
+<p>
+<ol>
+<li>it has the <a class="el" href="views_8h.html#a37">sfExposed</a> bit set in <a class="el" href="classTView.html#m4">state</a> data member<li>it has the <a class="el" href="views_8h.html#a26">sfVisible</a> bit set in <a class="el" href="classTView.html#m4">state</a> data member<li>its coordinates make it fully or partially visible on the screen. </ol>
+ </td>
+ </tr>
+</table>
+<a name="a22" doxytag="TView::focus"></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#a13">Boolean</a> TView::focus (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Tries to grab the focus.
+<p>
+The view can grab the focus if:
+<p>
+<ol>
+<li>the view is not selected (bit <a class="el" href="views_8h.html#a31">sfSelected</a> cleared in <a class="el" href="classTView.html#m4">state</a>)<li>the view is not modal (bit <a class="el" href="views_8h.html#a35">sfModal</a> cleared in <a class="el" href="classTView.html#m4">state</a>)<li>the owner exists and it is focused</ol>
+If all the above conditions are True, the <a class="el" href="classTView.html#a22">focus</a>() method calls <a class="el" href="classTView.html#a49">select</a>() to get the focus. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="TView::getBounds"></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="classTRect.html">TRect</a> TView::getBounds (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the current value of size, the bounding rectangle of the view in its owner's coordinate system.
+<p>
+<ol>
+<li>`a' is set to <a class="el" href="classTView.html#m5">origin</a><li>`b' is set to <a class="el" href="classTView.html#m5">origin</a> + <a class="el" href="classTView.html#m1">size</a> </ol>
+ </td>
+ </tr>
+</table>
+<a name="a5" doxytag="TView::getClipRect"></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="classTRect.html">TRect</a> TView::getClipRect (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the clipping rectangle: the smallest rectangle which needs to be redrawn in a <a class="el" href="classTView.html#a19">draw</a>() call.
+<p>
+For complicated views, <a class="el" href="classTView.html#a19">draw</a>() can use <a class="el" href="classTView.html#a5">getClipRect</a>() to improve performance noticeably. </td>
+ </tr>
+</table>
+<a name="a45" doxytag="TView::getColor"></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> TView::getColor (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="ttypes_8h.html#a0">ushort</a> <em>color</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Maps the palette indices in the low and high bytes of `color' into physical character attributes by tracing through the palette of the view and the palettes of all its owners. </td>
+ </tr>
+</table>
+<a name="d5" doxytag="TView::getCommands"></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 TView::getCommands (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classTCommandSet.html">TCommandSet</a> &amp; <em>commands</em>&nbsp;)<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns, in the `commands' argument, the current command set. </td>
+ </tr>
+</table>
+<a name="a29" doxytag="TView::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 TView::getData (
+ </b></td>
+ <td valign="bottom"><b>
+void * <em>rec</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="classTView.html#a29">getData</a>() must copy <a class="el" href="classTView.html#a28">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 in <a class="el" href="classTColorDialog.html#a3">TColorDialog</a>, <a class="el" href="classTInputLine.html#a4">TInputLine</a>, <a class="el" href="classTCluster.html#a5">TCluster</a>, <a class="el" href="classTMultiCheckBoxes.html#a4">TMultiCheckBoxes</a>, <a class="el" href="classTListBox.html#a3">TListBox</a>, <a class="el" href="classTMemo.html#a1">TMemo</a>, <a class="el" href="classTFileList.html#a9">TFileList</a>, <a class="el" href="classTFileDialog.html#a2">TFileDialog</a>, <a class="el" href="classTChDirDialog.html#a2">TChDirDialog</a>, and <a class="el" href="classTGroup.html#a27">TGroup</a>. </td>
+ </tr>
+</table>
+<a name="a40" doxytag="TView::getEvent"></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 TView::getEvent (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="structTEvent.html">TEvent</a> &amp; <em>event</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the next available event in the `event' argument. Returns <a class="el" href="system_8h.html#a7">evNothing</a> if no event is available. By default, it calls the view's owner's <a class="el" href="classTView.html#a40">getEvent</a>(). <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTView.html#a40">TGroup::getEvent</a> , Program::getEvent </dl>
+<p>
+Reimplemented in <a class="el" href="classTProgram.html#a4">TProgram</a>, and <a class="el" href="classTApplication.html#a2">TApplication</a>.
+<p>
+Referenced by <a class="el" href="app_8h-source.html#l00968">TApplication::getEvent</a>().
+<p>
+ </td>
+ </tr>
+</table>
+<a name="a4" doxytag="TView::getExtent"></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="classTRect.html">TRect</a> TView::getExtent (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns the extent rectangle of the view.
+<p>
+<ol>
+<li>`a' is set to (0, 0)<li>`b' is set to <a class="el" href="classTView.html#m1">size</a> </ol>
+ </td>
+ </tr>
+</table>
+<a name="a15" doxytag="TView::getHelpCtx"></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> TView::getHelpCtx (
+ </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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="classTView.html#a15">getHelpCtx</a>() returns the view's help context. The default <a class="el" href="classTView.html#a15">getHelpCtx</a>() returns the value in the <a class="el" href="classTView.html#m9">helpCtx</a> data member, or returns <a class="el" href="views_8h.html#a65">hcDragging</a> if the view is being dragged (see <a class="el" href="views_8h.html#a33">sfDragging</a>).
+<p>
+Reimplemented in <a class="el" href="classTCluster.html#a6">TCluster</a>, <a class="el" href="classTMenuView.html#a6">TMenuView</a>, and <a class="el" href="classTGroup.html#a36">TGroup</a>. </td>
+ </tr>
+</table>
+<a name="a46" doxytag="TView::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> &amp; TView::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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="classTView.html#a46">getPalette</a>() must return a string representing the view's palette.
+<p>
+This can be 0 (empty string) if the view has no palette. <a class="el" href="classTView.html#a46">getPalette</a>() is called by <a class="el" href="classTView.html#a63">writeChar</a>() and <a class="el" href="classTView.html#a66">writeStr</a>() when converting palette indices to physical character attributes.
+<p>
+The default return value of 0 causes no color translation to be performed by this view. <a class="el" href="classTView.html#a46">getPalette</a>() is almost always overridden in derived classes.
+<p>
+Reimplemented in <a class="el" href="classTBackground.html#a2">TBackground</a>, <a class="el" href="classTProgram.html#a5">TProgram</a>, <a class="el" href="classTDialog.html#a1">TDialog</a>, <a class="el" href="classTInputLine.html#a5">TInputLine</a>, <a class="el" href="classTButton.html#a4">TButton</a>, <a class="el" href="classTCluster.html#a7">TCluster</a>, <a class="el" href="classTStaticText.html#a3">TStaticText</a>, <a class="el" href="classTLabel.html#a2">TLabel</a>, <a class="el" href="classTHistoryViewer.html#a1">THistoryViewer</a>, <a class="el" href="classTHistoryWindow.html#a1">THistoryWindow</a>, <a class="el" href="classTHistory.html#a2">THistory</a>, <a class="el" href="classTIndicator.html#a2">TIndicator</a>, <a class="el" href="classTEditor.html#a11">TEditor</a>, <a class="el" href="classTMemo.html#a4">TMemo</a>, <a class="el" href="classTHelpViewer.html#a4">THelpViewer</a>, <a class="el" href="classTHelpWindow.html#a1">THelpWindow</a>, <a class="el" href="classTMenuView.html#a7">TMenuView</a>, <a class="el" href="classTStatusLine.html#a3">TStatusLine</a>, <a class="el" href="classTOutlineViewer.html#a9">TOutlineViewer</a>, <a class="el" href="classTFileInfoPane.html#a2">TFileInfoPane</a>, <a class="el" href="classTFrame.html#a2">TFrame</a>, <a class="el" href="classTScrollBar.html#a2">TScrollBar</a>, <a class="el" href="classTScroller.html#a2">TScroller</a>, <a class="el" href="classTListViewer.html#a4">TListViewer</a>, and <a class="el" href="classTWindow.html#a3">TWindow</a>. </td>
+ </tr>
+</table>
+<a name="a48" doxytag="TView::getState"></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#a13">Boolean</a> TView::getState (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="ttypes_8h.html#a0">ushort</a> <em>aState</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns True if the state given in `aState' is set in the data member <a class="el" href="classTView.html#m4">state</a>. </td>
+ </tr>
+</table>
+<a name="a12" doxytag="TView::growTo"></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 TView::growTo (
+ </b></td>
+ <td valign="bottom"><b>
+short <em>x</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>y</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Grows or shrinks the view to the given size using a call to <a class="el" href="classTView.html#a8">locate</a>(). </td>
+ </tr>
+</table>
+<a name="a41" doxytag="TView::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 TView::handleEvent (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="structTEvent.html">TEvent</a> &amp; <em>event</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="classTView.html#a41">handleEvent</a>() is the central member function through which all TVision event handling is implemented. The `what' data member of the `event' parameter contains the event class (evXXXX), and the remaining `event' data members further describe the event.
+<p>
+To indicate that it has handled an event, <a class="el" href="classTView.html#a41">handleEvent</a>() should call <a class="el" href="classTView.html#a38">clearEvent</a>(). <a class="el" href="classTView.html#a41">handleEvent</a>() is almost always overridden in derived classes.
+<p>
+The default <a class="el" href="classTView.html#a41">TView::handleEvent</a>() handles <a class="el" href="system_8h.html#a0">evMouseDown</a> events as follows:
+<p>
+If the view is:
+<p>
+<ol>
+<li>not selected (see <a class="el" href="views_8h.html#a31">sfSelected</a> in <a class="el" href="classTView.html#m4">TView::state</a>)<li>and not disabled (see <a class="el" href="views_8h.html#a34">sfDisabled</a> in <a class="el" href="classTView.html#m4">TView::state</a>)<li>and if the view is selectable (see <a class="el" href="views_8h.html#a38">ofSelectable</a> in <a class="el" href="classTView.html#m2">TView::options</a>)</ol>
+then the view selects itself by calling <a class="el" href="classTView.html#a49">select</a>(). No other events are handled by <a class="el" href="classTView.html#a41">TView::handleEvent</a>().
+<p>
+Reimplemented in <a class="el" href="classTDeskTop.html#a2">TDeskTop</a>, <a class="el" href="classTProgram.html#a6">TProgram</a>, <a class="el" href="classTColorSelector.html#a2">TColorSelector</a>, <a class="el" href="classTMonoSelector.html#a2">TMonoSelector</a>, <a class="el" href="classTColorDisplay.html#a3">TColorDisplay</a>, <a class="el" href="classTColorGroupList.html#a4">TColorGroupList</a>, <a class="el" href="classTColorItemList.html#a3">TColorItemList</a>, <a class="el" href="classTColorDialog.html#a4">TColorDialog</a>, <a class="el" href="classTDialog.html#a2">TDialog</a>, <a class="el" href="classTInputLine.html#a6">TInputLine</a>, <a class="el" href="classTButton.html#a5">TButton</a>, <a class="el" href="classTCluster.html#a8">TCluster</a>, <a class="el" href="classTLabel.html#a3">TLabel</a>, <a class="el" href="classTHistoryViewer.html#a3">THistoryViewer</a>, <a class="el" href="classTHistory.html#a3">THistory</a>, <a class="el" href="classTEditor.html#a12">TEditor</a>, <a class="el" href="classTMemo.html#a5">TMemo</a>, <a class="el" href="classTFileEditor.html#a2">TFileEditor</a>, <a class="el" href="classTEditWindow.html#a3">TEditWindow</a>, <a class="el" href="classTHelpViewer.html#a5">THelpViewer</a>, <a class="el" href="classTMenuView.html#a8">TMenuView</a>, <a class="el" href="classTStatusLine.html#a4">TStatusLine</a>, <a class="el" href="classTOutlineViewer.html#a12">TOutlineViewer</a>, <a class="el" href="classTFileInputLine.html#a1">TFileInputLine</a>, <a class="el" href="classTSortedListBox.html#a1">TSortedListBox</a>, <a class="el" href="classTFileInfoPane.html#a3">TFileInfoPane</a>, <a class="el" href="classTFileDialog.html#a4">TFileDialog</a>, <a class="el" href="classTChDirDialog.html#a3">TChDirDialog</a>, <a class="el" href="classTFrame.html#a3">TFrame</a>, <a class="el" href="classTScrollBar.html#a3">TScrollBar</a>, <a class="el" href="classTScroller.html#a3">TScroller</a>, <a class="el" href="classTListViewer.html#a7">TListViewer</a>, <a class="el" href="classTGroup.html#a23">TGroup</a>, and <a class="el" href="classTWindow.html#a5">TWindow</a>. </td>
+ </tr>
+</table>
+<a name="a17" doxytag="TView::hide"></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 TView::hide (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Hides the view by calling <a class="el" href="classTView.html#a50">setState</a>() to clear the <a class="el" href="views_8h.html#a26">sfVisible</a> flag in the <a class="el" href="classTView.html#m4">state</a> data member. </td>
+ </tr>
+</table>
+<a name="a23" doxytag="TView::hideCursor"></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 TView::hideCursor (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Hides the cursor by calling <a class="el" href="classTView.html#a50">setState</a>() to clear the <a class="el" href="views_8h.html#a27">sfCursorVis</a> flag in the <a class="el" href="classTView.html#m4">state</a> data member. </td>
+ </tr>
+</table>
+<a name="a51" doxytag="TView::keyEvent"></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 TView::keyEvent (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="structTEvent.html">TEvent</a> &amp; <em>event</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns, in the `event' variable, the next <a class="el" href="system_8h.html#a4">evKeyDown</a> event. It waits, ignoring all other events, until a keyboard event becomes available. </td>
+ </tr>
+</table>
+<a name="a8" doxytag="TView::locate"></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 TView::locate (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classTRect.html">TRect</a> &amp; <em>bounds</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Changes the bounds of the view to those of the `bounds' argument. The view is redrawn in its new location.
+<p>
+<a class="el" href="classTView.html#a8">locate</a>() calls <a class="el" href="classTView.html#a2">sizeLimits</a>() to verify that the given bounds are valid, and then calls <a class="el" href="classTView.html#a11">changeBounds</a>() to change the bounds and redraw the view. </td>
+ </tr>
+</table>
+<a name="a58" doxytag="TView::makeFirst"></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 TView::makeFirst (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Moves the view to the top of its owner's subview list. A call to <a class="el" href="classTView.html#a58">makeFirst</a>() corresponds to putInFrontOf(owner-&gt;first()). <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTGroup.html#a21">TGroup::first</a> , <a class="el" href="classTView.html#a59">TView::putInFrontOf</a> </dl> </td>
+ </tr>
+</table>
+<a name="a53" doxytag="TView::makeGlobal"></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="classTPoint.html">TPoint</a> TView::makeGlobal (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classTPoint.html">TPoint</a> <em>source</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Converts the `source' point coordinates from local (view) to global (screen) and returns the result. </td>
+ </tr>
+</table>
+<a name="a54" doxytag="TView::makeLocal"></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="classTPoint.html">TPoint</a> TView::makeLocal (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classTPoint.html">TPoint</a> <em>source</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Converts the `source' point coordinates from global (screen) to local (view) and returns the result.
+<p>
+Useful for converting the event.where data member of an evMouse event from global coordinates to local coordinates.
+<p>
+For example: <pre>
+ mouseLoc = makeLocal(eventWhere);
+ </pre> </td>
+ </tr>
+</table>
+<a name="a47" doxytag="TView::mapColor"></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#a1">uchar</a> TView::mapColor (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="ttypes_8h.html#a1">uchar</a>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Maps the given color to an offset into the current palette. <a class="el" href="classTView.html#a47">mapColor</a>() works by calling <a class="el" href="classTView.html#a46">getPalette</a>() for each owning group in the chain.
+<p>
+It succesively maps the offset in each palette until the ultimate owning palette is reached.
+<p>
+If `color' is invalid (for example, out of range) for any of the palettes encountered in the chain, <a class="el" href="classTView.html#a47">mapColor</a>() returns <a class="el" href="classTView.html#p3">errorAttr</a>. </td>
+ </tr>
+</table>
+<a name="a52" doxytag="TView::mouseEvent"></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#a13">Boolean</a> TView::mouseEvent (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="structTEvent.html">TEvent</a> &amp; <em>event</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="ttypes_8h.html#a0">ushort</a> <em>mask</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets the next mouse event in the `event' argument. Returns True if this event is in the `mask' argument. Also returns False if an <a class="el" href="system_8h.html#a1">evMouseUp</a> event occurs.
+<p>
+This member function lets you track a mouse while its button is down; for example, in drag block-marking operations for text editors.
+<p>
+Here's an extract of a <a class="el" href="classTView.html#a41">handleEvent</a>() routine that tracks the mouse with the view's cursor:
+<p>
+<pre>
+ void TMyView::handleEvent(TEvent&amp; event)
+ {
+ TView::handleEvent(event);
+ switch (event.what)
+ {
+ case <a class="el" href="system_8h.html#a0">evMouseDown</a>:
+ do
+ {
+ makeLocal(event.where, mouse);
+ setCursor(mouse.x, mouse.y);
+ }
+ while (mouseEvent(event, evmouseMove));
+ clearEvent(event);
+ ...
+ }
+ ...
+ }
+ </pre> <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTView.html#a38">TView::clearEvent</a> , <a class="el" href="classTView.html#a54">TView::makeLocal</a> , <a class="el" href="classTView.html#a35">TView::setCursor</a> </dl> </td>
+ </tr>
+</table>
+<a name="a6" doxytag="TView::mouseInView"></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#a13">Boolean</a> TView::mouseInView (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classTPoint.html">TPoint</a> <em>mouse</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns True if the `mouse' argument (given in global coordinates) is within the calling view. Call <a class="el" href="classTView.html#a53">makeGlobal</a> and <a class="el" href="classTView.html#a54">makeLocal</a> to convert one point between different coordinate systems. </td>
+ </tr>
+</table>
+<a name="a13" doxytag="TView::moveTo"></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 TView::moveTo (
+ </b></td>
+ <td valign="bottom"><b>
+short <em>x</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>y</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Moves the origin to the point (x,y) relative to the owner's view. The view's size is unchanged. </td>
+ </tr>
+</table>
+<a name="a55" doxytag="TView::nextView"></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>
+TView * TView::nextView (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns a pointer to the next subview in the owner's subview list. A 0 is returned if the calling view is the last one in its owner's list. </td>
+ </tr>
+</table>
+<a name="a33" doxytag="TView::normalCursor"></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 TView::normalCursor (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Clears the <a class="el" href="views_8h.html#a28">sfCursorIns</a> bit in <a class="el" href="classTView.html#m4">state</a> data member, thereby making the cursor into an underline. If <a class="el" href="views_8h.html#a27">sfCursorVis</a> is set, the new cursor will be displayed. </td>
+ </tr>
+</table>
+<a name="a57" doxytag="TView::prev"></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>
+TView * TView::prev (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns a pointer to the previous subview in the owner's subview list. If the calling view is the first one in its owner's list, <a class="el" href="classTView.html#a57">prev</a>() returns the last view in the list.
+<p>
+Note that <a class="el" href="classTView.html#a57">prev</a>() treats the list as circular, whereas <a class="el" href="classTView.html#a56">prevView</a>() treats the list linearly. </td>
+ </tr>
+</table>
+<a name="a56" doxytag="TView::prevView"></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>
+TView * TView::prevView (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Returns a pointer to the previous subview in the owner's subview list. A 0 is returned if the calling view is the first one in its owner's list.
+<p>
+Note that <a class="el" href="classTView.html#a57">prev</a>() treats the list as circular, whereas <a class="el" href="classTView.html#a56">prevView</a>() treats the list linearly. </td>
+ </tr>
+</table>
+<a name="a42" doxytag="TView::putEvent"></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 TView::putEvent (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="structTEvent.html">TEvent</a> &amp; <em>event</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Puts the event given by `event' into the event queue, causing it to be the next event returned by <a class="el" href="classTView.html#a40">getEvent</a>(). Only one event can be pushed onto the event queue in this fashion.
+<p>
+Often used by views to generate command events; for example,
+<p>
+<pre>
+ event.what = <a class="el" href="system_8h.html#a5">evCommand</a>;
+ event.command = cmSaveAll;
+ event.infoPtr = 0;
+ putEvent(event);
+ </pre>
+<p>
+The default <a class="el" href="classTView.html#a42">TView::putEvent</a>() calls the view's owner's <a class="el" href="classTView.html#a42">putEvent</a>(). <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTView.html#a42">TGroup::putEvent</a> , <a class="el" href="classTProgram.html#q0">TProgram::pending</a> , <a class="el" href="classTProgram.html#a10">TProgram::putEvent</a> </dl>
+<p>
+Reimplemented in <a class="el" href="classTProgram.html#a10">TProgram</a>. </td>
+ </tr>
+</table>
+<a name="a59" doxytag="TView::putInFrontOf"></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 TView::putInFrontOf (
+ </b></td>
+ <td valign="bottom"><b>
+TView * <em>Target</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Moves the calling view in front of the `Target' view in the owner's subview list. The call
+<p>
+<pre>
+ MyView.putInFrontOf(owner-&gt;first);
+ </pre>
+<p>
+is equivalent to MyView.makeFirst(). This member function works by changing pointers in the subview list. <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTView.html#a58">TView::makeFirst</a>
+<p>
+</dl>Depending on the position of the other views and their visibility states, <a class="el" href="classTView.html#a59">putInFrontOf</a>() may obscure (clip) underlying views.
+<p>
+If the view is selectable (see <a class="el" href="views_8h.html#a38">ofSelectable</a>) and is put in front of all other subviews, then the view becomes selected. <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTView.html#m2">TView::options</a> </dl> </td>
+ </tr>
+</table>
+<a name="b2" doxytag="TView::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 * TView::read (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classipstream.html">ipstream</a> &amp; <em>is</em>&nbsp;)<code> [protected, virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Reads from the input stream `is'.
+<p>
+Reimplemented from <a class="el" href="classTStreamable.html#b0">TStreamable</a>.
+<p>
+Reimplemented in <a class="el" href="classTBackground.html#b2">TBackground</a>, <a class="el" href="classTColorSelector.html#b2">TColorSelector</a>, <a class="el" href="classTColorDisplay.html#b2">TColorDisplay</a>, <a class="el" href="classTColorGroupList.html#b2">TColorGroupList</a>, <a class="el" href="classTColorDialog.html#b2">TColorDialog</a>, <a class="el" href="classTInputLine.html#b2">TInputLine</a>, <a class="el" href="classTButton.html#b2">TButton</a>, <a class="el" href="classTCluster.html#b2">TCluster</a>, <a class="el" href="classTMultiCheckBoxes.html#b2">TMultiCheckBoxes</a>, <a class="el" href="classTListBox.html#b2">TListBox</a>, <a class="el" href="classTStaticText.html#b2">TStaticText</a>, <a class="el" href="classTParamText.html#b2">TParamText</a>, <a class="el" href="classTLabel.html#b2">TLabel</a>, <a class="el" href="classTHistory.html#b2">THistory</a>, <a class="el" href="classTEditor.html#b2">TEditor</a>, <a class="el" href="classTMemo.html#b2">TMemo</a>, <a class="el" href="classTFileEditor.html#b2">TFileEditor</a>, <a class="el" href="classTEditWindow.html#b2">TEditWindow</a>, <a class="el" href="classTMenuView.html#b2">TMenuView</a>, <a class="el" href="classTStatusLine.html#b2">TStatusLine</a>, <a class="el" href="classTOutlineViewer.html#b1">TOutlineViewer</a>, <a class="el" href="classTOutline.html#b1">TOutline</a>, <a class="el" href="classTSortedListBox.html#a3">TSortedListBox</a>, <a class="el" href="classTFileDialog.html#b2">TFileDialog</a>, <a class="el" href="classTChDirDialog.html#b2">TChDirDialog</a>, <a class="el" href="classTScrollBar.html#b2">TScrollBar</a>, <a class="el" href="classTScroller.html#b2">TScroller</a>, <a class="el" href="classTListViewer.html#b2">TListViewer</a>, <a class="el" href="classTGroup.html#b2">TGroup</a>, and <a class="el" href="classTWindow.html#b2">TWindow</a>. </td>
+ </tr>
+</table>
+<a name="a34" doxytag="TView::resetCursor"></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 TView::resetCursor (
+ </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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Resets the cursor.
+<p>
+Reimplemented in <a class="el" href="classTGroup.html#a33">TGroup</a>. </td>
+ </tr>
+</table>
+<a name="a49" doxytag="TView::select"></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 TView::select (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Selects the view (see <a class="el" href="views_8h.html#a31">sfSelected</a>). If the view's owner is focused, then the view also becomes focused (see <a class="el" href="views_8h.html#a32">sfFocused</a>). <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTView.html#m4">TView::state</a>
+<p>
+</dl>If the view has the ofTopSelect flag set in its <a class="el" href="classTView.html#m2">options</a> data member, then the view is moved to the top of its owner's subview list (using a call to <a class="el" href="classTView.html#a58">makeFirst</a>()). </td>
+ </tr>
+</table>
+<a name="a14" doxytag="TView::setBounds"></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 TView::setBounds (
+ </b></td>
+ <td valign="bottom"><b>
+const <a class="el" href="classTRect.html">TRect</a> &amp; <em>bounds</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets the bounding rectangle of the view to the value given by the `bounds' parameter. The <a class="el" href="classTView.html#m5">origin</a> data member is set to `bounds.a', and the <a class="el" href="classTView.html#m1">size</a> data member is set to the difference between `bounds.b' and `bounds.a'.
+<p>
+The <a class="el" href="classTView.html#a14">setBounds</a>() member function is intended to be called only from within an overridden <a class="el" href="classTView.html#a11">changeBounds</a>() member function. You should never call <a class="el" href="classTView.html#a14">setBounds</a>() directly.
+<p>
+Reimplemented in <a class="el" href="classTMenuView.html#a2">TMenuView</a>. </td>
+ </tr>
+</table>
+<a name="d7" doxytag="TView::setCmdState"></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 TView::setCmdState (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classTCommandSet.html">TCommandSet</a> &amp; <em>commands</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="ttypes_8h.html#a13">Boolean</a> <em>enable</em>&nbsp;)<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Undocumented. </td>
+ </tr>
+</table>
+<a name="d6" doxytag="TView::setCommands"></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 TView::setCommands (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classTCommandSet.html">TCommandSet</a> &amp; <em>commands</em>&nbsp;)<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Changes the current command set to the given `commands' argument. </td>
+ </tr>
+</table>
+<a name="a35" doxytag="TView::setCursor"></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 TView::setCursor (
+ </b></td>
+ <td valign="bottom"><b>
+int <em>x</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+int <em>y</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Moves the hardware cursor to the point (x, y) using view-relative (local) coordinates. (0, 0) is the top-left corner. </td>
+ </tr>
+</table>
+<a name="a30" doxytag="TView::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 TView::setData (
+ </b></td>
+ <td valign="bottom"><b>
+void * <em>rec</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="classTView.html#a30">setData</a>() must copy <a class="el" href="classTView.html#a28">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 in <a class="el" href="classTColorDialog.html#a5">TColorDialog</a>, <a class="el" href="classTInputLine.html#a8">TInputLine</a>, <a class="el" href="classTCluster.html#a13">TCluster</a>, <a class="el" href="classTRadioButtons.html#a5">TRadioButtons</a>, <a class="el" href="classTMultiCheckBoxes.html#a7">TMultiCheckBoxes</a>, <a class="el" href="classTListBox.html#a6">TListBox</a>, <a class="el" href="classTMemo.html#a2">TMemo</a>, <a class="el" href="classTFileList.html#a10">TFileList</a>, <a class="el" href="classTFileDialog.html#a5">TFileDialog</a>, <a class="el" href="classTChDirDialog.html#a4">TChDirDialog</a>, and <a class="el" href="classTGroup.html#a28">TGroup</a>. </td>
+ </tr>
+</table>
+<a name="a50" doxytag="TView::setState"></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 TView::setState (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="ttypes_8h.html#a0">ushort</a> <em>aState</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="ttypes_8h.html#a13">Boolean</a> <em>enable</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets or clears a state flag in the <a class="el" href="classTView.html#m4">state</a> data member. The `aState' parameter specifies the state flag to modify, and the `enable' parameter specifies whether to turn the flag off (False) or on (True).
+<p>
+<a class="el" href="classTView.html#a50">setState</a>() then carries out any appropriate action to reflect the new state, such as redrawing views that become exposed when the view is hidden (<a class="el" href="views_8h.html#a26">sfVisible</a>), or reprogramming the hardware when the cursor shape is changed (<a class="el" href="views_8h.html#a27">sfCursorVis</a> and <a class="el" href="views_8h.html#a28">sfCursorIns</a>).
+<p>
+<a class="el" href="classTView.html#a50">setState</a>() is sometimes overridden to trigger additional actions that are based on state flags. Another common reason to override <a class="el" href="classTView.html#a50">setState</a>() is to enable or disable commands that are handled by a particular view.
+<p>
+Reimplemented in <a class="el" href="classTInputLine.html#a9">TInputLine</a>, <a class="el" href="classTButton.html#a8">TButton</a>, <a class="el" href="classTCluster.html#a14">TCluster</a>, <a class="el" href="classTIndicator.html#a3">TIndicator</a>, <a class="el" href="classTEditor.html#a22">TEditor</a>, <a class="el" href="classTOutlineViewer.html#a17">TOutlineViewer</a>, <a class="el" href="classTDirListBox.html#a6">TDirListBox</a>, <a class="el" href="classTFrame.html#a4">TFrame</a>, <a class="el" href="classTScroller.html#a7">TScroller</a>, <a class="el" href="classTListViewer.html#a10">TListViewer</a>, <a class="el" href="classTGroup.html#a22">TGroup</a>, and <a class="el" href="classTWindow.html#a6">TWindow</a>. </td>
+ </tr>
+</table>
+<a name="a18" doxytag="TView::show"></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 TView::show (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+If the view is <a class="el" href="views_8h.html#a26">sfVisible</a>, nothing happens. Otherwise, <a class="el" href="classTView.html#a18">show</a>() displays the view by calling <a class="el" href="classTView.html#a50">setState</a>() to set the <a class="el" href="views_8h.html#a26">sfVisible</a> flag in <a class="el" href="classTView.html#m4">state</a> data member. </td>
+ </tr>
+</table>
+<a name="a36" doxytag="TView::showCursor"></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 TView::showCursor (
+ </b></td>
+ <td valign="bottom"><b>
+)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Turns on the hardware cursor by setting the <a class="el" href="views_8h.html#a27">sfCursorVis</a> bit in <a class="el" href="classTView.html#m4">state</a> data member. Note that the cursor is invisible by default. </td>
+ </tr>
+</table>
+<a name="a67" doxytag="TView::shutDown"></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 TView::shutDown (
+ </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>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Used internally by <a class="el" href="classTObject.html#d0">TObject::destroy</a>() to ensure correct destruction of derived and related objects. <a class="el" href="classTView.html#a67">shutDown</a>() is overridden in many classes to ensure the proper setting of related data members when <a class="el" href="classTObject.html#d0">destroy</a>() is called.
+<p>
+Reimplemented from <a class="el" href="classTObject.html#a1">TObject</a>.
+<p>
+Reimplemented in <a class="el" href="classTDeskTop.html#a5">TDeskTop</a>, <a class="el" href="classTProgram.html#a15">TProgram</a>, <a class="el" href="classTLabel.html#a4">TLabel</a>, <a class="el" href="classTHistory.html#a6">THistory</a>, <a class="el" href="classTEditor.html#a2">TEditor</a>, <a class="el" href="classTFileEditor.html#a9">TFileEditor</a>, <a class="el" href="classTFileDialog.html#a7">TFileDialog</a>, <a class="el" href="classTChDirDialog.html#a6">TChDirDialog</a>, <a class="el" href="classTScroller.html#a9">TScroller</a>, <a class="el" href="classTListViewer.html#a12">TListViewer</a>, <a class="el" href="classTGroup.html#a2">TGroup</a>, and <a class="el" href="classTWindow.html#a10">TWindow</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="TView::sizeLimits"></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 TView::sizeLimits (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classTPoint.html">TPoint</a> &amp; <em>min</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="classTPoint.html">TPoint</a> &amp; <em>max</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Sets, in the `min' and `max' arguments, the minimum and maximum values that <a class="el" href="classTView.html#m1">size</a> data member may assume.
+<p>
+The default <a class="el" href="classTView.html#a2">TView::sizeLimits</a> returns (0, 0) in `min' and owner-&gt;size in `max'. If <a class="el" href="classTView.html#m10">owner</a> data member is 0, `max.x' and `max.y' are both set to INT_MAX.
+<p>
+Reimplemented in <a class="el" href="classTEditWindow.html#a4">TEditWindow</a>, and <a class="el" href="classTWindow.html#a7">TWindow</a>. </td>
+ </tr>
+</table>
+<a name="a16" doxytag="TView::valid"></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#a13">Boolean</a> TView::valid (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="ttypes_8h.html#a0">ushort</a> <em>command</em>&nbsp;)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Use this member function to check the validity of a view after it has been constructed or at the point in time when a modal state ends (due to a call to <a class="el" href="classTView.html#a43">endModal</a>()).
+<p>
+A `command' argument of cmValid (zero) indicates that the view should check the result of its constructor: valid(cmValid) should return True if the view was successfully constructed and is now ready to be used, False otherwise.
+<p>
+Any other (nonzero) `command' argument indicates that the current modal state (such as a modal dialog box) is about to end with a resulting value of `command'. In this case, <a class="el" href="classTView.html#a16">valid</a>() should check the validity of the view.
+<p>
+It is the responsibility of <a class="el" href="classTView.html#a16">valid</a>() to alert the user in case the view is invalid. The default <a class="el" href="classTView.html#a16">TView::valid</a>() simply returns True.
+<p>
+Reimplemented in <a class="el" href="classTDialog.html#a3">TDialog</a>, <a class="el" href="classTInputLine.html#a10">TInputLine</a>, <a class="el" href="classTEditor.html#a26">TEditor</a>, <a class="el" href="classTFileEditor.html#a11">TFileEditor</a>, <a class="el" href="classTFileDialog.html#a6">TFileDialog</a>, <a class="el" href="classTChDirDialog.html#a5">TChDirDialog</a>, and <a class="el" href="classTGroup.html#a37">TGroup</a>. </td>
+ </tr>
+</table>
+<a name="b1" doxytag="TView::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 TView::write (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="classopstream.html">opstream</a> &amp; <em>os</em>&nbsp;)<code> [protected, virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Writes to the output stream `os'.
+<p>
+Reimplemented from <a class="el" href="classTStreamable.html#b1">TStreamable</a>.
+<p>
+Reimplemented in <a class="el" href="classTBackground.html#b1">TBackground</a>, <a class="el" href="classTColorSelector.html#b1">TColorSelector</a>, <a class="el" href="classTColorDisplay.html#b1">TColorDisplay</a>, <a class="el" href="classTColorGroupList.html#b1">TColorGroupList</a>, <a class="el" href="classTColorDialog.html#b1">TColorDialog</a>, <a class="el" href="classTInputLine.html#b1">TInputLine</a>, <a class="el" href="classTButton.html#b1">TButton</a>, <a class="el" href="classTCluster.html#b1">TCluster</a>, <a class="el" href="classTMultiCheckBoxes.html#b1">TMultiCheckBoxes</a>, <a class="el" href="classTListBox.html#b1">TListBox</a>, <a class="el" href="classTStaticText.html#b1">TStaticText</a>, <a class="el" href="classTParamText.html#b1">TParamText</a>, <a class="el" href="classTLabel.html#b1">TLabel</a>, <a class="el" href="classTHistory.html#b1">THistory</a>, <a class="el" href="classTEditor.html#b1">TEditor</a>, <a class="el" href="classTMemo.html#b1">TMemo</a>, <a class="el" href="classTFileEditor.html#b1">TFileEditor</a>, <a class="el" href="classTEditWindow.html#b1">TEditWindow</a>, <a class="el" href="classTMenuView.html#b1">TMenuView</a>, <a class="el" href="classTStatusLine.html#b1">TStatusLine</a>, <a class="el" href="classTOutlineViewer.html#b0">TOutlineViewer</a>, <a class="el" href="classTOutline.html#b0">TOutline</a>, <a class="el" href="classTFileDialog.html#b1">TFileDialog</a>, <a class="el" href="classTChDirDialog.html#b1">TChDirDialog</a>, <a class="el" href="classTScrollBar.html#b1">TScrollBar</a>, <a class="el" href="classTScroller.html#b1">TScroller</a>, <a class="el" href="classTListViewer.html#b1">TListViewer</a>, <a class="el" href="classTGroup.html#b1">TGroup</a>, and <a class="el" href="classTWindow.html#b1">TWindow</a>. </td>
+ </tr>
+</table>
+<a name="a62" doxytag="TView::writeBuf"></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 TView::writeBuf (
+ </b></td>
+ <td valign="bottom"><b>
+short <em>x</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>y</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>w</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>h</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+const <a class="el" href="classTDrawBuffer.html">TDrawBuffer</a> &amp; <em>b</em>&nbsp;)<code> [inline]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Writes the given buffer to the screen starting at the coordinates (x, y), and filling the region of width `w' and height `h'. Should only be used in <a class="el" href="classTView.html#a19">draw</a>() member functions. <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTDrawBuffer.html">TDrawBuffer</a> </dl>
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01913">1913</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="a61" doxytag="TView::writeBuf"></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 TView::writeBuf (
+ </b></td>
+ <td valign="bottom"><b>
+short <em>x</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>y</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>w</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>h</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+const void * <em>b</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Writes the given buffer to the screen starting at the coordinates (x, y), and filling the region of width `w' and height `h'. Should only be used in <a class="el" href="classTView.html#a19">draw</a>() member functions. <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTDrawBuffer.html">TDrawBuffer</a> </dl>
+<p>
+Referenced by <a class="el" href="views_8h-source.html#l01913">writeBuf</a>().
+<p>
+ </td>
+ </tr>
+</table>
+<a name="a63" doxytag="TView::writeChar"></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 TView::writeChar (
+ </b></td>
+ <td valign="bottom"><b>
+short <em>x</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>y</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+char <em>c</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="ttypes_8h.html#a1">uchar</a> <em>color</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>count</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Beginning at the point (x, y), writes `count' copies of the character `c' in the color determined by the color'th entry in the current view's palette. Should only be used in <a class="el" href="classTView.html#a19">draw</a>() functions. </td>
+ </tr>
+</table>
+<a name="a65" doxytag="TView::writeLine"></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 TView::writeLine (
+ </b></td>
+ <td valign="bottom"><b>
+short <em>x</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>y</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>w</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>h</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+const void * <em>b</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Writes the line contained in the buffer `b' to the screen, beginning at the point (x, y) within the rectangle defined by the width `w' and the height `h'. If `h' is greater than 1, the line will be repeated `h' times. Should only be used in <a class="el" href="classTView.html#a19">draw</a>() member functions. <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTDrawBuffer.html">TDrawBuffer</a> </dl> </td>
+ </tr>
+</table>
+<a name="a64" doxytag="TView::writeLine"></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 TView::writeLine (
+ </b></td>
+ <td valign="bottom"><b>
+short <em>x</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>y</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>w</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>h</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+const <a class="el" href="classTDrawBuffer.html">TDrawBuffer</a> &amp; <em>b</em>&nbsp;)<code> [inline]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Writes the line contained in the buffer `b' to the screen, beginning at the point (x, y) within the rectangle defined by the width `w' and the height `h'. If `h' is greater than 1, the line will be repeated `h' times. Should only be used in <a class="el" href="classTView.html#a19">draw</a>() member functions. <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTDrawBuffer.html">TDrawBuffer</a> </dl>
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01919">1919</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="a66" doxytag="TView::writeStr"></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 TView::writeStr (
+ </b></td>
+ <td valign="bottom"><b>
+short <em>x</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+short <em>y</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+const char * <em>str</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="ttypes_8h.html#a1">uchar</a> <em>color</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Writes the string `str' with the color attributes of the color'th entry in the view's palette, beginning at the point (x, y). Should only be used in <a class="el" href="classTView.html#a19">draw</a>() member functions. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="p0" doxytag="TView::commandSetChanged"></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#a13">Boolean</a> TView::commandSetChanged<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set to True whenever the view's command set is changed via an enable or disable command call. <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTView.html#d3">TView::disableCommand</a> , <a class="el" href="classTView.html#d1">TView::disableCommands</a> , <a class="el" href="classTView.html#d4">TView::enableCommand</a> , <a class="el" href="classTView.html#d2">TView::enableCommands</a> , <a class="el" href="classTView.html#d6">TView::setCommands</a> </dl>
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01774">1774</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="p1" doxytag="TView::curCommandSet"></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="classTCommandSet.html">TCommandSet</a> TView::curCommandSet<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Holds the set of commands currently enabled for this view. Initially, the following commands are disabled: cmZoom, cmClose, cmResize, cmNext, cmPrev.
+<p>
+This data member is constantly monitored by <a class="el" href="classTView.html#a41">handleEvent</a>() to determine which of the received command events needs to be serviced.
+<p>
+curCommandSet should not be altered directly: use the appropriate set, enable, or disable calls. <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTView.html#d3">TView::disableCommand</a> , <a class="el" href="classTView.html#d1">TView::disableCommands</a> , <a class="el" href="classTView.html#d4">TView::enableCommand</a> , <a class="el" href="classTView.html#d2">TView::enableCommands</a> , <a class="el" href="classTView.html#d6">TView::setCommands</a> </dl>
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01792">1792</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="m6" doxytag="TView::cursor"></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="classTPoint.html">TPoint</a> TView::cursor
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The location of the hardware cursor within the view. The cursor is visible only if the view is focused (<a class="el" href="views_8h.html#a32">sfFocused</a>) and the cursor turned on (<a class="el" href="views_8h.html#a27">sfCursorVis</a>). <dl compact><dt>
+<b>See also: </b><dd>
+<a class="el" href="classTView.html#m4">TView::state</a>
+<p>
+</dl>The shape of the cursor is either an underline or block (determined by <a class="el" href="views_8h.html#a28">sfCursorIns</a>).
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01680">1680</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="m8" doxytag="TView::dragMode"></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#a1">uchar</a> TView::dragMode
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Determines how the view should behave when mouse-dragged. The dragMode bits are defined as follows:
+<p>
+<pre>
+ Constant Value Meaning
+
+ <a class="el" href="views_8h.html#a57">dmDragMove</a> 0x01 Allow the view to move
+ <a class="el" href="views_8h.html#a58">dmDragGrow</a> 0x02 Allow the view to change size
+ <a class="el" href="views_8h.html#a59">dmLimitLoX</a> 0x10 The view's left-hand side cannot move outside limits
+ <a class="el" href="views_8h.html#a60">dmLimitLoY</a> 0x20 The view's top side cannot move outside limits
+ <a class="el" href="views_8h.html#a61">dmLimitHiX</a> 0x40 The view's right-hand side cannot move outside limits
+ <a class="el" href="views_8h.html#a62">dmLimitHiY</a> 0x80 The view's bottom side cannot move outside limits
+ <a class="el" href="views_8h.html#a63">dmLimitAll</a> 0xF0 No part of the view can move outside limits
+ </pre>
+<p>
+By default, the TView constructor sets the dragMode data member to <a class="el" href="views_8h.html#a60">dmLimitLoY</a>. Currently, these constants and dragMode are only used to compose the `mode' argument of <a class="el" href="classTView.html#a9">TView::dragView</a>() calls when a view is moved or resized.
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01740">1740</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="p3" doxytag="TView::errorAttr"></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#a1">uchar</a> TView::errorAttr<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Attribute used to signal an invalid palette selection. For example, <a class="el" href="classTView.html#a47">mapColor</a>() returns errorAttr if it is called with an invalid color argument.
+<p>
+By default, errorAttr is set to 0xCF, which shows as flashing red on white.
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01815">1815</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="m3" doxytag="TView::eventMask"></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> TView::eventMask
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+eventMask is a bit mask that determines which event classes will be recognized by the view.
+<p>
+The default eventMask enables <a class="el" href="system_8h.html#a0">evMouseDown</a>, <a class="el" href="system_8h.html#a4">evKeyDown</a>, and <a class="el" href="system_8h.html#a5">evCommand</a>. Assigning 0xFFFF to eventMask causes the view to react to all event classes; conversely, a value of zero causes the view to not react to any events.
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01589">1589</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="m7" doxytag="TView::growMode"></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#a1">uchar</a> TView::growMode
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Determines how the view will grow when its owner view is resized. To growMode is assigned one or more of the following growMode masks:
+<p>
+<pre>
+ Constant Value Meaning
+
+ <a class="el" href="views_8h.html#a50">gfGrowLoX</a> 0x01 If set, the left-hand side of the view will maintain a
+ constant distance from its owner's right-hand side. If
+ not set, the movement indicated won't occur.
+
+ <a class="el" href="views_8h.html#a51">gfGrowLoY</a> 0x02 If set, the top of the view will maintain a constant
+ distance from the bottom of its owner.
+
+ <a class="el" href="views_8h.html#a52">gfGrowHiX</a> 0x04 If set, the right-hand side of the view will maintain a
+ constant distance from its owner's right side.
+
+ <a class="el" href="views_8h.html#a53">gfGrowHiY</a> 0x08 If set, the bottom of the view will maintain a
+ constant distance from the bottom of its owner's.
+
+ <a class="el" href="views_8h.html#a55">gfGrowRel</a> 0x10 For use with <a class="el" href="classTWindow.html">TWindow</a> objects that are in the
+ desktop. The view will change size relative to the
+ owner's size, maintaining that relative size with
+ respect to the owner even when screen is resized.
+
+ <a class="el" href="views_8h.html#a54">gfGrowAll</a> 0x0F If set, the view will move with the lower-right corner
+ of its owner.
+ </pre>
+<p>
+Note that LoX = left side; LoY = top side; HiX = right side and HiY = bottom side.
+<p>
+Example: <pre>
+ growMode = <a class="el" href="views_8h.html#a50">gfGrowLoX</a> | <a class="el" href="views_8h.html#a51">gfGrowLoY</a>;
+ </pre>
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01718">1718</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="m9" doxytag="TView::helpCtx"></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> TView::helpCtx
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The help context of the view. When the view is focused, this data member will represent the help context of the application, unless the context number is <a class="el" href="views_8h.html#a64">hcNoContext</a>, in which case there is no help context for the view.
+<p>
+The following default help context constants are defined:
+<p>
+<pre>
+ Constant Value Meaning
+
+ <a class="el" href="views_8h.html#a64">hcNoContext</a> 0 No context specified
+ <a class="el" href="views_8h.html#a65">hcDragging</a> 1 Object is being dragged
+ </pre>
+<p>
+The default value of helpCtx is <a class="el" href="views_8h.html#a64">hcNoContext</a>. <a class="el" href="classTView.html#a15">getHelpCtx</a>() returns <a class="el" href="views_8h.html#a65">hcDragging</a> whenever the view is being dragged (as indicated by the <a class="el" href="views_8h.html#a33">sfDragging</a> <a class="el" href="classTView.html#m4">state</a> flag).
+<p>
+TVision reserves help context values 0 through 999 for its own use. Programmers may define their own constants in the range 1,000 to 65,535.
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01764">1764</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="p4" doxytag="TView::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 TView::name<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Undocumented.
+<p>
+Reimplemented in <a class="el" href="classTBackground.html#p0">TBackground</a>, <a class="el" href="classTDeskTop.html#p1">TDeskTop</a>, <a class="el" href="classTColorSelector.html#p1">TColorSelector</a>, <a class="el" href="classTMonoSelector.html#p0">TMonoSelector</a>, <a class="el" href="classTColorDisplay.html#p0">TColorDisplay</a>, <a class="el" href="classTColorGroupList.html#p0">TColorGroupList</a>, <a class="el" href="classTColorItemList.html#p0">TColorItemList</a>, <a class="el" href="classTColorDialog.html#p0">TColorDialog</a>, <a class="el" href="classTDialog.html#p0">TDialog</a>, <a class="el" href="classTInputLine.html#p0">TInputLine</a>, <a class="el" href="classTButton.html#p1">TButton</a>, <a class="el" href="classTCluster.html#p0">TCluster</a>, <a class="el" href="classTRadioButtons.html#p0">TRadioButtons</a>, <a class="el" href="classTCheckBoxes.html#p0">TCheckBoxes</a>, <a class="el" href="classTMultiCheckBoxes.html#p0">TMultiCheckBoxes</a>, <a class="el" href="classTListBox.html#p0">TListBox</a>, <a class="el" href="classTStaticText.html#p0">TStaticText</a>, <a class="el" href="classTParamText.html#p0">TParamText</a>, <a class="el" href="classTLabel.html#p0">TLabel</a>, <a class="el" href="classTHistory.html#p1">THistory</a>, <a class="el" href="classTIndicator.html#p2">TIndicator</a>, <a class="el" href="classTEditor.html#p5">TEditor</a>, <a class="el" href="classTMemo.html#p0">TMemo</a>, <a class="el" href="classTFileEditor.html#p0">TFileEditor</a>, <a class="el" href="classTEditWindow.html#p0">TEditWindow</a>, <a class="el" href="classTMenuView.html#p0">TMenuView</a>, <a class="el" href="classTMenuBar.html#p0">TMenuBar</a>, <a class="el" href="classTMenuBox.html#p1">TMenuBox</a>, <a class="el" href="classTMenuPopup.html#p0">TMenuPopup</a>, <a class="el" href="classTStatusLine.html#p1">TStatusLine</a>, <a class="el" href="classTOutlineViewer.html#p1">TOutlineViewer</a>, <a class="el" href="classTOutline.html#p0">TOutline</a>, <a class="el" href="classTFileInputLine.html#p0">TFileInputLine</a>, <a class="el" href="classTSortedListBox.html#p0">TSortedListBox</a>, <a class="el" href="classTFileList.html#p0">TFileList</a>, <a class="el" href="classTFileInfoPane.html#p0">TFileInfoPane</a>, <a class="el" href="classTFileDialog.html#p0">TFileDialog</a>, <a class="el" href="classTDirListBox.html#p5">TDirListBox</a>, <a class="el" href="classTChDirDialog.html#p0">TChDirDialog</a>, <a class="el" href="classTFrame.html#p3">TFrame</a>, <a class="el" href="classTScrollBar.html#p2">TScrollBar</a>, <a class="el" href="classTScroller.html#p0">TScroller</a>, <a class="el" href="classTListViewer.html#p1">TListViewer</a>, <a class="el" href="classTGroup.html#p0">TGroup</a>, and <a class="el" href="classTWindow.html#p0">TWindow</a>.
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01875">1875</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="m0" doxytag="TView::next"></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>
+TView * TView::next
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Pointer to next peer view in Z-order. If this is the last subview, next points to owner's first subview.
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01426">1426</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="m2" doxytag="TView::options"></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> TView::options
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The options word flags determine various behaviors of the view. The following mnemonics are used to refer to the bit positions of the options data member. Setting a bit position to 1 indicates that the view has that particular attribute; clearing the bit position means that the attribute is off or disabled.
+<p>
+<pre>
+ Constant Value Meaning
+
+ <a class="el" href="views_8h.html#a38">ofSelectable</a> 0x0001 Set if the view should select itself automatically
+ (see <a class="el" href="views_8h.html#a31">sfSelected</a>); for example, by a mouse
+ click in the view, or a Tab in a dialog box.
+
+ <a class="el" href="views_8h.html#a39">ofTopSelect</a> 0x0002 Set if the view should move in front of all other
+ peer views when selected. When the
+ <a class="el" href="views_8h.html#a39">ofTopSelect</a> bit is set, a call to
+ <a class="el" href="classTView.html#a49">select</a>() corresponds to a call to
+ <a class="el" href="classTView.html#a58">makeFirst</a>(). <a class="el" href="classTWindow.html">TWindow</a> and descendants by
+ default have the <a class="el" href="views_8h.html#a39">ofTopSelect</a> bit set, which
+ causes them to move in front of all other windows
+ on the desktop when selected.
+
+ <a class="el" href="views_8h.html#a40">ofFirstClick</a> 0x0004 If clear, a mouse click that selects a view will
+ have no further effect. If set, such a mouse click
+ is processed as a normal mouse click after
+ selecting the view. Has no effect unless
+ <a class="el" href="views_8h.html#a38">ofSelectable</a> is also set. See also
+ <a class="el" href="classTView.html#a41">handleEvent</a>(), <a class="el" href="views_8h.html#a31">sfSelected</a> and
+ <a class="el" href="views_8h.html#a38">ofSelectable</a>.
+
+ <a class="el" href="views_8h.html#a41">ofFramed</a> 0x0008 Set if the view should have a frame drawn around
+ it. A <a class="el" href="classTWindow.html">TWindow</a> and any class derived from
+ <a class="el" href="classTWindow.html">TWindow</a>, has a <a class="el" href="classTFrame.html">TFrame</a> as its last
+ subview. When drawing itself, the <a class="el" href="classTFrame.html">TFrame</a>
+ will also draw a frame around any other subviews
+ that have the <a class="el" href="views_8h.html#a41">ofFramed</a> bit set.
+
+ <a class="el" href="views_8h.html#a42">ofPreProcess</a> 0x0010 Set if the view should receive focused events
+ before they are sent to the focused view.
+ Otherwise clear. See also <a class="el" href="views_8h.html#a32">sfFocused</a>,
+ <a class="el" href="views_8h.html#a43">ofPostProcess</a>, and <a class="el" href="classTGroup.html#m3">TGroup::phase</a>.
+
+ <a class="el" href="views_8h.html#a43">ofPostProcess</a> 0x0020 Set if the view should receive focused events
+ whenever the focused view fails to handle them.
+ Otherwise clear. See also <a class="el" href="views_8h.html#a32">sfFocused</a>,
+ <a class="el" href="views_8h.html#a42">ofPreProcess</a> and <a class="el" href="classTGroup.html#m3">TGroup::phase</a>.
+
+ <a class="el" href="views_8h.html#a44">ofBuffered</a> 0x0040 Used for <a class="el" href="classTGroup.html">TGroup</a> objects and classes derived
+ from <a class="el" href="classTGroup.html">TGroup</a> only. Set if a cache buffer
+ should be allocated if sufficient memory is
+ available. The group buffer holds a screen image
+ of the whole group so that group redraws can be
+ speeded up. In the absence of a buffer,
+ <a class="el" href="classTGroup.html#a29">TGroup::draw</a>() calls on each subview's
+ <a class="el" href="classTView.html#a20">drawView</a>() method. If subsequent memory
+ allocation calls fail, group buffers will be
+ deallocated to make memory available.
+
+ <a class="el" href="views_8h.html#a45">ofTileable</a> 0x0080 Set if the desktop can tile (or cascade) this
+ view. Usually used only with <a class="el" href="classTWindow.html">TWindow</a> objects.
+
+ <a class="el" href="views_8h.html#a46">ofCenterX</a> 0x0100 Set if the view should be centered on the x-axis
+ of its owner when inserted in a group using
+ <a class="el" href="classTGroup.html#a15">TGroup::insert</a>().
+
+ <a class="el" href="views_8h.html#a47">ofCenterY</a> 0x0200 Set if the view should be centered on the y-axis
+ of its owner when inserted in a group using
+ <a class="el" href="classTGroup.html#a15">TGroup::insert</a>().
+
+ <a class="el" href="views_8h.html#a48">ofCentered</a> 0x0300 Set if the view should be centered on both axes of
+ its owner when inserted in a group using
+ <a class="el" href="classTGroup.html#a15">TGroup::insert</a>().
+ </pre>
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01579">1579</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="m5" doxytag="TView::origin"></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="classTPoint.html">TPoint</a> TView::origin
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The (x, y) coordinates, relative to the owner's origin, of the top-left corner of the view.
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01670">1670</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="m10" doxytag="TView::owner"></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="classTGroup.html">TGroup</a> * TView::owner
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Points to the <a class="el" href="classTGroup.html">TGroup</a> object that owns this view. If 0, the view has no owner. The view is displayed within its owner's view and will be clipped by the owner's bounding rectangle.
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01799">1799</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="p2" doxytag="TView::showMarkers"></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#a13">Boolean</a> TView::showMarkers<code> [static]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Used to indicate whether indicators should be placed around focused controls. <a class="el" href="classTProgram.html#a8">TProgram::initScreen</a>() sets showMarkers to True if the video mode is monochrome; otherwise it is False. The value may, however, be set on in color and black and white modes if desired.
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01806">1806</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="m1" doxytag="TView::size"></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="classTPoint.html">TPoint</a> TView::size
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The size of the view.
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01503">1503</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<a name="m4" doxytag="TView::state"></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> TView::state
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The state of the view is represented by bits set or clear in the state data member. The bits are represented mnemonically by constants as follows.
+<p>
+<pre>
+ Constant Value Meaning
+
+ <a class="el" href="views_8h.html#a26">sfVisible</a> 0x001 Set if the view is visible on its owner. Views are by
+ default <a class="el" href="views_8h.html#a26">sfVisible</a>. Use <a class="el" href="classTView.html#a18">show</a>() and
+ <a class="el" href="classTView.html#a17">hide</a>() to modify <a class="el" href="views_8h.html#a26">sfVisible</a>. An
+ <a class="el" href="views_8h.html#a26">sfVisible</a> view is not necessarily visible on the
+ screen, since its owner might not be visible. To test
+ for visibility on the screen, examine the
+ <a class="el" href="views_8h.html#a37">sfExposed</a> bit or call <a class="el" href="classTView.html#a21">exposed</a>().
+
+ <a class="el" href="views_8h.html#a27">sfCursorVis</a> 0x002 Set if a view's cursor is visible. Clear is the
+ default. You can use <a class="el" href="classTView.html#a36">showCursor</a>() and
+ <a class="el" href="classTView.html#a23">hideCursor</a>() to modify <a class="el" href="views_8h.html#a27">sfCursorVis</a>.
+
+ <a class="el" href="views_8h.html#a28">sfCursorIns</a> 0x004 Set if the view's cursor is a solid block; clear if
+ the view's cursor is an underline (the default). Use
+ <a class="el" href="classTView.html#a32">blockCursor</a>() and <a class="el" href="classTView.html#a33">normalCursor</a>() to modify
+ this bit.
+
+ <a class="el" href="views_8h.html#a29">sfShadow</a> 0x008 Set if the view has a shadow.
+
+ <a class="el" href="views_8h.html#a30">sfActive</a> 0x010 Set if the view is the active window or a subview in
+ the active window.
+
+ <a class="el" href="views_8h.html#a31">sfSelected</a> 0x020 Set if the view is the currently selected subview
+ within its owner. Each <a class="el" href="classTGroup.html">TGroup</a> object has a
+ <a class="el" href="classTGroup.html#m0">TGroup::current</a> data member that points to the
+ currently selected subview (or is 0 if no subview is
+ selected). There can be only one currently selected
+ subview in a <a class="el" href="classTGroup.html">TGroup</a>.
+
+ <a class="el" href="views_8h.html#a32">sfFocused</a> 0x040 Set if the view is focused. A view is focused if it
+ is selected and all owners above it are also
+ selected. The last view on the focused chain is the
+ final target of all focused events.
+
+ <a class="el" href="views_8h.html#a33">sfDragging</a> 0x080 Set if the view is being dragged.
+
+ <a class="el" href="views_8h.html#a34">sfDisabled</a> 0x100 Set if the view is disabled. A disabled view will
+ ignore all events sent to it.
+
+ <a class="el" href="views_8h.html#a35">sfModal</a> 0x200 Set if the view is modal. There is always exactly one
+ modal view in a running TVision application, usually
+ a <a class="el" href="classTApplication.html">TApplication</a> or <a class="el" href="classTDialog.html">TDialog</a> object. When a
+ view starts executing (through an
+ <a class="el" href="classTGroup.html#a3">TGroup::execView</a>() call), that view becomes
+ modal. The modal view represents the apex (root) of
+ the active event tree, getting and handling events
+ until its <a class="el" href="classTView.html#a43">endModal</a>() method is called. During
+ this "local" event loop, events are passed down to
+ lower subviews in the view tree. Events from these
+ lower views pass back up the tree, but go no further
+ than the modal view. See also <a class="el" href="classTView.html#a50">setState</a>(),
+ <a class="el" href="classTView.html#a41">handleEvent</a>() and <a class="el" href="classTGroup.html#a3">TGroup::execView</a>().
+
+ <a class="el" href="views_8h.html#a36">sfDefault</a> 0x400 This is a spare flag, available to specify some
+ user-defined default state.
+
+ <a class="el" href="views_8h.html#a37">sfExposed</a> 0x800 Set if the view is owned directly or indirectly by
+ the application object, and therefore possibly
+ visible on the. <a class="el" href="classTView.html#a21">exposed</a>() uses this flag in
+ combination with further clipping calculations to
+ determine whether any part of the view is actually
+ visible on the screen.
+ </pre>
+<p>
+Many TView member functions test and/or alter the state data member by calling <a class="el" href="classTView.html#a48">getState</a>() and/or <a class="el" href="classTView.html#a50">setState</a>().
+<p>
+Definition at line <a class="el" href="views_8h-source.html#l01665">1665</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="views_8h-source.html">views.h</a></ul>
+<hr><address><small>Generated at Sat Sep 22 20:19:39 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>,
+ &copy;&nbsp;1997-2001</small></address>
+</body>
+</html>