diff options
Diffstat (limited to 'sigalatvision/doc/html/classTWindow.html')
-rw-r--r-- | sigalatvision/doc/html/classTWindow.html | 865 |
1 files changed, 865 insertions, 0 deletions
diff --git a/sigalatvision/doc/html/classTWindow.html b/sigalatvision/doc/html/classTWindow.html new file mode 100644 index 0000000..a6cc5bc --- /dev/null +++ b/sigalatvision/doc/html/classTWindow.html @@ -0,0 +1,865 @@ +<!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>TWindow class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body bgcolor="#ffffff"> +<!-- Generated by Doxygen 1.2.8.1 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> +<hr><h1>TWindow Class Reference</h1>Implements a window. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="views_8h-source.html">views.h</a>></code> +<p> +<p>Inheritance diagram for TWindow:: +<p><center><img src="classTWindow.gif" usemap="#TWindow_map" border="0"></center> +<map name="TWindow_map"> +<area href="classTGroup.html" alt="TGroup" shape="rect" coords="226,112,329,136"> +<area href="classTWindowInit.html" alt="TWindowInit" shape="rect" coords="339,112,442,136"> +<area href="classTView.html" alt="TView" shape="rect" coords="226,56,329,80"> +<area href="classTObject.html" alt="TObject" shape="rect" coords="169,0,272,24"> +<area href="classTStreamable.html" alt="TStreamable" shape="rect" coords="282,0,385,24"> +<area href="classTDialog.html" alt="TDialog" shape="rect" coords="113,224,216,248"> +<area href="classTEditWindow.html" alt="TEditWindow" shape="rect" coords="226,224,329,248"> +<area href="classTHelpWindow.html" alt="THelpWindow" shape="rect" coords="339,224,442,248"> +<area href="classTHistoryWindow.html" alt="THistoryWindow" shape="rect" coords="452,224,555,248"> +<area href="classTChDirDialog.html" alt="TChDirDialog" shape="rect" coords="0,280,103,304"> +<area href="classTColorDialog.html" alt="TColorDialog" shape="rect" coords="113,280,216,304"> +<area href="classTFileDialog.html" alt="TFileDialog" shape="rect" coords="226,280,329,304"> +</map> +<a href="classTWindow-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classTWindow.html#a0">TWindow</a> (const <a class="el" href="classTRect.html">TRect</a> &bounds, const char *aTitle, short aNumber)</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classTWindow.html#a1">~TWindow</a> ()</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classTWindow.html#a2">close</a> ()</td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classTPalette.html">TPalette</a>& </td><td valign=bottom><a class="el" href="classTWindow.html#a3">getPalette</a> () const</td></tr> +<tr><td nowrap align=right valign=top>virtual const char* </td><td valign=bottom><a class="el" href="classTWindow.html#a4">getTitle</a> (short maxSize)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classTWindow.html#a5">handleEvent</a> (<a class="el" href="structTEvent.html">TEvent</a> &event)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classTWindow.html#a6">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>virtual void </td><td valign=bottom><a class="el" href="classTWindow.html#a7">sizeLimits</a> (<a class="el" href="classTPoint.html">TPoint</a> &min, <a class="el" href="classTPoint.html">TPoint</a> &max)</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classTScrollBar.html">TScrollBar</a>* </td><td valign=bottom><a class="el" href="classTWindow.html#a8">standardScrollBar</a> (<a class="el" href="ttypes_8h.html#a0">ushort</a> aOptions)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classTWindow.html#a9">zoom</a> ()</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classTWindow.html#a10">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="classTFrame.html">TFrame</a>* </td><td valign=bottom><a class="el" href="classTWindow.html#d0">initFrame</a> (<a class="el" href="classTRect.html">TRect</a>)</td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classTStreamable.html">TStreamable</a>* </td><td valign=bottom><a class="el" href="classTWindow.html#d1">build</a> ()</td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="ttypes_8h.html#a1">uchar</a> </td><td valign=bottom><a class="el" href="classTWindow.html#m0">flags</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classTRect.html">TRect</a> </td><td valign=bottom><a class="el" href="classTWindow.html#m1">zoomRect</a></td></tr> +<tr><td nowrap align=right valign=top>short </td><td valign=bottom><a class="el" href="classTWindow.html#m2">number</a></td></tr> +<tr><td nowrap align=right valign=top>short </td><td valign=bottom><a class="el" href="classTWindow.html#m3">palette</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classTFrame.html">TFrame</a>* </td><td valign=bottom><a class="el" href="classTWindow.html#m4">frame</a></td></tr> +<tr><td nowrap align=right valign=top>const char* </td><td valign=bottom><a class="el" href="classTWindow.html#m5">title</a></td></tr> +<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>const char* const </td><td valign=bottom><a class="el" href="classTWindow.html#p0">name</a></td></tr> +<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classTWindow.html#b0">TWindow</a> (<a class="el" href="ttypes_8h.html#a14">StreamableInit</a>)</td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classTWindow.html#b1">write</a> (<a class="el" href="classopstream.html">opstream</a> &os)</td></tr> +<tr><td nowrap align=right valign=top>virtual void* </td><td valign=bottom><a class="el" href="classTWindow.html#b2">read</a> (<a class="el" href="classipstream.html">ipstream</a> &is)</td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A TWindow object is a specialized group that typically owns a <a class="el" href="classTFrame.html">TFrame</a> object, an interior <a class="el" href="classTScroller.html">TScroller</a> object, and one or two <a class="el" href="classTScrollBar.html">TScrollBar</a> objects. These attached subviews provide the "visibility" to the TWindow object. +<p> +TWindow inherits multiply from <a class="el" href="classTGroup.html">TGroup</a> and the virtual base class <a class="el" href="classTWindowInit.html">TWindowInit</a>. +<p> + +<p> +Definition at line <a class="el" href="views_8h-source.html#l03441">3441</a> of file <a class="el" href="views_8h-source.html">views.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="TWindow::TWindow"></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> +TWindow::TWindow ( + </b></td> + <td valign="bottom"><b> +const <a class="el" href="classTRect.html">TRect</a> & <em>bounds</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const char * <em>aTitle</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +short <em>aNumber</em> ) + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Calls the <a class="el" href="classTGroup.html">TGroup</a> constructor to set window bounds to `bounds'. Sets default <a class="el" href="classTView.html#m4">state</a> to <a class="el" href="views_8h.html#a29">sfShadow</a>. Sets default <a class="el" href="classTView.html#m2">options</a> to (<a class="el" href="views_8h.html#a38">ofSelectable</a> | <a class="el" href="views_8h.html#a39">ofTopSelect</a>). Sets default <a class="el" href="classTView.html#m7">growMode</a> to <a class="el" href="views_8h.html#a54">gfGrowAll</a> | <a class="el" href="views_8h.html#a55">gfGrowRel</a>. Sets default <a class="el" href="classTWindow.html#m0">flags</a> to (<a class="el" href="views_8h.html#a78">wfMove</a> | <a class="el" href="views_8h.html#a79">wfGrow</a> | <a class="el" href="views_8h.html#a80">wfClose</a> | <a class="el" href="views_8h.html#a81">wfZoom</a>). Sets the <a class="el" href="classTWindow.html#m5">title</a> data member to `aTitle' and the <a class="el" href="classTWindow.html#m2">number</a> data member to `aNumber'. +<p> +Calls <a class="el" href="classTWindow.html#d0">initFrame</a>() by default, and if the resulting frame pointer is nonzero, inserts it in this window's group. Finally, the default <a class="el" href="classTWindow.html#m1">zoomRect</a> is set to the given bounds. +<p> +`aNumber' is the number assigned to this window. If `aNumber' is between 1 and 9, the number will appear in the frame title, and the window can be selected with the Alt-n keys (n = 1 to 9). +<p> +Use the constant <a class="el" href="views_8h.html#a89">wnNoNumber</a> to indicate that the window is not to be numbered and cannot be selected via the Alt+number key. <a class="el" href="views_8h.html#a89">wnNoNumber</a> is defined in `<a class="el" href="views_8h.html">views.h</a>' as: +<p> +<pre> + const ushort <a class="el" href="views_8h.html#a89">wnNoNumber</a> = 0; + </pre> </td> + </tr> +</table> +<a name="a1" doxytag="TWindow::~TWindow"></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> +TWindow::~TWindow ( + </b></td> + <td valign="bottom"><b> +) + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Deletes title, then disposes of the window and any subviews by calling the parent destructor(s). </td> + </tr> +</table> +<a name="b0" doxytag="TWindow::TWindow"></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> +TWindow::TWindow ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="ttypes_8h.html#a14">StreamableInit</a> )<code> [protected]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Each streamable class needs a "builder" to allocate the correct memory for its objects together with the initialized virtual table pointers. 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="d1" doxytag="TWindow::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> * TWindow::build ( + </b></td> + <td valign="bottom"><b> +)<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Called to create an object in certain stream-reading situations. +<p> +Reimplemented from <a class="el" href="classTGroup.html#d0">TGroup</a>. +<p> +Reimplemented in <a class="el" href="classTColorDialog.html#d0">TColorDialog</a>, <a class="el" href="classTDialog.html#d0">TDialog</a>, <a class="el" href="classTEditWindow.html#d0">TEditWindow</a>, <a class="el" href="classTFileDialog.html#d0">TFileDialog</a>, and <a class="el" href="classTChDirDialog.html#d0">TChDirDialog</a>. </td> + </tr> +</table> +<a name="a2" doxytag="TWindow::close"></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 TWindow::close ( + </b></td> + <td valign="bottom"><b> +)<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Calls valid(cmClose); if True is returned, the calling window is deleted. <dl compact><dt> +<b>See also: </b><dd> +TGroup::Valid </dl> +<p> +Reimplemented in <a class="el" href="classTEditWindow.html#a1">TEditWindow</a>. </td> + </tr> +</table> +<a name="a3" doxytag="TWindow::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> & TWindow::getPalette ( + </b></td> + <td valign="bottom"><b> +) const<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the palette string given by the palette index in the <a class="el" href="classTWindow.html#m3">palette</a> data member. +<p> +Reimplemented from <a class="el" href="classTView.html#a46">TView</a>. +<p> +Reimplemented in <a class="el" href="classTDialog.html#a1">TDialog</a>, <a class="el" href="classTHistoryWindow.html#a1">THistoryWindow</a>, and <a class="el" href="classTHelpWindow.html#a1">THelpWindow</a>. </td> + </tr> +</table> +<a name="a4" doxytag="TWindow::getTitle"></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 * TWindow::getTitle ( + </b></td> + <td valign="bottom"><b> +short <em>maxSize</em> )<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns <a class="el" href="classTWindow.html#m5">title</a> data member, the window's title string. +<p> +Reimplemented in <a class="el" href="classTEditWindow.html#a2">TEditWindow</a>. </td> + </tr> +</table> +<a name="a5" doxytag="TWindow::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 TWindow::handleEvent ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="structTEvent.html">TEvent</a> & <em>event</em> )<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +First calls <a class="el" href="classTGroup.html#a23">TGroup::handleEvent</a>(), and then handles events specific to a TWindow as follows: +<p> +<ol> +<li>The following <a class="el" href="system_8h.html#a5">evCommand</a> events are handled if the <a class="el" href="classTWindow.html#m0">flags</a> data member permits that operation:<ul> +<li>cmResize (move or resize the window using the <a class="el" href="classTView.html#a9">dragView</a>() member function);<li>cmClose (close the window by creating a cmCancel event);<li>cmZoom (zoom the window using the <a class="el" href="classTWindow.html#a9">zoom</a>() member function).</ul> +<li><a class="el" href="system_8h.html#a4">evKeyDown</a> events with a keyCode value of kbTab or kbShiftTab are handled by selecting the next or previous selectable subview (if any).<li>An <a class="el" href="system_8h.html#a6">evBroadcast</a> event with a command value of cmSelectWindowNum is handled by selecting the window if the `event.infoInt' data member is equal to <a class="el" href="classTWindow.html#m2">number</a> data member. </ol> + +<p> +Reimplemented from <a class="el" href="classTGroup.html#a23">TGroup</a>. +<p> +Reimplemented in <a class="el" href="classTColorDialog.html#a4">TColorDialog</a>, <a class="el" href="classTDialog.html#a2">TDialog</a>, <a class="el" href="classTEditWindow.html#a3">TEditWindow</a>, <a class="el" href="classTFileDialog.html#a4">TFileDialog</a>, and <a class="el" href="classTChDirDialog.html#a3">TChDirDialog</a>. </td> + </tr> +</table> +<a name="d0" doxytag="TWindow::initFrame"></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="classTFrame.html">TFrame</a> * TWindow::initFrame ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="classTRect.html">TRect</a> )<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Creates a <a class="el" href="classTFrame.html">TFrame</a> object for the window and stores a pointer to the frame in the <a class="el" href="classTWindow.html#m4">frame</a> data member. TWindow constructor calls <a class="el" href="classTWindow.html#d0">initFrame</a>(); it should never be called directly. You can override <a class="el" href="classTWindow.html#d0">initFrame</a>() to instantiate a user-defined class derived from <a class="el" href="classTFrame.html">TFrame</a> instead of the standard <a class="el" href="classTFrame.html">TFrame</a>. </td> + </tr> +</table> +<a name="b2" doxytag="TWindow::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 * TWindow::read ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="classipstream.html">ipstream</a> & <em>is</em> )<code> [protected, virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Reads from the input stream `is'. +<p> +Reimplemented from <a class="el" href="classTGroup.html#b2">TGroup</a>. +<p> +Reimplemented in <a class="el" href="classTColorDialog.html#b2">TColorDialog</a>, <a class="el" href="classTEditWindow.html#b2">TEditWindow</a>, <a class="el" href="classTFileDialog.html#b2">TFileDialog</a>, and <a class="el" href="classTChDirDialog.html#b2">TChDirDialog</a>. </td> + </tr> +</table> +<a name="a6" doxytag="TWindow::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 TWindow::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> )<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +First calls TGroup::setState(aState, enable). Then, if `aState' is equal to <a class="el" href="views_8h.html#a31">sfSelected</a>, activates or deactivates the window and all its subviews using a call to setState(sfActive, enable), and calls <a class="el" href="classTView.html#d2">enableCommands</a>() or <a class="el" href="classTView.html#d1">disableCommands</a>() for cmNext, cmPrev, cmResize, cmClose and cmZoom. <dl compact><dt> +<b>See also: </b><dd> +<a class="el" href="classTGroup.html#a22">TGroup::setState</a> , <a class="el" href="classTView.html#m4">TView::state</a> </dl> +<p> +Reimplemented from <a class="el" href="classTGroup.html#a22">TGroup</a>. </td> + </tr> +</table> +<a name="a10" doxytag="TWindow::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 TWindow::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> + + </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="classTWindow.html#a10">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="classTGroup.html#a2">TGroup</a>. +<p> +Reimplemented in <a class="el" href="classTFileDialog.html#a7">TFileDialog</a>, and <a class="el" href="classTChDirDialog.html#a6">TChDirDialog</a>. </td> + </tr> +</table> +<a name="a7" doxytag="TWindow::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 TWindow::sizeLimits ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="classTPoint.html">TPoint</a> & <em>min</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +<a class="el" href="classTPoint.html">TPoint</a> & <em>max</em> )<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Overrides <a class="el" href="classTView.html#a2">TView::sizeLimits</a>(). First calls TView::sizeLimits(min, max) and then changes `min' to the minimum window size, minWinSize, a <a class="el" href="classTPoint.html">TPoint</a> constant defined at the head of file `TWindow.cc'. minWinSize is currently set to (16, 6). +<p> +minWinSize defines the minimum size of a TWindow or of any class derived from TWindow. Any change to minWinSize affects all windows, unless a window's <a class="el" href="classTWindow.html#a7">sizeLimits</a>() member function is overridden. +<p> +Reimplemented from <a class="el" href="classTView.html#a2">TView</a>. +<p> +Reimplemented in <a class="el" href="classTEditWindow.html#a4">TEditWindow</a>. </td> + </tr> +</table> +<a name="a8" doxytag="TWindow::standardScrollBar"></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="classTScrollBar.html">TScrollBar</a> * TWindow::standardScrollBar ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="ttypes_8h.html#a0">ushort</a> <em>aOptions</em> ) + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Creates, inserts, and returns a pointer to a "standard" scroll bar for the window. "Standard" means the scroll bar fits onto the frame of the window without covering the corners or the resize icon. +<p> +The `aOptions' parameter can be either <a class="el" href="views_8h.html#a75">sbHorizontal</a> to produce a horizontal scroll bar along the bottom of the window or <a class="el" href="views_8h.html#a76">sbVertical</a> to produce a vertical scroll bar along the right side of the window. +<p> +Either may be combined with <a class="el" href="views_8h.html#a77">sbHandleKeyboard</a> to allow the scroll bar to respond to arrows and page keys from the keyboard in addition to mouse clicks. +<p> +The following values can be passed to <a class="el" href="classTWindow.html#a8">standardScrollBar</a>(): +<p> +<pre> + Constant Value Meaning + + <a class="el" href="views_8h.html#a75">sbHorizontal</a> 0x0000 Scroll bar is horizontal + <a class="el" href="views_8h.html#a76">sbVertical</a> 0x0001 Scroll bar is vertical + <a class="el" href="views_8h.html#a77">sbHandleKeyboard</a> 0x0002 Scroll bar responds to keyboard commands + </pre> </td> + </tr> +</table> +<a name="b1" doxytag="TWindow::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 TWindow::write ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="classopstream.html">opstream</a> & <em>os</em> )<code> [protected, virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Writes to the output stream `os'. +<p> +Reimplemented from <a class="el" href="classTGroup.html#b1">TGroup</a>. +<p> +Reimplemented in <a class="el" href="classTColorDialog.html#b1">TColorDialog</a>, <a class="el" href="classTEditWindow.html#b1">TEditWindow</a>, <a class="el" href="classTFileDialog.html#b1">TFileDialog</a>, and <a class="el" href="classTChDirDialog.html#b1">TChDirDialog</a>. </td> + </tr> +</table> +<a name="a9" doxytag="TWindow::zoom"></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 TWindow::zoom ( + </b></td> + <td valign="bottom"><b> +)<code> [virtual]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Zooms the calling window. This member function is usually called in response to a cmZoom command (triggered by a click on the zoom icon). <a class="el" href="classTWindow.html#a9">zoom</a>() takes into account the relative sizes of the calling window and its owner, and the value of <a class="el" href="classTWindow.html#m1">zoomRect</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="m0" doxytag="TWindow::flags"></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> TWindow::flags + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The flags data member contains a combination of mnemonics constants that define bits. If the bits are set, the window will have the corresponding attribute: the window can move, grow, close or zoom. +<p> +The window flags are defined as follows: +<p> +<pre> + Constant Value Meaning + + <a class="el" href="views_8h.html#a78">wfMove</a> 0x01 Window can be moved + + <a class="el" href="views_8h.html#a79">wfGrow</a> 0x02 Window can be resized and has a grow icon in the + lower-right corner + + <a class="el" href="views_8h.html#a80">wfClose</a> 0x04 Window frame has a close icon that can be mouse-clicked + to close the window + + <a class="el" href="views_8h.html#a81">wfZoom</a> 0x08 Window frame has a zoom icon that can be mouse-clicked + to zoom the window + </pre> +<p> +If a particular bit is set, the corresponding property is enabled; otherwise that property is disabled. +<p> +Definition at line <a class="el" href="views_8h-source.html#l03604">3604</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td> + </tr> +</table> +<a name="m4" doxytag="TWindow::frame"></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="classTFrame.html">TFrame</a> * TWindow::frame + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Pointer to this window's associated <a class="el" href="classTFrame.html">TFrame</a> object. +<p> +Definition at line <a class="el" href="views_8h-source.html#l03635">3635</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td> + </tr> +</table> +<a name="p0" doxytag="TWindow::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 TWindow::name<code> [static]</code> + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Undocumented. +<p> +Reimplemented from <a class="el" href="classTGroup.html#p0">TGroup</a>. +<p> +Reimplemented in <a class="el" href="classTColorDialog.html#p0">TColorDialog</a>, <a class="el" href="classTDialog.html#p0">TDialog</a>, <a class="el" href="classTEditWindow.html#p0">TEditWindow</a>, <a class="el" href="classTFileDialog.html#p0">TFileDialog</a>, and <a class="el" href="classTChDirDialog.html#p0">TChDirDialog</a>. +<p> +Definition at line <a class="el" href="views_8h-source.html#l03664">3664</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td> + </tr> +</table> +<a name="m2" doxytag="TWindow::number"></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> +short TWindow::number + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The number assigned to this window. If number is between 1 and 9, the number will appear in the frame title, and the window can be selected with the Alt-n keys (n = 1 to 9). +<p> +Definition at line <a class="el" href="views_8h-source.html#l03614">3614</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td> + </tr> +</table> +<a name="m3" doxytag="TWindow::palette"></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> +short TWindow::palette + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Specifies which palette the window is to use: <a class="el" href="views_8h.html#a90">wpBlueWindow</a>, <a class="el" href="views_8h.html#a91">wpCyanWindow</a> or <a class="el" href="views_8h.html#a92">wpGrayWindow</a>. These constants define the three standard color mapping assignments for windows: +<p> +<pre> + Constant Value Meaning + + <a class="el" href="views_8h.html#a90">wpBlueWindow</a> 0 Window text is yellow on blue + <a class="el" href="views_8h.html#a91">wpCyanWindow</a> 1 Window text is blue on cyan + <a class="el" href="views_8h.html#a92">wpGrayWindow</a> 2 Window text is black on gray + </pre> +<p> +By default, the TWindow palette is <a class="el" href="views_8h.html#a90">wpBlueWindow</a>. The default for <a class="el" href="classTDialog.html">TDialog</a> objects is <a class="el" href="views_8h.html#a92">wpGrayWindow</a>. +<p> +Definition at line <a class="el" href="views_8h-source.html#l03631">3631</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td> + </tr> +</table> +<a name="m5" doxytag="TWindow::title"></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 * TWindow::title + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +A character string giving the (optional) title that appears on the frame. +<p> +Definition at line <a class="el" href="views_8h-source.html#l03640">3640</a> of file <a class="el" href="views_8h-source.html">views.h</a>. </td> + </tr> +</table> +<a name="m1" doxytag="TWindow::zoomRect"></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> TWindow::zoomRect + </b></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The normal, unzoomed boundary of the window. +<p> +Definition at line <a class="el" href="views_8h-source.html#l03608">3608</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>, + © 1997-2001</small></address> +</body> +</html> |