Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > contrib > by-pkgid > af7a4b7f1ee5a4a084c41b9005da5527 > files > 1592

libfox1.1_46-devel-1.1.46-1mdk.i586.rpm

<html>
<head>
<link rel="stylesheet" href="page.css" type="text/css">
<title>fox-toolkit.org - Documentation</title>
</head>
<body bgcolor=#ffffff link=#990033 vlink=#990033 alink=#990033 text=#000000>
<font face='verdana,sans-serif' size=2 >

<!---- TOPIC TITLE WITH LOGO--->
<table border=0 cellpadding= cellspacing=2 width=100% ><tr><td><a href='http://www.fox-toolkit.org/doc.html'><img src='../art/foxlogo_small.jpg' border=0></a></td><td width=100% valign=bottom><font face='verdana,sans-serif' size=2 ><b>
<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>
<br><img src='../art/line.gif' width=100% height=1></b></font></td></tr></table>
<p>
<!--- TOPIC TITLE WITH LOGO --->
<!-- Generated by Doxygen 1.3.3 -->
<h1>FXTopWindow.h</h1><div class="fragment"><pre>00001 <span class="comment">/********************************************************************************</span>
00002 <span class="comment">*                                                                               *</span>
00003 <span class="comment">*                 T o p - L e v e l   W i n d o w   W i d g e t                 *</span>
00004 <span class="comment">*                                                                               *</span>
00005 <span class="comment">*********************************************************************************</span>
00006 <span class="comment">* Copyright (C) 1998,2004 by Jeroen van der Zijp.   All Rights Reserved.        *</span>
00007 <span class="comment">*********************************************************************************</span>
00008 <span class="comment">* This library is free software; you can redistribute it and/or                 *</span>
00009 <span class="comment">* modify it under the terms of the GNU Lesser General Public                    *</span>
00010 <span class="comment">* License as published by the Free Software Foundation; either                  *</span>
00011 <span class="comment">* version 2.1 of the License, or (at your option) any later version.            *</span>
00012 <span class="comment">*                                                                               *</span>
00013 <span class="comment">* This library is distributed in the hope that it will be useful,               *</span>
00014 <span class="comment">* but WITHOUT ANY WARRANTY; without even the implied warranty of                *</span>
00015 <span class="comment">* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU             *</span>
00016 <span class="comment">* Lesser General Public License for more details.                               *</span>
00017 <span class="comment">*                                                                               *</span>
00018 <span class="comment">* You should have received a copy of the GNU Lesser General Public              *</span>
00019 <span class="comment">* License along with this library; if not, write to the Free Software           *</span>
00020 <span class="comment">* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *</span>
00021 <span class="comment">*********************************************************************************</span>
00022 <span class="comment">* $Id: FXTopWindow.h,v 1.53 2004/02/08 17:17:34 fox Exp $                       *</span>
00023 <span class="comment">********************************************************************************/</span>
00024 <span class="preprocessor">#ifndef FXTOPWINDOW_H</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define FXTOPWINDOW_H</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#ifndef FXSHELL_H</span>
00028 <span class="preprocessor"></span><span class="preprocessor">#include "FXShell.h"</span>
00029 <span class="preprocessor">#endif</span>
00030 <span class="preprocessor"></span>
00031 
00032 <span class="keyword">namespace </span>FX {
00033 
00034 <span class="comment"></span>
00035 <span class="comment">/// Title and border decorations</span>
00036 <span class="comment"></span><span class="keyword">enum</span> {
00037   <a class="code" href="group__FXTopWindow__0.html#a0a2088">DECOR_NONE</a>        = 0,                                  <span class="comment">/// Borderless window</span>
00038 <span class="comment"></span>  <a class="code" href="group__FXTopWindow__0.html#a0a2089">DECOR_TITLE</a>       = 0x00020000,                         <span class="comment">/// Window title</span>
00039 <span class="comment"></span>  <a class="code" href="group__FXTopWindow__0.html#a0a2090">DECOR_MINIMIZE</a>    = 0x00040000,                         <span class="comment">/// Minimize button</span>
00040 <span class="comment"></span>  <a class="code" href="group__FXTopWindow__0.html#a0a2091">DECOR_MAXIMIZE</a>    = 0x00080000,                         <span class="comment">/// Maximize button</span>
00041 <span class="comment"></span>  <a class="code" href="group__FXTopWindow__0.html#a0a2092">DECOR_CLOSE</a>       = 0x00100000,                         <span class="comment">/// Close button</span>
00042 <span class="comment"></span>  <a class="code" href="group__FXTopWindow__0.html#a0a2093">DECOR_BORDER</a>      = 0x00200000,                         <span class="comment">/// Border</span>
00043 <span class="comment"></span>  <a class="code" href="group__FXTopWindow__0.html#a0a2094">DECOR_SHRINKABLE</a>  = 0x00400000,                         <span class="comment">/// Window can become smaller</span>
00044 <span class="comment"></span>  <a class="code" href="group__FXTopWindow__0.html#a0a2095">DECOR_STRETCHABLE</a> = 0x00800000,                         <span class="comment">/// Window can become larger</span>
00045 <span class="comment"></span>  <a class="code" href="group__FXTopWindow__0.html#a0a2096">DECOR_RESIZE</a>      = <a class="code" href="group__FXTopWindow__0.html#a0a2094">DECOR_SHRINKABLE</a>|<a class="code" href="group__FXTopWindow__0.html#a0a2095">DECOR_STRETCHABLE</a>, <span class="comment">/// Resize handles</span>
00046 <span class="comment"></span>  <a class="code" href="group__FXTopWindow__0.html#a0a2097">DECOR_MENU</a>        = 0x01000000,                         <span class="comment">/// Window menu</span>
00047 <span class="comment"></span>  DECOR_ALL         = (<a class="code" href="group__FXTopWindow__0.html#a0a2089">DECOR_TITLE</a>|<a class="code" href="group__FXTopWindow__0.html#a0a2090">DECOR_MINIMIZE</a>|<a class="code" href="group__FXTopWindow__0.html#a0a2091">DECOR_MAXIMIZE</a>|<a class="code" href="group__FXTopWindow__0.html#a0a2092">DECOR_CLOSE</a>|<a class="code" href="group__FXTopWindow__0.html#a0a2093">DECOR_BORDER</a>|<a class="code" href="group__FXTopWindow__0.html#a0a2094">DECOR_SHRINKABLE</a>|<a class="code" href="group__FXTopWindow__0.html#a0a2095">DECOR_STRETCHABLE</a>|<a class="code" href="group__FXTopWindow__0.html#a0a2097">DECOR_MENU</a>)
00048   };
00049 
00050 <span class="comment"></span>
00051 <span class="comment">/// Initial window placement</span>
00052 <span class="comment"></span><span class="keyword">enum</span> {
00053   <a class="code" href="group__FXTopWindow__1.html#a0a2099">PLACEMENT_DEFAULT</a>,                  <span class="comment">/// Place it at the default size and location</span>
00054 <span class="comment"></span>  <a class="code" href="group__FXTopWindow__1.html#a0a2100">PLACEMENT_VISIBLE</a>,                  <span class="comment">/// Place window to be fully visible</span>
00055 <span class="comment"></span>  <a class="code" href="group__FXTopWindow__1.html#a0a2101">PLACEMENT_CURSOR</a>,                   <span class="comment">/// Place it under the cursor position</span>
00056 <span class="comment"></span>  <a class="code" href="group__FXTopWindow__1.html#a0a2102">PLACEMENT_OWNER</a>,                    <span class="comment">/// Place it centered on its owner</span>
00057 <span class="comment"></span>  <a class="code" href="group__FXTopWindow__1.html#a0a2103">PLACEMENT_SCREEN</a>,                   <span class="comment">/// Place it centered on the screen</span>
00058 <span class="comment"></span>  <a class="code" href="group__FXTopWindow__1.html#a0a2104">PLACEMENT_MAXIMIZED</a>                 <span class="comment">/// Place it maximized to the screen size</span>
00059 <span class="comment"></span>  };
00060 
00061 
00062 <span class="keyword">class </span>FXToolBar;
00063 <span class="keyword">class </span>FXIcon;
00064 
00065 
00066 <span class="comment"></span>
00067 <span class="comment">/**</span>
00068 <span class="comment">* Abstract base class for all top-level windows.</span>
00069 <span class="comment">* TopWindows are usually managed by a Window Manager under X11 and</span>
00070 <span class="comment">* therefore borders and window-menus and other decorations like resize-</span>
00071 <span class="comment">* handles are subject to the Window Manager's interpretation of the</span>
00072 <span class="comment">* decoration hints.</span>
00073 <span class="comment">* When a TopWindow is closed, it sends a SEL_CLOSE message to its</span>
00074 <span class="comment">* target.  The target should return 0 in response to this message if</span>
00075 <span class="comment">* there is no objection to proceed with the closing of the window, and</span>
00076 <span class="comment">* return 1 otherwise.  After the SEL_CLOSE message has been sent and</span>
00077 <span class="comment">* no objection was raised, the window will delete itself.</span>
00078 <span class="comment">* When receiving a SEL_UPDATE, the target can update the title string</span>
00079 <span class="comment">* of the window, so that the title of the window reflects the name</span>
00080 <span class="comment">* of the document, for example.</span>
00081 <span class="comment">* For convenience, TopWindow provides the same layout behavior as</span>
00082 <span class="comment">* the Packer widget, as well as docking and undocking of toolbars.</span>
00083 <span class="comment">* TopWindows can be owned by other windows, or be free-floating.</span>
00084 <span class="comment">* Owned TopWindows will usually remain stacked on top of the owner</span>
00085 <span class="comment">* windows. The lifetime of an owned window should not exceed that of</span>
00086 <span class="comment">* the owner.</span>
00087 <span class="comment">*/</span>
00088 <span class="keyword">class </span>FXAPI FXTopWindow : <span class="keyword">public</span> FXShell {
00089   FXDECLARE_ABSTRACT(FXTopWindow)
00090 <span class="keyword">protected</span>:
00091   FXString  title;                    <span class="comment">// Window title</span>
00092   FXIcon   *icon;                     <span class="comment">// Window icon (big)</span>
00093   FXIcon   *miniIcon;                 <span class="comment">// Window icon (small)</span>
00094   FXint     padtop;                   <span class="comment">// Top margin</span>
00095   FXint     padbottom;                <span class="comment">// Bottom margin</span>
00096   FXint     padleft;                  <span class="comment">// Left margin</span>
00097   FXint     padright;                 <span class="comment">// Right margin</span>
00098   FXint     hspacing;                 <span class="comment">// Horizontal child spacing</span>
00099   FXint     vspacing;                 <span class="comment">// Vertical child spacing</span>
<a name="l00100"></a><a class="code" href="classFX_1_1FXTopWindow.html">00100</a>   FXint     offx;
00101   FXint     offy;
00102 <span class="keyword">protected</span>:
00103   FXTopWindow(){}
00104   <span class="keywordtype">void</span> settitle();
00105   <span class="keywordtype">void</span> seticons();
00106   <span class="keywordtype">void</span> setdecorations();
00107   FXTopWindow(FXApp* a,<span class="keyword">const</span> FXString&amp; name,FXIcon *ic,FXIcon *mi,FXuint opts,FXint x,FXint y,FXint w,FXint h,FXint pl,FXint pr,FXint pt,FXint pb,FXint hs,FXint vs);
00108   FXTopWindow(FXWindow* owner,<span class="keyword">const</span> FXString&amp; name,FXIcon *ic,FXIcon *mi,FXuint opts,FXint x,FXint y,FXint w,FXint h,FXint pl,FXint pr,FXint pt,FXint pb,FXint hs,FXint vs);
00109 <span class="keyword">private</span>:
00110   FXTopWindow(<span class="keyword">const</span> FXTopWindow&amp;);
00111   FXTopWindow&amp; operator=(<span class="keyword">const</span> FXTopWindow&amp;);
00112 <span class="preprocessor">#ifdef WIN32</span>
00113 <span class="preprocessor"></span>  <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetClass() <span class="keyword">const</span>;
00114   <span class="keyword">static</span> <span class="keywordtype">void</span>* makeicon(FXIcon* icon);
00115 <span class="preprocessor">#endif</span>
00116 <span class="preprocessor"></span><span class="keyword">public</span>:
00117   <span class="keywordtype">long</span> onFocusUp(FXObject*,FXSelector,<span class="keywordtype">void</span>*);
00118   <span class="keywordtype">long</span> onFocusDown(FXObject*,FXSelector,<span class="keywordtype">void</span>*);
00119   <span class="keywordtype">long</span> onFocusLeft(FXObject*,FXSelector,<span class="keywordtype">void</span>*);
00120   <span class="keywordtype">long</span> onFocusRight(FXObject*,FXSelector,<span class="keywordtype">void</span>*);
00121   <span class="keywordtype">long</span> onCmdMaximize(FXObject*,FXSelector,<span class="keywordtype">void</span>*);
00122   <span class="keywordtype">long</span> onCmdMinimize(FXObject*,FXSelector,<span class="keywordtype">void</span>*);
00123   <span class="keywordtype">long</span> onCmdRestore(FXObject*,FXSelector,<span class="keywordtype">void</span>*);
00124   <span class="keywordtype">long</span> onCmdClose(FXObject*,FXSelector,<span class="keywordtype">void</span>*);
00125   <span class="keywordtype">long</span> onCmdSetStringValue(FXObject*,FXSelector,<span class="keywordtype">void</span>*);
00126   <span class="keywordtype">long</span> onCmdGetStringValue(FXObject*,FXSelector,<span class="keywordtype">void</span>*);
00127   <span class="keywordtype">long</span> onCmdSetIconValue(FXObject*,FXSelector,<span class="keywordtype">void</span>*);
00128   <span class="keywordtype">long</span> onCmdGetIconValue(FXObject*,FXSelector,<span class="keywordtype">void</span>*);
00129 <span class="keyword">public</span>:
00130   <span class="keyword">enum</span> {
00131     ID_MAXIMIZE=FXShell::ID_LAST,       <span class="comment">/// Maximize the window</span>
00132 <span class="comment"></span>    ID_MINIMIZE,                        <span class="comment">/// Minimize the window</span>
00133 <span class="comment"></span>    ID_RESTORE,                         <span class="comment">/// Restore the window</span>
00134 <span class="comment"></span>    ID_CLOSE,                           <span class="comment">/// Close the window</span>
00135 <span class="comment"></span>    ID_QUERY_DOCK,                      <span class="comment">/// Toolbar asks to dock</span>
00136 <span class="comment"></span>    ID_LAST
00137     };
00138 <span class="keyword">public</span>:
00139 <span class="comment"></span>
00140 <span class="comment">  /// Create server-side resources</span>
00141 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> create();
00142 <span class="comment"></span>
00143 <span class="comment">  /// Detach the server-side resources for this window</span>
00144 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> detach();
00145 <span class="comment"></span>
00146 <span class="comment">  /// Perform layout</span>
00147 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> layout();
00148 <span class="comment"></span>
00149 <span class="comment">  /// Move the focus to this window</span>
00150 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> setFocus();
00151 <span class="comment"></span>
00152 <span class="comment">  /// Remove the focus from this window</span>
00153 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> killFocus();
00154 <span class="comment"></span>
00155 <span class="comment">  /// Show this window</span>
00156 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> show();
00157 <span class="comment"></span>
00158 <span class="comment">  /// Hide this window</span>
00159 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> hide();
00160 <span class="comment"></span>
00161 <span class="comment">  /// Show this window with given placement</span>
00162 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> show(FXuint placement);
00163 <span class="comment"></span>
00164 <span class="comment">  /// Position the window based on placement</span>
00165 <span class="comment"></span>  <span class="keywordtype">void</span> place(FXuint placement);
00166 <span class="comment"></span>
00167 <span class="comment">  /// Return the default width of this window</span>
00168 <span class="comment"></span>  <span class="keyword">virtual</span> FXint getDefaultWidth();
00169 <span class="comment"></span>
00170 <span class="comment">  /// Return the default height of this window</span>
00171 <span class="comment"></span>  <span class="keyword">virtual</span> FXint getDefaultHeight();
00172 <span class="comment"></span>
00173 <span class="comment">  /// Move this window to the specified position in the parent's coordinates</span>
00174 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> move(FXint x,FXint y);
00175 <span class="comment"></span>
00176 <span class="comment">  /// Resize this window to the specified width and height</span>
00177 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> resize(FXint w,FXint h);
00178 <span class="comment"></span>
00179 <span class="comment">  /// Move and resize this window in the parent's coordinates</span>
00180 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> position(FXint x,FXint y,FXint w,FXint h);
00181 <span class="comment"></span>
00182 <span class="comment">  /// Maximize window, return TRUE if maximized</span>
00183 <span class="comment"></span>  <span class="keyword">virtual</span> FXbool maximize(FXbool notify=FALSE);
00184 <span class="comment"></span>
00185 <span class="comment">  /// Minimize or iconify window, return TRUE if minimized</span>
00186 <span class="comment"></span>  <span class="keyword">virtual</span> FXbool minimize(FXbool notify=FALSE);
00187 <span class="comment"></span>
00188 <span class="comment">  /// Restore window to normal, return TRUE if restored</span>
00189 <span class="comment"></span>  <span class="keyword">virtual</span> FXbool restore(FXbool notify=FALSE);
<a name="l00190"></a><a class="code" href="classFX_1_1FXTopWindow.html#a21">00190</a> <span class="comment"></span>
00191 <span class="comment">  /// Close the window, return TRUE if actually closed</span>
00192 <span class="comment"></span>  <span class="keyword">virtual</span> FXbool close(FXbool notify=FALSE);
00193 <span class="comment"></span>
00194 <span class="comment">  /// Return TRUE if maximized</span>
00195 <span class="comment"></span>  FXbool isMaximized() <span class="keyword">const</span>;
<a name="l00196"></a><a class="code" href="classFX_1_1FXTopWindow.html#a23">00196</a> <span class="comment"></span>
00197 <span class="comment">  /// Return TRUE if minimized</span>
00198 <span class="comment"></span>  FXbool isMinimized() <span class="keyword">const</span>;
00199 <span class="comment"></span>
00200 <span class="comment">  /// Change window title</span>
00201 <span class="comment"></span>  <span class="keywordtype">void</span> setTitle(<span class="keyword">const</span> <a class="code" href="classFX_1_1FXString.html">FXString</a>&amp; name);
<a name="l00202"></a><a class="code" href="classFX_1_1FXTopWindow.html#a25">00202</a> <span class="comment"></span>
00203 <span class="comment">  /// Return window title</span>
00204 <span class="comment"></span>  <a class="code" href="classFX_1_1FXString.html">FXString</a> getTitle()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> title; }
00205 <span class="comment"></span>
00206 <span class="comment">  /// Change top padding</span>
00207 <span class="comment"></span>  <span class="keywordtype">void</span> setPadTop(FXint pt);
<a name="l00208"></a><a class="code" href="classFX_1_1FXTopWindow.html#a27">00208</a> <span class="comment"></span>
00209 <span class="comment">  /// Get top interior padding</span>
00210 <span class="comment"></span>  FXint getPadTop()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> padtop; }
00211 <span class="comment"></span>
00212 <span class="comment">  /// Change bottom padding</span>
00213 <span class="comment"></span>  <span class="keywordtype">void</span> setPadBottom(FXint pb);
<a name="l00214"></a><a class="code" href="classFX_1_1FXTopWindow.html#a29">00214</a> <span class="comment"></span>
00215 <span class="comment">  /// Get bottom interior padding</span>
00216 <span class="comment"></span>  FXint getPadBottom()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> padbottom; }
<a name="l00217"></a><a class="code" href="classFX_1_1FXTopWindow.html#a30">00217</a> <span class="comment"></span>
00218 <span class="comment">  /// Change left padding</span>
00219 <span class="comment"></span>  <span class="keywordtype">void</span> setPadLeft(FXint pl);
<a name="l00220"></a><a class="code" href="classFX_1_1FXTopWindow.html#a31">00220</a> <span class="comment"></span>
00221 <span class="comment">  /// Get left interior padding</span>
00222 <span class="comment"></span>  FXint getPadLeft()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> padleft; }
00223 <span class="comment"></span>
00224 <span class="comment">  /// Change right padding</span>
00225 <span class="comment"></span>  <span class="keywordtype">void</span> setPadRight(FXint pr);
00226 <span class="comment"></span>
00227 <span class="comment">  /// Get right interior padding</span>
00228 <span class="comment"></span>  FXint getPadRight()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> padright; }
00229 <span class="comment"></span>
00230 <span class="comment">  /// Return horizontal spacing between children</span>
00231 <span class="comment"></span>  FXint getHSpacing()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> hspacing; }
00232 <span class="comment"></span>
00233 <span class="comment">  /// Return vertical spacing between children</span>
00234 <span class="comment"></span>  FXint getVSpacing()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> vspacing; }
00235 <span class="comment"></span>
00236 <span class="comment">  /// Change horizontal spacing between children</span>
00237 <span class="comment"></span>  <span class="keywordtype">void</span> setHSpacing(FXint hs);
00238 <span class="comment"></span>
00239 <span class="comment">  /// Change vertical spacing between children</span>
00240 <span class="comment"></span>  <span class="keywordtype">void</span> setVSpacing(FXint vs);
<a name="l00241"></a><a class="code" href="classFX_1_1FXTopWindow.html#a38">00241</a> <span class="comment"></span>
00242 <span class="comment">  /// Change packing hints for children</span>
00243 <span class="comment"></span>  <span class="keywordtype">void</span> setPackingHints(FXuint ph);
00244 <span class="comment"></span>
00245 <span class="comment">  /// Return packing hints for children</span>
00246 <span class="comment"></span>  FXuint getPackingHints() <span class="keyword">const</span>;
<a name="l00247"></a><a class="code" href="classFX_1_1FXTopWindow.html#a40">00247</a> <span class="comment"></span>
00248 <span class="comment">  /// Change title and border decorations</span>
00249 <span class="comment"></span>  <span class="keywordtype">void</span> setDecorations(FXuint decorations);
00250 <span class="comment"></span>
00251 <span class="comment">  /// Return current title and border decorations</span>
00252 <span class="comment"></span>  FXuint getDecorations() <span class="keyword">const</span>;
00253 <span class="comment"></span>
00254 <span class="comment">  /// Return window icon</span>
00255 <span class="comment"></span>  <a class="code" href="classFX_1_1FXIcon.html">FXIcon</a>* getIcon()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> icon; }
00256 <span class="comment"></span>
00257 <span class="comment">  /// Change window icon</span>
00258 <span class="comment"></span>  <span class="keywordtype">void</span> setIcon(FXIcon* ic);
00259 <span class="comment"></span>
00260 <span class="comment">  /// Return window mini (title) icon</span>
00261 <span class="comment"></span>  FXIcon* getMiniIcon()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> miniIcon; }
00262 <span class="comment"></span>
00263 <span class="comment">  /// Change window mini (title) icon</span>
00264 <span class="comment"></span>  <span class="keywordtype">void</span> setMiniIcon(FXIcon *ic);
00265 <span class="comment"></span>
00266 <span class="comment">  /// Save to stream</span>
00267 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> save(FXStream&amp; store) <span class="keyword">const</span>;
00268 <span class="comment"></span>
00269 <span class="comment">  /// Load from stream</span>
00270 <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> load(FXStream&amp; store);
00271 <span class="comment"></span>
00272 <span class="comment">  /// Destructor</span>
00273 <span class="comment"></span>  <span class="keyword">virtual</span> ~FXTopWindow();
00274   };
00275 
00276 }
00277 
00278 <span class="preprocessor">#endif</span>
</pre></div></font>

<!--- COPYRIGHT -->
<p>
<table width=100% cellpadding=0 cellspacing=0><tr><td width=100% valign=top id=HEADLINE align=right>
<img src='../art/line.gif' width=100% height=1><font size=-1>
Copyright &copy; 1997-2004 Jeroen van der Zijp</font>
</td></tr></table>
</p>
<!--- COPYRIGHT -->
</body>
</html>