0.2.0 docs

This commit is contained in:
cozman 2003-06-16 07:27:48 +00:00
parent 4bf838ff0b
commit a44d42aff7
70 changed files with 6514 additions and 0 deletions

27
doc/html/GewiButton_8cpp.html Executable file
View File

@ -0,0 +1,27 @@
<!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>GewiButton.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/src/GewiButton.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Implementation of GButton, a simple button class. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiButton_8cpp.html">GewiButton.cpp</a>,v 1.3 2003/06/07 05:42:32 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiButton_8h-source.html">GewiButton.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,64 @@
<!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>/include/GewiButton.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiButton.h</h1><a href="GewiButton_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the Gewi GUI Library for ZEngine.</span>
00003 <span class="comment"> Gewi and ZEngine Copyright (C) 2002, 2003 James Turk</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under a BSD-style license. (see licensing.txt)</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (james@conceptofzero.net) </span>
00008 <span class="comment"> this library is found at the home of ZEngine http://zengine.sourceforge.net</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00020 <span class="preprocessor">#ifndef __gewibutton_h__</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define __gewibutton_h__</span>
00022 <span class="preprocessor"></span>
00023 <span class="preprocessor">#include "<a class="code" href="GewiEngine_8h.html">GewiEngine.h</a>"</span>
00024 <span class="preprocessor">#include "<a class="code" href="GewiWidget_8h.html">GewiWidget.h</a>"</span>
00025
<a name="l00026"></a><a class="code" href="namespaceGewi.html">00026</a> <span class="keyword">namespace </span>Gewi
00027 {
00028
<a name="l00034"></a><a class="code" href="namespaceGewi.html#a17">00034</a> <span class="keyword">enum</span> <a class="code" href="namespaceGewi.html#a17">GButtonType</a>
00035 {
00036 <a class="code" href="namespaceGewi.html#a17a0">GBT_PRESS</a>,
00037 <a class="code" href="namespaceGewi.html#a17a1">GBT_HOVER</a>
00038 };
00039
<a name="l00045"></a><a class="code" href="classGewi_1_1GButton.html">00045</a> <span class="keyword">class </span><a class="code" href="classGewi_1_1GButton.html">GButton</a> : <span class="keyword">public</span> <a class="code" href="classGewi_1_1GWidget.html">GWidget</a>
00046 {
00047 <span class="keyword">protected</span>:
<a name="l00049"></a><a class="code" href="classGewi_1_1GButton.html#n0">00049</a> <span class="keywordtype">bool</span> <a class="code" href="classGewi_1_1GButton.html#n0">rPressed</a>;
<a name="l00051"></a><a class="code" href="classGewi_1_1GButton.html#n1">00051</a> <a class="code" href="namespaceGewi.html#a17">GButtonType</a> <a class="code" href="classGewi_1_1GButton.html#n1">rType</a>;
<a name="l00053"></a><a class="code" href="classGewi_1_1GButton.html#n2">00053</a> <a class="code" href="namespaceGewi.html#a2">ResourceID</a> <a class="code" href="classGewi_1_1GButton.html#n2">rNormalImage</a>;
<a name="l00055"></a><a class="code" href="classGewi_1_1GButton.html#n3">00055</a> <a class="code" href="namespaceGewi.html#a2">ResourceID</a> <a class="code" href="classGewi_1_1GButton.html#n3">rPressedImage</a>;
00056
00057 <span class="keyword">public</span>:
00064 <a class="code" href="classGewi_1_1GButton.html#a0">GButton</a>(<a class="code" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL);
00065
00078 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GButton.html#a1">Create</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> width, <span class="keywordtype">float</span> height, ResourceID normalImg, ResourceID pressImg, GButtonType type=GBT_PRESS);
00079
00090 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GButton.html#a2">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, <span class="keywordtype">char</span> ch);
00091
00097 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GButton.html#a3">Show</a>();
00098
00105 <span class="keywordtype">bool</span> <a class="code" href="classGewi_1_1GButton.html#a4">IsPressed</a>();
00106
00113 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GButton.html#a5">SetState</a>(<span class="keywordtype">bool</span> pressed);
00114 };
00115
00116 }
00117
00118 <span class="preprocessor">#endif //__gewibutton_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

30
doc/html/GewiButton_8h.html Executable file
View File

@ -0,0 +1,30 @@
<!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>GewiButton.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiButton.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Definition file for GButton, a simple button class. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiButton_8h.html">GewiButton.h</a>,v 1.4 2003/06/07 05:41:18 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiEngine_8h-source.html">GewiEngine.h</a>"</code><br>
<code>#include "<a class="el" href="GewiWidget_8h-source.html">GewiWidget.h</a>"</code><br>
<p>
<a href="GewiButton_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,27 @@
<!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>GewiContainer.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/src/GewiContainer.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Implementation of GContainer, a barebones widget that can contain child widgets. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiContainer_8cpp.html">GewiContainer.cpp</a>,v 1.6 2003/06/12 09:32:32 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiContainer_8h-source.html">GewiContainer.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,62 @@
<!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>/include/GewiContainer.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiContainer.h</h1><a href="GewiContainer_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the Gewi GUI Library for ZEngine.</span>
00003 <span class="comment"> Gewi and ZEngine Copyright (C) 2002, 2003 James Turk</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under a BSD-style license. (see licensing.txt)</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (james@conceptofzero.net) </span>
00008 <span class="comment"> this library is found at the home of ZEngine http://zengine.sourceforge.net</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00020 <span class="preprocessor">#ifndef __gewicontainer_h__</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define __gewicontainer_h__</span>
00022 <span class="preprocessor"></span>
00023 <span class="preprocessor">#include "<a class="code" href="GewiIncludes_8h.html">GewiIncludes.h</a>"</span>
00024 <span class="preprocessor">#include "<a class="code" href="GewiWidgetList_8h.html">GewiWidgetList.h</a>"</span>
00025 <span class="preprocessor">#include "<a class="code" href="GewiWidget_8h.html">GewiWidget.h</a>"</span>
00026
00027 <span class="keyword">namespace </span>Gewi
00028 {
00029
<a name="l00035"></a><a class="code" href="classGewi_1_1GContainer.html">00035</a> <span class="keyword">class </span><a class="code" href="classGewi_1_1GContainer.html">GContainer</a> : <span class="keyword">public</span> <a class="code" href="classGewi_1_1GWidget.html">GWidget</a>
00036 {
<a name="l00043"></a><a class="code" href="classGewi_1_1GContainer.html#o0">00043</a> <span class="keyword">friend</span> <a class="code" href="classGewi_1_1GWidget.html">GWidget</a>;
00044
00045 <span class="keyword">protected</span>:
<a name="l00047"></a><a class="code" href="classGewi_1_1GContainer.html#n0">00047</a> <a class="code" href="classGewi_1_1WidgetList.html">WidgetList</a> <a class="code" href="classGewi_1_1GContainer.html#n0">rChildList</a>;
00048
00055 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GContainer.html#b0">AddChild</a>(<a class="code" href="classGewi_1_1GWidget.html">GWidget</a> *widget);
00056
00063 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GContainer.html#b1">ReleaseChild</a>(<a class="code" href="classGewi_1_1GWidget.html">GWidget</a> *widget);
00064
00071 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GContainer.html#b2">InsertWidget</a>(<a class="code" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *node);
00072
00073 <span class="keyword">public</span>:
00080 <a class="code" href="classGewi_1_1GContainer.html#a0">GContainer</a>(<a class="code" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL);
00081
00082 ~<a class="code" href="classGewi_1_1GContainer.html">GContainer</a>();
00083
00091 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GContainer.html#a2">Move</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);
00092
00103 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GContainer.html#a3">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, <span class="keywordtype">char</span> ch);
00104
00110 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GContainer.html#a4">Show</a>();
00111 };
00112
00113 }
00114
00115 <span class="preprocessor">#endif //__gewicontainer_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

31
doc/html/GewiContainer_8h.html Executable file
View File

@ -0,0 +1,31 @@
<!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>GewiContainer.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiContainer.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Definition file for GContainer, a barebones widget that can contain child widgets. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiContainer_8h.html">GewiContainer.h</a>,v 1.6 2003/06/09 03:28:59 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiIncludes_8h-source.html">GewiIncludes.h</a>"</code><br>
<code>#include "<a class="el" href="GewiWidgetList_8h-source.html">GewiWidgetList.h</a>"</code><br>
<code>#include "<a class="el" href="GewiWidget_8h-source.html">GewiWidget.h</a>"</code><br>
<p>
<a href="GewiContainer_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,57 @@
<!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>/include/GewiDefines.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiDefines.h</h1><a href="GewiDefines_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the Gewi GUI Library for ZEngine.</span>
00003 <span class="comment"> Gewi and ZEngine Copyright (C) 2002, 2003 James Turk</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under a BSD-style license. (see licensing.txt)</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (james@conceptofzero.net) </span>
00008 <span class="comment"> this library is found at the home of ZEngine http://zengine.sourceforge.net</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00020 <span class="preprocessor">#ifndef __gewidefines_h__</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define __gewidefines_h__</span>
00022 <span class="preprocessor"></span>
00023 <span class="keyword">namespace </span>Gewi
00024 {
00025
<a name="l00027"></a><a class="code" href="namespaceGewi.html#a2">00027</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="namespaceGewi.html#a2">ResourceID</a>;
<a name="l00029"></a><a class="code" href="namespaceGewi.html#a3">00029</a> <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="namespaceGewi.html#a3">GewiJustify</a>;
00030
<a name="l00036"></a><a class="code" href="namespaceGewi.html#a18">00036</a> <span class="keyword">enum</span> <a class="code" href="namespaceGewi.html#a18">GewiEvent</a>
00037 {
00038 <a class="code" href="namespaceGewi.html#a18a4">GE_LDOWN</a>,
00039 <a class="code" href="namespaceGewi.html#a18a5">GE_LUP</a>,
00040 <a class="code" href="namespaceGewi.html#a18a6">GE_RDOWN</a>,
00041 <a class="code" href="namespaceGewi.html#a18a7">GE_RUP</a>,
00042 <a class="code" href="namespaceGewi.html#a18a8">GE_KDOWN</a>,
00043 <a class="code" href="namespaceGewi.html#a18a9">GE_KUP</a>,
00044 <a class="code" href="namespaceGewi.html#a18a10">GE_GOTFOCUS</a>,
00045 <a class="code" href="namespaceGewi.html#a18a11">GE_LOSTFOCUS</a>
00046 };
00047
<a name="l00056"></a><a class="code" href="namespaceGewi.html#a19">00056</a> <span class="keyword">enum</span> <a class="code" href="namespaceGewi.html#a19">_GewiJustify</a>
00057 {
00058 <a class="code" href="namespaceGewi.html#a19a12">GJ_CENTER</a> = 0,
00059 <a class="code" href="namespaceGewi.html#a19a13">GJ_LEFT</a> = 1&lt;&lt;0,
00060 <a class="code" href="namespaceGewi.html#a19a14">GJ_RIGHT</a> = 1&lt;&lt;1,
00061 <a class="code" href="namespaceGewi.html#a19a15">GJ_TOP</a> = 1&lt;&lt;2,
00062 <a class="code" href="namespaceGewi.html#a19a16">GJ_BOTTOM</a> = 1&lt;&lt;3
00063 };
00064
00065 };
00066
00067 <span class="preprocessor">#endif //__gewidefines_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

27
doc/html/GewiDefines_8h.html Executable file
View File

@ -0,0 +1,27 @@
<!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>GewiDefines.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiDefines.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Definition file, holds enumerations and typedefs which need to be accessed by many files within <a class="el" href="namespaceGewi.html">Gewi</a>. <br>
$id$<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<p>
<a href="GewiDefines_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

28
doc/html/GewiEngine_8cpp.html Executable file
View File

@ -0,0 +1,28 @@
<!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>GewiEngine.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/src/GewiEngine.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Implementation of GewiEngine, core engine for <a class="el" href="namespaceGewi.html">Gewi</a> GUI control. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiEngine_8cpp.html">GewiEngine.cpp</a>,v 1.9 2003/06/16 04:47:54 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiWidget_8h-source.html">GewiWidget.h</a>"</code><br>
<code>#include "<a class="el" href="GewiEngine_8h-source.html">GewiEngine.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,93 @@
<!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>/include/GewiEngine.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiEngine.h</h1><a href="GewiEngine_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the Gewi GUI Library for ZEngine.</span>
00003 <span class="comment"> Gewi and ZEngine Copyright (C) 2002, 2003 James Turk</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under a BSD-style license. (see licensing.txt)</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (james@conceptofzero.net) </span>
00008 <span class="comment"> this library is found at the home of ZEngine http://zengine.sourceforge.net</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00020 <span class="preprocessor">#ifndef __gewiengine_h__</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define __gewiengine_h__</span>
00022 <span class="preprocessor"></span>
00023 <span class="preprocessor">#include "<a class="code" href="GewiIncludes_8h.html">GewiIncludes.h</a>"</span>
00024 <span class="preprocessor">#include "<a class="code" href="GewiWidgetList_8h.html">GewiWidgetList.h</a>"</span>
00025
00026
00032 <span class="keyword">namespace </span>Gewi
00033 {
00034
00035
<a name="l00042"></a><a class="code" href="classGewi_1_1GewiEngine.html">00042</a> <span class="keyword">class </span><a class="code" href="classGewi_1_1GewiEngine.html">GewiEngine</a>
00043 {
00044 <span class="keyword">public</span>:
00046 <span class="keyword">static</span> VersionInfo <a class="code" href="classGewi_1_1GewiEngine.html#p0">Version</a>;
00048 <span class="keyword">static</span> VersionInfo <a class="code" href="classGewi_1_1GewiEngine.html#p1">MinZEVersion</a>;
00049
00050 <span class="keyword">private</span>:
00052 <span class="keyword">static</span> <a class="code" href="classGewi_1_1GewiEngine.html">GewiEngine</a> *<a class="code" href="classGewi_1_1GewiEngine.html#r0">sInstance</a>;
<a name="l00054"></a><a class="code" href="classGewi_1_1GewiEngine.html#o0">00054</a> std::vector&lt;ZE::ZImage*&gt; <a class="code" href="classGewi_1_1GewiEngine.html#o0">mImageVec</a>;
<a name="l00056"></a><a class="code" href="classGewi_1_1GewiEngine.html#o1">00056</a> std::vector&lt;ZE::ZFont*&gt; <a class="code" href="classGewi_1_1GewiEngine.html#o1">mFontVec</a>;
<a name="l00058"></a><a class="code" href="classGewi_1_1GewiEngine.html#o2">00058</a> <a class="code" href="classGewi_1_1WidgetList.html">WidgetList</a> <a class="code" href="classGewi_1_1GewiEngine.html#o2">mWidgetList</a>;
00059
00060 <span class="comment">//singleton setup//</span>
00061 <span class="keyword">private</span>:
00067 <a class="code" href="classGewi_1_1GewiEngine.html#c0">GewiEngine</a>();
00068
00069 <span class="keyword">public</span>:
<a name="l00071"></a><a class="code" href="classGewi_1_1GewiEngine.html#p2">00071</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="namespaceGewi.html#a2">ResourceID</a> <a class="code" href="classGewi_1_1GewiEngine.html#p2">InvalidID</a> = UINT_MAX; <span class="comment">//UINT_MAX b/c many compilers don't like numeric_limits</span>
00072
00080 <span class="keyword">static</span> <a class="code" href="classGewi_1_1GewiEngine.html">GewiEngine</a>* <a class="code" href="classGewi_1_1GewiEngine.html#d0">GetInstance</a>();
00081
00087 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GewiEngine.html#d1">ReleaseInstance</a>();
00088
00089 <span class="comment">//utilities//</span>
00090
00098 <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="classGewi_1_1GewiEngine.html#d2">EventFilter</a>(SDL_Event *event);
00099
00107 <span class="keyword">static</span> <span class="keywordtype">char</span> <a class="code" href="classGewi_1_1GewiEngine.html#d3">TranslateKey</a>(SDL_keysym key);
00108
00114 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GewiEngine.html#a0">Display</a>();
00115
00116 <span class="comment">//resource management//</span>
00117
00125 <a class="code" href="namespaceGewi.html#a2">ResourceID</a> <a class="code" href="classGewi_1_1GewiEngine.html#a1">AddResource</a>(ZE::ZImage *image);
00126
00134 <a class="code" href="namespaceGewi.html#a2">ResourceID</a> <a class="code" href="classGewi_1_1GewiEngine.html#a1">AddResource</a>(ZE::ZFont *font);
00135
00143 ZE::ZImage* <a class="code" href="classGewi_1_1GewiEngine.html#a3">Image</a>(ResourceID id);
00144
00152 ZE::ZFont* <a class="code" href="classGewi_1_1GewiEngine.html#a4">Font</a>(ResourceID id);
00153
00159 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GewiEngine.html#a5">FreeResources</a>();
00160
00161 <span class="comment">//widget management//</span>
00162 <span class="keyword">private</span>:
00169 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GewiEngine.html#c1">InsertWidget</a>(<a class="code" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *node);
00170
00171 <span class="keyword">public</span>:
00178 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GewiEngine.html#a6">Register</a>(<a class="code" href="classGewi_1_1GWidget.html">GWidget</a> *widget);
00179
00192 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GewiEngine.html#a7">SendMessage</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, <span class="keywordtype">char</span> ch);
00193
00200 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GewiEngine.html#a8">DeleteWidget</a>(<a class="code" href="classGewi_1_1GWidget.html">GWidget</a> *widget);
00201 };
00202
00203 }
00204
00205 <span class="preprocessor">#endif //__gewiengine_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

30
doc/html/GewiEngine_8h.html Executable file
View File

@ -0,0 +1,30 @@
<!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>GewiEngine.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiEngine.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Definition file for GewiEngine, core engine for <a class="el" href="namespaceGewi.html">Gewi</a> GUI control. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiEngine_8h.html">GewiEngine.h</a>,v 1.7 2003/06/11 00:19:40 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiIncludes_8h-source.html">GewiIncludes.h</a>"</code><br>
<code>#include "<a class="el" href="GewiWidgetList_8h-source.html">GewiWidgetList.h</a>"</code><br>
<p>
<a href="GewiEngine_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,35 @@
<!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>/include/GewiIncludes.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiIncludes.h</h1><a href="GewiIncludes_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the Gewi GUI Library for ZEngine.</span>
00003 <span class="comment"> Gewi and ZEngine Copyright (C) 2002, 2003 James Turk</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under a BSD-style license. (see licensing.txt)</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (james@conceptofzero.net) </span>
00008 <span class="comment"> this library is found at the home of ZEngine http://zengine.sourceforge.net</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00020 <span class="preprocessor">#ifndef __gewiincludes_h__</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define __gewiincludes_h__</span>
00022 <span class="preprocessor"></span>
00023 <span class="preprocessor">#include &lt;string&gt;</span>
00024 <span class="preprocessor">#include &lt;vector&gt;</span>
00025 <span class="preprocessor">#include &lt;cmath&gt;</span>
00026 <span class="preprocessor">#include &lt;climits&gt;</span>
00027 <span class="preprocessor">#include "ZEngine.h"</span>
00028 <span class="preprocessor">#include "<a class="code" href="GewiDefines_8h.html">GewiDefines.h</a>"</span>
00029
00030 <span class="preprocessor">#endif //__gewiincludes_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

32
doc/html/GewiIncludes_8h.html Executable file
View File

@ -0,0 +1,32 @@
<!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>GewiIncludes.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiIncludes.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Include file for <a class="el" href="namespaceGewi.html">Gewi</a>, contains external includes for <a class="el" href="namespaceGewi.html">Gewi</a>. <br>
<dl compact><dt><b>id</b></dt><dd><a class="el" href="GewiIncludes_8h.html">GewiIncludes.h</a>,v 1.3 2003/05/19 23:56:05 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include &lt;string&gt;</code><br>
<code>#include &lt;vector&gt;</code><br>
<code>#include &lt;cmath&gt;</code><br>
<code>#include &lt;climits&gt;</code><br>
<code>#include "ZEngine.h"</code><br>
<code>#include "<a class="el" href="GewiDefines_8h-source.html">GewiDefines.h</a>"</code><br>
<p>
<a href="GewiIncludes_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

27
doc/html/GewiSlider_8cpp.html Executable file
View File

@ -0,0 +1,27 @@
<!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>GewiSlider.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/src/GewiSlider.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Implementation of GSlider, GHorizSlider and GVertSlider, the slide-select classes for <a class="el" href="namespaceGewi.html">Gewi</a>. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiSlider_8cpp.html">GewiSlider.cpp</a>,v 1.5 2003/06/12 09:32:33 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiSlider_8h-source.html">GewiSlider.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,74 @@
<!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>/include/GewiSlider.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiSlider.h</h1><a href="GewiSlider_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the Gewi GUI Library for ZEngine.</span>
00003 <span class="comment"> Gewi and ZEngine Copyright (C) 2002, 2003 James Turk</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under a BSD-style license. (see licensing.txt)</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (james@conceptofzero.net) </span>
00008 <span class="comment"> this library is found at the home of ZEngine http://zengine.sourceforge.net</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00020 <span class="preprocessor">#ifndef __gewislider_h__</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define __gewislider_h__</span>
00022 <span class="preprocessor"></span>
00023 <span class="preprocessor">#include "<a class="code" href="GewiEngine_8h.html">GewiEngine.h</a>"</span>
00024 <span class="preprocessor">#include "<a class="code" href="GewiWidget_8h.html">GewiWidget.h</a>"</span>
00025
00026 <span class="keyword">namespace </span>Gewi
00027 {
00028
<a name="l00034"></a><a class="code" href="classGewi_1_1GSlider.html">00034</a> <span class="keyword">class </span><a class="code" href="classGewi_1_1GSlider.html">GSlider</a> : <span class="keyword">public</span> <a class="code" href="classGewi_1_1GWidget.html">GWidget</a>
00035 {
00036 <span class="keyword">protected</span>:
<a name="l00038"></a><a class="code" href="classGewi_1_1GSlider.html#n0">00038</a> <span class="keywordtype">bool</span> <a class="code" href="classGewi_1_1GSlider.html#n0">rPressed</a>;
<a name="l00040"></a><a class="code" href="classGewi_1_1GSlider.html#n1">00040</a> <a class="code" href="namespaceGewi.html#a2">ResourceID</a> <a class="code" href="classGewi_1_1GSlider.html#n1">rBackground</a>;
<a name="l00042"></a><a class="code" href="classGewi_1_1GSlider.html#n2">00042</a> <a class="code" href="namespaceGewi.html#a2">ResourceID</a> <a class="code" href="classGewi_1_1GSlider.html#n2">rSlider</a>;
<a name="l00044"></a><a class="code" href="classGewi_1_1GSlider.html#n3">00044</a> <span class="keywordtype">float</span> <a class="code" href="classGewi_1_1GSlider.html#n3">rMin</a>;
<a name="l00046"></a><a class="code" href="classGewi_1_1GSlider.html#n4">00046</a> <span class="keywordtype">float</span> <a class="code" href="classGewi_1_1GSlider.html#n4">rMax</a>;
<a name="l00048"></a><a class="code" href="classGewi_1_1GSlider.html#n5">00048</a> <span class="keywordtype">float</span> <a class="code" href="classGewi_1_1GSlider.html#n5">rPos</a>;
<a name="l00050"></a><a class="code" href="classGewi_1_1GSlider.html#n6">00050</a> <span class="keywordtype">int</span> <a class="code" href="classGewi_1_1GSlider.html#n6">rIncrement</a>;
00051
00052 <span class="keyword">public</span>:
00059 <a class="code" href="classGewi_1_1GSlider.html#a0">GSlider</a>(<a class="code" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL);
00060
00075 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GSlider.html#a1">Create</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> width, <span class="keywordtype">float</span> height, ResourceID backgroundImg, ResourceID sliderImg,
00076 <span class="keywordtype">float</span> min, <span class="keywordtype">float</span> max, <span class="keywordtype">int</span> increment);
00077
00084 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GSlider.html#a2">SetPos</a>(<span class="keywordtype">float</span> pos);
00085
00092 <span class="keywordtype">float</span> <a class="code" href="classGewi_1_1GSlider.html#a3">GetPos</a>();
00093 };
00094
<a name="l00100"></a><a class="code" href="classGewi_1_1GHorizSlider.html">00100</a> <span class="keyword">class </span><a class="code" href="classGewi_1_1GHorizSlider.html">GHorizSlider</a> : <span class="keyword">public</span> <a class="code" href="classGewi_1_1GSlider.html">GSlider</a>
00101 {
00102 <span class="keyword">public</span>:
00113 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GHorizSlider.html#a0">Message</a>(SDL_Event *rawEvent, <a class="code" href="namespaceGewi.html#a18">GewiEvent</a> event, Uint16 mouseX, Uint16 mouseY, <span class="keywordtype">char</span> ch);
00114
00120 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GHorizSlider.html#a1">Show</a>();
00121 };
00122
<a name="l00128"></a><a class="code" href="classGewi_1_1GVertSlider.html">00128</a> <span class="keyword">class </span><a class="code" href="classGewi_1_1GVertSlider.html">GVertSlider</a> : <span class="keyword">public</span> <a class="code" href="classGewi_1_1GSlider.html">GSlider</a>
00129 {
00130 <span class="keyword">public</span>:
00141 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GVertSlider.html#a0">Message</a>(SDL_Event *rawEvent, <a class="code" href="namespaceGewi.html#a18">GewiEvent</a> event, Uint16 mouseX, Uint16 mouseY, <span class="keywordtype">char</span> ch);
00142
00148 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GVertSlider.html#a1">Show</a>();
00149 };
00150
00151 }
00152
00153 <span class="preprocessor">#endif //__gewislider_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

30
doc/html/GewiSlider_8h.html Executable file
View File

@ -0,0 +1,30 @@
<!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>GewiSlider.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiSlider.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Definition file for GSlider, GHorizSlider and GVertSlider, the slide-select classes for <a class="el" href="namespaceGewi.html">Gewi</a>. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiSlider_8h.html">GewiSlider.h</a>,v 1.4 2003/06/07 05:41:18 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiEngine_8h-source.html">GewiEngine.h</a>"</code><br>
<code>#include "<a class="el" href="GewiWidget_8h-source.html">GewiWidget.h</a>"</code><br>
<p>
<a href="GewiSlider_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,27 @@
<!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>GewiStaticText.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/src/GewiStaticText.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Implementation of GStaticText, file to hold static text, labels and such. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiStaticText_8cpp.html">GewiStaticText.cpp</a>,v 1.6 2003/06/12 09:32:33 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiStaticText_8h-source.html">GewiStaticText.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,61 @@
<!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>/include/GewiStaticText.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiStaticText.h</h1><a href="GewiStaticText_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the Gewi GUI Library for ZEngine.</span>
00003 <span class="comment"> Gewi and ZEngine Copyright (C) 2002, 2003 James Turk</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under a BSD-style license. (see licensing.txt)</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (james@conceptofzero.net) </span>
00008 <span class="comment"> this library is found at the home of ZEngine http://zengine.sourceforge.net</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00020 <span class="preprocessor">#ifndef __gewistatictext_h__</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define __gewistatictext_h__</span>
00022 <span class="preprocessor"></span>
00023 <span class="preprocessor">#include "<a class="code" href="GewiEngine_8h.html">GewiEngine.h</a>"</span>
00024 <span class="preprocessor">#include "<a class="code" href="GewiWidget_8h.html">GewiWidget.h</a>"</span>
00025
00026 <span class="keyword">namespace </span>Gewi
00027 {
00028
<a name="l00034"></a><a class="code" href="classGewi_1_1GStaticText.html">00034</a> <span class="keyword">class </span><a class="code" href="classGewi_1_1GStaticText.html">GStaticText</a> : <span class="keyword">public</span> <a class="code" href="classGewi_1_1GWidget.html">GWidget</a>
00035 {
00036 <span class="keyword">protected</span>:
<a name="l00038"></a><a class="code" href="classGewi_1_1GStaticText.html#n0">00038</a> <a class="code" href="namespaceGewi.html#a2">ResourceID</a> <a class="code" href="classGewi_1_1GStaticText.html#n0">rBackgroundImage</a>;
<a name="l00040"></a><a class="code" href="classGewi_1_1GStaticText.html#n1">00040</a> <a class="code" href="namespaceGewi.html#a2">ResourceID</a> <a class="code" href="classGewi_1_1GStaticText.html#n1">rFont</a>;
<a name="l00042"></a><a class="code" href="classGewi_1_1GStaticText.html#n2">00042</a> std::string <a class="code" href="classGewi_1_1GStaticText.html#n2">rText</a>;
<a name="l00044"></a><a class="code" href="classGewi_1_1GStaticText.html#n3">00044</a> ZE::ZImage <a class="code" href="classGewi_1_1GStaticText.html#n3">rTextBuf</a>;
<a name="l00046"></a><a class="code" href="classGewi_1_1GStaticText.html#n4">00046</a> <span class="keywordtype">int</span> <a class="code" href="classGewi_1_1GStaticText.html#n4">rXOff</a>;
<a name="l00048"></a><a class="code" href="classGewi_1_1GStaticText.html#n5">00048</a> <span class="keywordtype">int</span> <a class="code" href="classGewi_1_1GStaticText.html#n5">rYOff</a>;
<a name="l00050"></a><a class="code" href="classGewi_1_1GStaticText.html#n6">00050</a> <a class="code" href="namespaceGewi.html#a3">GewiJustify</a> <a class="code" href="classGewi_1_1GStaticText.html#n6">rJustify</a>;
00051 <span class="keyword">public</span>:
00058 <a class="code" href="classGewi_1_1GStaticText.html#a0">GStaticText</a>(<a class="code" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL);
00059
00073 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GStaticText.html#a1">Create</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> width, <span class="keywordtype">float</span> height,
00074 ResourceID font, std::string text=<span class="stringliteral">" "</span>, GewiJustify just=GJ_CENTER, ResourceID backgroundImg=GewiEngine::InvalidID);
00075
00086 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GStaticText.html#a2">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, <span class="keywordtype">char</span> ch);
00087
00093 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GStaticText.html#a3">Show</a>();
00094
00101 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GStaticText.html#a4">SetText</a>(std::string text);
00102
00109 std::string <a class="code" href="classGewi_1_1GStaticText.html#a5">GetText</a>();
00110 };
00111
00112 }
00113
00114 <span class="preprocessor">#endif //__gewistatictext_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

30
doc/html/GewiStaticText_8h.html Executable file
View File

@ -0,0 +1,30 @@
<!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>GewiStaticText.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiStaticText.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Definition file for GStaticText, file to hold static text, labels and such. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiStaticText_8h.html">GewiStaticText.h</a>,v 1.5 2003/06/11 00:19:40 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiEngine_8h-source.html">GewiEngine.h</a>"</code><br>
<code>#include "<a class="el" href="GewiWidget_8h-source.html">GewiWidget.h</a>"</code><br>
<p>
<a href="GewiStaticText_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,27 @@
<!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>GewiTextButton.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/src/GewiTextButton.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Implementation of GTextButton, a GButton that has a text label. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiTextButton_8cpp.html">GewiTextButton.cpp</a>,v 1.4 2003/06/11 00:19:29 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiTextButton_8h-source.html">GewiTextButton.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,58 @@
<!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>/include/GewiTextButton.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiTextButton.h</h1><a href="GewiTextButton_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the Gewi GUI Library for ZEngine.</span>
00003 <span class="comment"> Gewi and ZEngine Copyright (C) 2002, 2003 James Turk</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under a BSD-style license. (see licensing.txt)</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (james@conceptofzero.net) </span>
00008 <span class="comment"> this library is found at the home of ZEngine http://zengine.sourceforge.net</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00020 <span class="preprocessor">#ifndef __gewitextbutton_h__</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define __gewitextbutton_h__</span>
00022 <span class="preprocessor"></span>
00023 <span class="preprocessor">#include "<a class="code" href="GewiEngine_8h.html">GewiEngine.h</a>"</span>
00024 <span class="preprocessor">#include "<a class="code" href="GewiButton_8h.html">GewiButton.h</a>"</span>
00025
00026 <span class="keyword">namespace </span>Gewi
00027 {
00028
<a name="l00034"></a><a class="code" href="classGewi_1_1GTextButton.html">00034</a> <span class="keyword">class </span><a class="code" href="classGewi_1_1GTextButton.html">GTextButton</a> : <span class="keyword">public</span> <a class="code" href="classGewi_1_1GButton.html">GButton</a>
00035 {
00036 <span class="keyword">protected</span>:
<a name="l00038"></a><a class="code" href="classGewi_1_1GTextButton.html#n0">00038</a> std::string <a class="code" href="classGewi_1_1GTextButton.html#n0">rText</a>;
<a name="l00040"></a><a class="code" href="classGewi_1_1GTextButton.html#n1">00040</a> ZE::ZImage <a class="code" href="classGewi_1_1GTextButton.html#n1">rTextBuf</a>;
<a name="l00042"></a><a class="code" href="classGewi_1_1GTextButton.html#n2">00042</a> <span class="keywordtype">int</span> <a class="code" href="classGewi_1_1GTextButton.html#n2">rXOff</a>;
<a name="l00044"></a><a class="code" href="classGewi_1_1GTextButton.html#n3">00044</a> <span class="keywordtype">int</span> <a class="code" href="classGewi_1_1GTextButton.html#n3">rYOff</a>;
<a name="l00046"></a><a class="code" href="classGewi_1_1GTextButton.html#n4">00046</a> <a class="code" href="namespaceGewi.html#a2">ResourceID</a> <a class="code" href="classGewi_1_1GTextButton.html#n4">rFont</a>;
00047
00048 <span class="keyword">public</span>:
00055 <a class="code" href="classGewi_1_1GTextButton.html#a0">GTextButton</a>(<a class="code" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL);
00056
00071 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GTextButton.html#a1">Create</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> width, <span class="keywordtype">float</span> height, ResourceID normalImg, ResourceID pressImg, ResourceID font,
00072 std::string text=<span class="stringliteral">" "</span>, GButtonType type=GBT_PRESS);
00073
00079 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GTextButton.html#a2">Show</a>();
00080
00087 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GTextButton.html#a3">SetText</a>(std::string text);
00088
00095 std::string <a class="code" href="classGewi_1_1GTextButton.html#a4">GetText</a>();
00096 };
00097
00098 }
00099
00100 <span class="preprocessor">#endif //__gewitextbutton_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

30
doc/html/GewiTextButton_8h.html Executable file
View File

@ -0,0 +1,30 @@
<!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>GewiTextButton.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiTextButton.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Definition file for GTextButton, a GButton that has a text label. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiTextButton_8h.html">GewiTextButton.h</a>,v 1.5 2003/06/11 00:19:40 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiEngine_8h-source.html">GewiEngine.h</a>"</code><br>
<code>#include "<a class="el" href="GewiButton_8h-source.html">GewiButton.h</a>"</code><br>
<p>
<a href="GewiTextButton_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,27 @@
<!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>GewiTextField.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/src/GewiTextField.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Implementation of GTextField, text input area widget. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiTextField_8cpp.html">GewiTextField.cpp</a>,v 1.6 2003/06/12 09:32:33 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiTextField_8h-source.html">GewiTextField.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,60 @@
<!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>/include/GewiTextField.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiTextField.h</h1><a href="GewiTextField_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the Gewi GUI Library for ZEngine.</span>
00003 <span class="comment"> Gewi and ZEngine Copyright (C) 2002, 2003 James Turk</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under a BSD-style license. (see licensing.txt)</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (james@conceptofzero.net) </span>
00008 <span class="comment"> this library is found at the home of ZEngine http://zengine.sourceforge.net</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00020 <span class="preprocessor">#ifndef __gewitextfield_h__</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define __gewitextfield_h__</span>
00022 <span class="preprocessor"></span>
00023 <span class="preprocessor">#include "<a class="code" href="GewiEngine_8h.html">GewiEngine.h</a>"</span>
00024 <span class="preprocessor">#include "<a class="code" href="GewiWidget_8h.html">GewiWidget.h</a>"</span>
00025
00026 <span class="keyword">namespace </span>Gewi
00027 {
00028
<a name="l00034"></a><a class="code" href="classGewi_1_1GTextField.html">00034</a> <span class="keyword">class </span><a class="code" href="classGewi_1_1GTextField.html">GTextField</a> : <span class="keyword">public</span> <a class="code" href="classGewi_1_1GWidget.html">GWidget</a>
00035 {
00036 <span class="keyword">protected</span>:
<a name="l00038"></a><a class="code" href="classGewi_1_1GTextField.html#n0">00038</a> std::string <a class="code" href="classGewi_1_1GTextField.html#n0">rText</a>;
<a name="l00040"></a><a class="code" href="classGewi_1_1GTextField.html#n1">00040</a> ZE::ZImage <a class="code" href="classGewi_1_1GTextField.html#n1">rBuffer</a>;
<a name="l00042"></a><a class="code" href="classGewi_1_1GTextField.html#n2">00042</a> <a class="code" href="namespaceGewi.html#a2">ResourceID</a> <a class="code" href="classGewi_1_1GTextField.html#n2">rFont</a>;
<a name="l00044"></a><a class="code" href="classGewi_1_1GTextField.html#n3">00044</a> <a class="code" href="namespaceGewi.html#a2">ResourceID</a> <a class="code" href="classGewi_1_1GTextField.html#n3">rBackground</a>;
<a name="l00046"></a><a class="code" href="classGewi_1_1GTextField.html#n4">00046</a> <span class="keywordtype">int</span> <a class="code" href="classGewi_1_1GTextField.html#n4">rMaxChars</a>;
<a name="l00048"></a><a class="code" href="classGewi_1_1GTextField.html#n5">00048</a> <span class="keywordtype">int</span> <a class="code" href="classGewi_1_1GTextField.html#n5">rLeftPadding</a>;
00049
00050 <span class="keyword">public</span>:
00057 <a class="code" href="classGewi_1_1GTextField.html#a0">GTextField</a>(<a class="code" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL);
00058
00072 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GTextField.html#a1">Create</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> width, <span class="keywordtype">float</span> height, ResourceID font, ResourceID backgroundImg, <span class="keywordtype">int</span> maxChars=256, <span class="keywordtype">int</span> leftPad=0);
00073
00084 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GTextField.html#a2">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, <span class="keywordtype">char</span> ch);
00085
00091 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GTextField.html#a3">Show</a>();
00092
00099 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GTextField.html#a4">SetText</a>(std::string text);
00100
00107 std::string <a class="code" href="classGewi_1_1GTextField.html#a5">GetText</a>();
00108 };
00109
00110 }
00111
00112 <span class="preprocessor">#endif //__gewiewitextfield_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

30
doc/html/GewiTextField_8h.html Executable file
View File

@ -0,0 +1,30 @@
<!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>GewiTextField.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiTextField.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Definition file for GTextField, text input area widget. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiTextField_8h.html">GewiTextField.h</a>,v 1.6 2003/06/11 00:19:40 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiEngine_8h-source.html">GewiEngine.h</a>"</code><br>
<code>#include "<a class="el" href="GewiWidget_8h-source.html">GewiWidget.h</a>"</code><br>
<p>
<a href="GewiTextField_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,28 @@
<!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>GewiWidgetList.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/src/GewiWidgetList.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Implementation of WidgetList, a list of widgets used by GewiEngine and GContainers. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiWidgetList_8cpp.html">GewiWidgetList.cpp</a>,v 1.5 2003/06/12 09:32:33 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiWidgetList_8h-source.html">GewiWidgetList.h</a>"</code><br>
<code>#include "<a class="el" href="GewiWidget_8h-source.html">GewiWidget.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,71 @@
<!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>/include/GewiWidgetList.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiWidgetList.h</h1><a href="GewiWidgetList_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the Gewi GUI Library for ZEngine.</span>
00003 <span class="comment"> Gewi and ZEngine Copyright (C) 2002, 2003 James Turk</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under a BSD-style license. (see licensing.txt)</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (james@conceptofzero.net) </span>
00008 <span class="comment"> this library is found at the home of ZEngine http://zengine.sourceforge.net</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00020 <span class="preprocessor">#ifndef __gewiwidgetlist_h__</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define __gewiwidgetlist_h__</span>
00022 <span class="preprocessor"></span>
00023 <span class="preprocessor">#include "<a class="code" href="GewiIncludes_8h.html">GewiIncludes.h</a>"</span>
00024
00025 <span class="keyword">namespace </span>Gewi
00026 {
00027
00028 <span class="keyword">class </span>GWidget;
00029
<a name="l00035"></a><a class="code" href="classGewi_1_1WidgetNode.html">00035</a> <span class="keyword">class </span><a class="code" href="classGewi_1_1WidgetNode.html">WidgetNode</a>
00036 {
00037 <span class="keyword">public</span>:
00043 <a class="code" href="classGewi_1_1WidgetNode.html#a0">WidgetNode</a>();
00044
<a name="l00046"></a><a class="code" href="classGewi_1_1WidgetNode.html#m0">00046</a> <a class="code" href="classGewi_1_1GWidget.html">GWidget</a> *<a class="code" href="classGewi_1_1WidgetNode.html#m0">widget</a>;
<a name="l00048"></a><a class="code" href="classGewi_1_1WidgetNode.html#m1">00048</a> <a class="code" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *<a class="code" href="classGewi_1_1WidgetNode.html#m1">prev</a>;
<a name="l00050"></a><a class="code" href="classGewi_1_1WidgetNode.html#m2">00050</a> <a class="code" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *<a class="code" href="classGewi_1_1WidgetNode.html#m2">next</a>;
00051 };
00052
00053
<a name="l00060"></a><a class="code" href="classGewi_1_1WidgetList.html">00060</a> <span class="keyword">class </span><a class="code" href="classGewi_1_1WidgetList.html">WidgetList</a>
00061 {
00062 <span class="keyword">private</span>:
<a name="l00064"></a><a class="code" href="classGewi_1_1WidgetList.html#o0">00064</a> <a class="code" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *<a class="code" href="classGewi_1_1WidgetList.html#o0">mWidgetList</a>;
<a name="l00066"></a><a class="code" href="classGewi_1_1WidgetList.html#o1">00066</a> <a class="code" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *<a class="code" href="classGewi_1_1WidgetList.html#o1">mClick</a>;
00067
00074 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1WidgetList.html#c0">DeleteWidgetMem</a>(<a class="code" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *node);
00075 <span class="keyword">public</span>:
00081 <a class="code" href="classGewi_1_1WidgetList.html#a0">WidgetList</a>();
00082
00089 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1WidgetList.html#a1">AddWidget</a>(<a class="code" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *node);
00090
00097 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1WidgetList.html#a2">DeleteWidget</a>(<a class="code" href="classGewi_1_1GWidget.html">GWidget</a> *widget);
00098
00104 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1WidgetList.html#a3">DeleteWidgets</a>();
00105
00116 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1WidgetList.html#a4">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, <span class="keywordtype">char</span> ch);
00117
00123 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1WidgetList.html#a5">FitParent</a>();
00124
00130 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1WidgetList.html#a6">ShowWidgets</a>();
00131 };
00132
00133 }
00134
00135 <span class="preprocessor">#endif //__gewiwidgetlist_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

29
doc/html/GewiWidgetList_8h.html Executable file
View File

@ -0,0 +1,29 @@
<!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>GewiWidgetList.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiWidgetList.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Definition file for WidgetList, a list of widgets used by GewiEngine and GContainers. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiWidgetList_8h.html">GewiWidgetList.h</a>,v 1.4 2003/06/07 05:41:18 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiIncludes_8h-source.html">GewiIncludes.h</a>"</code><br>
<p>
<a href="GewiWidgetList_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

29
doc/html/GewiWidget_8cpp.html Executable file
View File

@ -0,0 +1,29 @@
<!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>GewiWidget.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/src/GewiWidget.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Implementation of GWidget, virtual widget base class. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiWidget_8cpp.html">GewiWidget.cpp</a>,v 1.7 2003/06/12 09:32:33 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiWidget_8h-source.html">GewiWidget.h</a>"</code><br>
<code>#include "<a class="el" href="GewiEngine_8h-source.html">GewiEngine.h</a>"</code><br>
<code>#include "<a class="el" href="GewiContainer_8h-source.html">GewiContainer.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,77 @@
<!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>/include/GewiWidget.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiWidget.h</h1><a href="GewiWidget_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the Gewi GUI Library for ZEngine.</span>
00003 <span class="comment"> Gewi and ZEngine Copyright (C) 2002, 2003 James Turk</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under a BSD-style license. (see licensing.txt)</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (james@conceptofzero.net) </span>
00008 <span class="comment"> this library is found at the home of ZEngine http://zengine.sourceforge.net</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00020 <span class="preprocessor">#ifndef __gewiwidget_h__</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define __gewiwidget_h__</span>
00022 <span class="preprocessor"></span>
00023 <span class="preprocessor">#include "<a class="code" href="GewiIncludes_8h.html">GewiIncludes.h</a>"</span>
00024
00025 <span class="keyword">namespace </span>Gewi
00026 {
00027
00028 <span class="keyword">class </span>GewiEngine;
00029 <span class="keyword">class </span>GContainer;
00030
<a name="l00036"></a><a class="code" href="classGewi_1_1GWidget.html">00036</a> <span class="keyword">class </span><a class="code" href="classGewi_1_1GWidget.html">GWidget</a>
00037 {
00038 <span class="keyword">protected</span>:
<a name="l00040"></a><a class="code" href="classGewi_1_1GWidget.html#n0">00040</a> <a class="code" href="classGewi_1_1GewiEngine.html">GewiEngine</a> *<a class="code" href="classGewi_1_1GWidget.html#n0">rGewi</a>;
<a name="l00042"></a><a class="code" href="classGewi_1_1GWidget.html#n1">00042</a> ZE::ZEngine *<a class="code" href="classGewi_1_1GWidget.html#n1">rZE</a>;
<a name="l00044"></a><a class="code" href="classGewi_1_1GWidget.html#n2">00044</a> ZE::ZRect <a class="code" href="classGewi_1_1GWidget.html#n2">rBoundRect</a>;
<a name="l00046"></a><a class="code" href="classGewi_1_1GWidget.html#n3">00046</a> <a class="code" href="classGewi_1_1GContainer.html">GContainer</a> *<a class="code" href="classGewi_1_1GWidget.html#n3">rParent</a>;
<a name="l00048"></a><a class="code" href="classGewi_1_1GWidget.html#n4">00048</a> <span class="keywordtype">float</span> <a class="code" href="classGewi_1_1GWidget.html#n4">rRelX</a>;
<a name="l00050"></a><a class="code" href="classGewi_1_1GWidget.html#n5">00050</a> <span class="keywordtype">float</span> <a class="code" href="classGewi_1_1GWidget.html#n5">rRelY</a>;
<a name="l00052"></a><a class="code" href="classGewi_1_1GWidget.html#n6">00052</a> <span class="keywordtype">bool</span> <a class="code" href="classGewi_1_1GWidget.html#n6">rVisible</a>;
00053
00054 <span class="keyword">public</span>:
00061 <a class="code" href="classGewi_1_1GWidget.html#a0">GWidget</a>(<a class="code" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL);
00062
00068 <span class="keyword">virtual</span> <a class="code" href="classGewi_1_1GWidget.html#a1">~GWidget</a>();
00069
00075 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GWidget.html#a2">ToggleVisible</a>();
00076
00083 <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GWidget.html#a3">FitParent</a>();
00084
00094 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GWidget.html#a4">Create</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> width, <span class="keywordtype">float</span> height);
00095
00103 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GWidget.html#a5">Move</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y);
00104
00115 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GWidget.html#a6">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, <span class="keywordtype">char</span> ch)=0;
00116
00122 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GWidget.html#a7">Show</a>()=0;
00123
00130 <span class="keywordtype">float</span> <a class="code" href="classGewi_1_1GWidget.html#a8">X</a>();
00131
00138 <span class="keywordtype">float</span> <a class="code" href="classGewi_1_1GWidget.html#a9">Y</a>();
00139
00146 <span class="keywordtype">bool</span> <a class="code" href="classGewi_1_1GWidget.html#a10">Visible</a>();
00147
00154 <span class="keywordtype">bool</span> <a class="code" href="classGewi_1_1GWidget.html#a11">MouseInWidget</a>();
00155
00163 <span class="keywordtype">bool</span> <a class="code" href="classGewi_1_1GWidget.html#a12">Contains</a>(Sint16 x, Sint16 y);
00164 };
00165
00166 }
00167
00168 <span class="preprocessor">#endif //__gewiwidget_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

29
doc/html/GewiWidget_8h.html Executable file
View File

@ -0,0 +1,29 @@
<!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>GewiWidget.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiWidget.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Definition file for GWidget, virtual widget base class. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiWidget_8h.html">GewiWidget.h</a>,v 1.6 2003/06/11 00:19:40 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiIncludes_8h-source.html">GewiIncludes.h</a>"</code><br>
<p>
<a href="GewiWidget_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

27
doc/html/GewiWindow_8cpp.html Executable file
View File

@ -0,0 +1,27 @@
<!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>GewiWindow.cpp File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/src/GewiWindow.cpp File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Implementation of GWindow, a basic window class based on GContainer. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiWindow_8cpp.html">GewiWindow.cpp</a>,v 1.4 2003/06/07 05:42:33 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiWindow_8h-source.html">GewiWindow.h</a>"</code><br>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,54 @@
<!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>/include/GewiWindow.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiWindow.h</h1><a href="GewiWindow_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the Gewi GUI Library for ZEngine.</span>
00003 <span class="comment"> Gewi and ZEngine Copyright (C) 2002, 2003 James Turk</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under a BSD-style license. (see licensing.txt)</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (james@conceptofzero.net) </span>
00008 <span class="comment"> this library is found at the home of ZEngine http://zengine.sourceforge.net</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00020 <span class="preprocessor">#ifndef __gewiwindow_h__</span>
00021 <span class="preprocessor"></span><span class="preprocessor">#define __gewiwindow_h__</span>
00022 <span class="preprocessor"></span>
00023 <span class="preprocessor">#include "<a class="code" href="GewiEngine_8h.html">GewiEngine.h</a>"</span>
00024 <span class="preprocessor">#include "<a class="code" href="GewiContainer_8h.html">GewiContainer.h</a>"</span>
00025
00026 <span class="keyword">namespace </span>Gewi
00027 {
00028
<a name="l00034"></a><a class="code" href="classGewi_1_1GWindow.html">00034</a> <span class="keyword">class </span><a class="code" href="classGewi_1_1GWindow.html">GWindow</a> : <span class="keyword">public</span> <a class="code" href="classGewi_1_1GContainer.html">GContainer</a>
00035 {
00036 <span class="keyword">protected</span>:
<a name="l00038"></a><a class="code" href="classGewi_1_1GWindow.html#n0">00038</a> <span class="keywordtype">bool</span> <a class="code" href="classGewi_1_1GWindow.html#n0">rDrag</a>;
<a name="l00040"></a><a class="code" href="classGewi_1_1GWindow.html#n1">00040</a> <span class="keywordtype">float</span> <a class="code" href="classGewi_1_1GWindow.html#n1">rDragX</a>;
<a name="l00042"></a><a class="code" href="classGewi_1_1GWindow.html#n2">00042</a> <span class="keywordtype">float</span> <a class="code" href="classGewi_1_1GWindow.html#n2">rDragY</a>;
<a name="l00044"></a><a class="code" href="classGewi_1_1GWindow.html#n3">00044</a> <a class="code" href="namespaceGewi.html#a2">ResourceID</a> <a class="code" href="classGewi_1_1GWindow.html#n3">rBackground</a>;
00045
00046 <span class="keyword">public</span>:
00053 <a class="code" href="classGewi_1_1GWindow.html#a0">GWindow</a>(<a class="code" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL);
00054
00065 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GWindow.html#a1">Create</a>(<span class="keywordtype">float</span> x, <span class="keywordtype">float</span> y, <span class="keywordtype">float</span> width, <span class="keywordtype">float</span> height, ResourceID backgroundImg);
00066
00077 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GWindow.html#a2">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, <span class="keywordtype">char</span> ch);
00078
00084 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classGewi_1_1GWindow.html#a3">Show</a>();
00085 };
00086
00087 }
00088
00089 <span class="preprocessor">#endif //__gewiwindow_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

30
doc/html/GewiWindow_8h.html Executable file
View File

@ -0,0 +1,30 @@
<!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>GewiWindow.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/GewiWindow.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Definition file for GWindow, a basic window class based on GContainer. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="GewiWindow_8h.html">GewiWindow.h</a>,v 1.4 2003/06/07 05:41:18 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiEngine_8h-source.html">GewiEngine.h</a>"</code><br>
<code>#include "<a class="el" href="GewiContainer_8h-source.html">GewiContainer.h</a>"</code><br>
<p>
<a href="GewiWindow_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Namespaces</h2></td></tr>
<tr><td nowrap align=right valign=top>namespace &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

30
doc/html/Gewi_8h-source.html Executable file
View File

@ -0,0 +1,30 @@
<!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>/include/Gewi.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/Gewi.h</h1><a href="Gewi_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
00050 <span class="preprocessor">#ifndef __gewi_h__</span>
00051 <span class="preprocessor"></span><span class="preprocessor">#define __gewi_h__</span>
00052 <span class="preprocessor"></span>
00053 <span class="preprocessor">#include "<a class="code" href="GewiIncludes_8h.html">GewiIncludes.h</a>"</span>
00054 <span class="preprocessor">#include "<a class="code" href="GewiDefines_8h.html">GewiDefines.h</a>"</span>
00055 <span class="preprocessor">#include "<a class="code" href="GewiContainer_8h.html">GewiContainer.h</a>"</span>
00056 <span class="preprocessor">#include "<a class="code" href="GewiButton_8h.html">GewiButton.h</a>"</span>
00057 <span class="preprocessor">#include "<a class="code" href="GewiEngine_8h.html">GewiEngine.h</a>"</span>
00058 <span class="preprocessor">#include "<a class="code" href="GewiSlider_8h.html">GewiSlider.h</a>"</span>
00059 <span class="preprocessor">#include "<a class="code" href="GewiStaticText_8h.html">GewiStaticText.h</a>"</span>
00060 <span class="preprocessor">#include "<a class="code" href="GewiTextButton_8h.html">GewiTextButton.h</a>"</span>
00061 <span class="preprocessor">#include "<a class="code" href="GewiTextField_8h.html">GewiTextField.h</a>"</span>
00062 <span class="preprocessor">#include "<a class="code" href="GewiWindow_8h.html">GewiWindow.h</a>"</span>
00063
00064 <span class="preprocessor">#endif //__zengine_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

36
doc/html/Gewi_8h.html Executable file
View File

@ -0,0 +1,36 @@
<!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>Gewi.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>/include/Gewi.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Header file for the <a class="el" href="namespaceGewi.html">Gewi</a> GUI lib, an addon for the ZEngine Game Engine, both from Concept of Zero, this is the file that programs that wish to use should include. <br>
<dl compact><dt><b>Id</b></dt><dd><a class="el" href="Gewi_8h.html">Gewi.h</a>,v 1.2 2003/06/16 04:47:54 cozman Exp </dd></dl>
<br>
<dl compact><dt><b>Author:</b></dt><dd>James Turk</dd></dl>
<p>
<code>#include "<a class="el" href="GewiIncludes_8h-source.html">GewiIncludes.h</a>"</code><br>
<code>#include "<a class="el" href="GewiDefines_8h-source.html">GewiDefines.h</a>"</code><br>
<code>#include "<a class="el" href="GewiContainer_8h-source.html">GewiContainer.h</a>"</code><br>
<code>#include "<a class="el" href="GewiButton_8h-source.html">GewiButton.h</a>"</code><br>
<code>#include "<a class="el" href="GewiEngine_8h-source.html">GewiEngine.h</a>"</code><br>
<code>#include "<a class="el" href="GewiSlider_8h-source.html">GewiSlider.h</a>"</code><br>
<code>#include "<a class="el" href="GewiStaticText_8h-source.html">GewiStaticText.h</a>"</code><br>
<code>#include "<a class="el" href="GewiTextButton_8h-source.html">GewiTextButton.h</a>"</code><br>
<code>#include "<a class="el" href="GewiTextField_8h-source.html">GewiTextField.h</a>"</code><br>
<code>#include "<a class="el" href="GewiWindow_8h-source.html">GewiWindow.h</a>"</code><br>
<p>
<a href="Gewi_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

29
doc/html/annotated.html Executable file
View File

@ -0,0 +1,29 @@
<!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>Annotated Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi Compound List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table>
<tr><td class="indexkey"><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td class="indexvalue"><a class="el" href="classGewi_1_1GButton.html">GButton</a> class for basic buttons</td></tr>
<tr><td class="indexkey"><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td class="indexvalue"><a class="el" href="classGewi_1_1GContainer.html">GContainer</a> class, definition of a container widget</td></tr>
<tr><td class="indexkey"><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td class="indexvalue">Main <a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a> Singleton Class</td></tr>
<tr><td class="indexkey"><a class="el" href="classGewi_1_1GHorizSlider.html">Gewi::GHorizSlider</a></td><td class="indexvalue"><a class="el" href="classGewi_1_1GHorizSlider.html">GHorizSlider</a>, horizontal slider widget class</td></tr>
<tr><td class="indexkey"><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td class="indexvalue"><a class="el" href="classGewi_1_1GSlider.html">GSlider</a> (virtual) slider widget class</td></tr>
<tr><td class="indexkey"><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a></td><td class="indexvalue"><a class="el" href="classGewi_1_1GStaticText.html">GStaticText</a> for stationary labels</td></tr>
<tr><td class="indexkey"><a class="el" href="classGewi_1_1GTextButton.html">Gewi::GTextButton</a></td><td class="indexvalue"><a class="el" href="classGewi_1_1GTextButton.html">GTextButton</a> class for button with text label</td></tr>
<tr><td class="indexkey"><a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a></td><td class="indexvalue"><a class="el" href="classGewi_1_1GTextField.html">GTextField</a> class for basic text input area</td></tr>
<tr><td class="indexkey"><a class="el" href="classGewi_1_1GVertSlider.html">Gewi::GVertSlider</a></td><td class="indexvalue"><a class="el" href="classGewi_1_1GHorizSlider.html">GHorizSlider</a>, horizontal slider widget class</td></tr>
<tr><td class="indexkey"><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td class="indexvalue"><a class="el" href="classGewi_1_1GWidget.html">GWidget</a> base widget class</td></tr>
<tr><td class="indexkey"><a class="el" href="classGewi_1_1GWindow.html">Gewi::GWindow</a></td><td class="indexvalue"><a class="el" href="classGewi_1_1GWindow.html">GWindow</a>, a simple window class</td></tr>
<tr><td class="indexkey"><a class="el" href="classGewi_1_1WidgetList.html">Gewi::WidgetList</a></td><td class="indexvalue">Class containing a linked list of widgets</td></tr>
<tr><td class="indexkey"><a class="el" href="classGewi_1_1WidgetNode.html">Gewi::WidgetNode</a></td><td class="indexvalue"><a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> class, node for linked list</td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,43 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GButton Member List</h1>This is the complete list of members for <a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a12">Contains</a>(Sint16 x, Sint16 y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#a1">Create</a>(float x, float y, float width, float height, ResourceID normalImg, ResourceID pressImg, GButtonType type=GBT_PRESS)</td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a4">Gewi::GWidget::Create</a>(float x, float y, float width, float height)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a3">FitParent</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#a0">GButton</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a0">GWidget</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#a4">IsPressed</a>()</td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#a2">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)</td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a11">MouseInWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a5">Move</a>(float x, float y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n2">rBoundRect</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n0">rGewi</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#n2">rNormalImage</a></td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n3">rParent</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#n0">rPressed</a></td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#n3">rPressedImage</a></td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n4">rRelX</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n5">rRelY</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#n1">rType</a></td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n6">rVisible</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n1">rZE</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#a5">SetState</a>(bool pressed)</td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#a3">Show</a>()</td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a2">ToggleVisible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a10">Visible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a8">X</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a9">Y</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a1">~GWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,331 @@
<!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>Gewi::GButton class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GButton Class Reference</h1><code>#include &lt;<a class="el" href="GewiButton_8h-source.html">GewiButton.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a>.
<p>
Inherited by <a class="el" href="classGewi_1_1GTextButton.html">Gewi::GTextButton</a>.
<p>
<a href="classGewi_1_1GButton-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classGewi_1_1GButton.html">GButton</a> simple button widget, derived from <a class="el" href="classGewi_1_1GWidget.html">GWidget</a>.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GButton.html#a0">GButton</a> (<a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Simple constructor for <a class="el" href="classGewi_1_1GButton.html">GButton</a>.</em> <a href="#a0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GButton.html#a1">Create</a> (float x, float y, float width, float height, <a class="el" href="namespaceGewi.html#a2">ResourceID</a> normalImg, <a class="el" href="namespaceGewi.html#a2">ResourceID</a> pressImg, <a class="el" href="namespaceGewi.html#a17">GButtonType</a> type=GBT_PRESS)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">GButton's create function, must be called to set up actual button.</em> <a href="#a1"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GButton.html#a2">Message</a> (SDL_Event *rawEvent, <a class="el" href="namespaceGewi.html#a18">GewiEvent</a> event, Uint16 mouseX, Uint16 mouseY, char ch)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Overload of Message, used to recieve messages.</em> <a href="#a2"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GButton.html#a3">Show</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Draws this button to the screen.</em> <a href="#a3"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GButton.html#a4">IsPressed</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Returns button state.</em> <a href="#a4"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GButton.html#a5">SetState</a> (bool pressed)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Sets button state (pressed/unpressed).</em> <a href="#a5"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="Gewi::GButton::rPressed"></a>
bool&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GButton.html#n0">rPressed</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Boolean holding if button is currently pressed or not.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="Gewi::GButton::rType"></a>
<a class="el" href="namespaceGewi.html#a17">GButtonType</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GButton.html#n1">rType</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Enum for type of button.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="Gewi::GButton::rNormalImage"></a>
<a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GButton.html#n2">rNormalImage</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Resource ID for the non-pressed image.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n3" doxytag="Gewi::GButton::rPressedImage"></a>
<a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GButton.html#n3">rPressedImage</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Resource ID for the pressed (or hover) image.</em><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gewi::GButton::GButton"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Gewi::GButton::GButton </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>parent</em> = NULL </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Constructor for <a class="el" href="classGewi_1_1GButton.html">GButton</a>, can take a parent. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>parent</em>&nbsp;</td><td>Pointer to <a class="el" href="classGewi_1_1GContainer.html">GContainer</a> derived class to be the parent. Default value is NULL which means no parent. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a1" doxytag="Gewi::GButton::Create"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GButton::Create </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">float&nbsp;</td>
<td class="mdname" nowrap> <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>y</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>width</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>height</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td>
<td class="mdname" nowrap> <em>normalImg</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td>
<td class="mdname" nowrap> <em>pressImg</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a17">GButtonType</a>&nbsp;</td>
<td class="mdname" nowrap> <em>type</em> = GBT_PRESS</td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Every widget has a create function which must be called to define the button's appearance and settings. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>x</em>&nbsp;</td><td>X position of widget within it's container (entire screen if no parent) </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y position of widget within it's container (entire screen if no parent) </td></tr>
<tr><td valign=top><em>width</em>&nbsp;</td><td>Width of widget. </td></tr>
<tr><td valign=top><em>height</em>&nbsp;</td><td>Height of widget. </td></tr>
<tr><td valign=top><em>normalImg</em>&nbsp;</td><td>Image for button when not pressed. </td></tr>
<tr><td valign=top><em>pressImg</em>&nbsp;</td><td>Image for button when pressed (or hovered if type is GBT_HOVER). </td></tr>
<tr><td valign=top><em>type</em>&nbsp;</td><td>GButtonType, either the default, GBT_PRESS (normal button), or GBT_HOVER (a button which responds to the hovering mouse). </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="Gewi::GButton::Message"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GButton::Message </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Event *&nbsp;</td>
<td class="mdname" nowrap> <em>rawEvent</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a18">GewiEvent</a>&nbsp;</td>
<td class="mdname" nowrap> <em>event</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseX</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseY</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>char&nbsp;</td>
<td class="mdname" nowrap> <em>ch</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Recieves and processes a message, required overload for all widgets. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>rawEvent</em>&nbsp;</td><td>SDL_Event of original message, may be needed if more information is available on event. (May be NULL). </td></tr>
<tr><td valign=top><em>event</em>&nbsp;</td><td>GewiEvent enum, description of event recieved. </td></tr>
<tr><td valign=top><em>mouseX</em>&nbsp;</td><td>Mouse x position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>mouseY</em>&nbsp;</td><td>Mouse y position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>ch</em>&nbsp;</td><td>Character pressed in event, may be 0 if not a keypress event. </td></tr>
</table>
</dl>
<p>
Implements <a class="el" href="classGewi_1_1GWidget.html#a6">Gewi::GWidget</a>. </td>
</tr>
</table>
<a name="a3" doxytag="Gewi::GButton::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 class="md" nowrap valign="top"> void Gewi::GButton::Show </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Draws widget to the screen, required overload for all widgets.
<p>
Implements <a class="el" href="classGewi_1_1GWidget.html#a7">Gewi::GWidget</a>.
<p>
Reimplemented in <a class="el" href="classGewi_1_1GTextButton.html#a2">Gewi::GTextButton</a>. </td>
</tr>
</table>
<a name="a4" doxytag="Gewi::GButton::IsPressed"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> bool Gewi::GButton::IsPressed </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns true if buttons is pressed, false otherwise. (GBT_HOVER can only be pressed once, after that they stay down.) <dl compact><dt><b>Returns:</b></dt><dd>button pressed state </dd></dl>
</td>
</tr>
</table>
<a name="a5" doxytag="Gewi::GButton::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 class="md" nowrap valign="top"> void Gewi::GButton::SetState </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">bool&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>pressed</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets button to pressed (true) or unpressed (false). <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>pressed</em>&nbsp;</td><td>true means pressed, false means unpressed. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li>/include/<a class="el" href="GewiButton_8h-source.html">GewiButton.h</a><li>/src/<a class="el" href="GewiButton_8cpp.html">GewiButton.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,42 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GContainer Member List</h1>This is the complete list of members for <a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#b0">AddChild</a>(GWidget *widget)</td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a12">Contains</a>(Sint16 x, Sint16 y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a4">Create</a>(float x, float y, float width, float height)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a3">FitParent</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#a0">GContainer</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#o0">GWidget</a></td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a0">Gewi::GWidget::GWidget</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#b2">InsertWidget</a>(WidgetNode *node)</td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#a3">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)</td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a11">MouseInWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#a2">Move</a>(float x, float y)</td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n2">rBoundRect</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#n0">rChildList</a></td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#b1">ReleaseChild</a>(GWidget *widget)</td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n0">rGewi</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n3">rParent</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n4">rRelX</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n5">rRelY</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n6">rVisible</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n1">rZE</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#a4">Show</a>()</td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a2">ToggleVisible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a10">Visible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a8">X</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a9">Y</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>~GContainer</b>() (defined in <a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a>)</td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a1">~GWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,358 @@
<!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>Gewi::GContainer class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GContainer Class Reference</h1><code>#include &lt;<a class="el" href="GewiContainer_8h-source.html">GewiContainer.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a>.
<p>
Inherited by <a class="el" href="classGewi_1_1GWindow.html">Gewi::GWindow</a>.
<p>
<a href="classGewi_1_1GContainer-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classGewi_1_1GContainer.html">GContainer</a> widget which is a standard <a class="el" href="classGewi_1_1GWidget.html">GWidget</a> that can serve as a parent, contain and manage other widgets.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GContainer.html#a0">GContainer</a> (GContainer *parent=NULL)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Simple constructor for <a class="el" href="classGewi_1_1GContainer.html">GContainer</a>.</em> <a href="#a0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GContainer.html#a2">Move</a> (float x, float y)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Move container and children.</em> <a href="#a2"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GContainer.html#a3">Message</a> (SDL_Event *rawEvent, <a class="el" href="namespaceGewi.html#a18">GewiEvent</a> event, Uint16 mouseX, Uint16 mouseY, char ch)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Overload of Message, used to recieve messages.</em> <a href="#a3"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GContainer.html#a4">Show</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Show children.</em> <a href="#a4"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GContainer.html#b0">AddChild</a> (<a class="el" href="classGewi_1_1GWidget.html">GWidget</a> *widget)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Adds a child to the child list.</em> <a href="#b0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GContainer.html#b1">ReleaseChild</a> (<a class="el" href="classGewi_1_1GWidget.html">GWidget</a> *widget)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Removes a child from the child list.</em> <a href="#b1"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GContainer.html#b2">InsertWidget</a> (<a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *node)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Inserts a child to the child list.</em> <a href="#b2"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="Gewi::GContainer::rChildList"></a>
<a class="el" href="classGewi_1_1WidgetList.html">WidgetList</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GContainer.html#n0">rChildList</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">List of child widgets assigned to this container.</em><br><br></td></tr>
<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>friend&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GContainer.html#o0">GWidget</a></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gewi::GContainer::GContainer"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Gewi::GContainer::GContainer </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">GContainer *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>parent</em> = NULL </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Constructor for <a class="el" href="classGewi_1_1GContainer.html">GContainer</a>, can take a parent (to be contained on a <a class="el" href="classGewi_1_1GContainer.html">GContainer</a> derived class, allowing nested containers). <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>parent</em>&nbsp;</td><td>Pointer to <a class="el" href="classGewi_1_1GContainer.html">GContainer</a> derived class to be the parent. Default value is NULL which means no parent. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="b0" doxytag="Gewi::GContainer::AddChild"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GContainer::AddChild </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1GWidget.html">GWidget</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>widget</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [protected]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Registers the widget as a child of this container, private because <a class="el" href="classGewi_1_1GWidget.html">GWidget</a> is a friend. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>widget</em>&nbsp;</td><td>Widget to register as a child of this container. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="b1" doxytag="Gewi::GContainer::ReleaseChild"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GContainer::ReleaseChild </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1GWidget.html">GWidget</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>widget</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [protected]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Releases the widget which is a child of this container, private because <a class="el" href="classGewi_1_1GWidget.html">GWidget</a> is a friend. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>widget</em>&nbsp;</td><td>Widget to release from this container. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="b2" doxytag="Gewi::GContainer::InsertWidget"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GContainer::InsertWidget </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>node</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [protected]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Calls needed function of <a class="el" href="classGewi_1_1WidgetList.html">WidgetList</a> class to put widget into the linked list. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>node</em>&nbsp;</td><td><a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> to insert into rChildList. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="Gewi::GContainer::Move"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GContainer::Move </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">float&nbsp;</td>
<td class="mdname" nowrap> <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>y</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Same as <a class="el" href="classGewi_1_1GWidget.html#a5">GWidget::Move</a> but overloaded to move children. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>x</em>&nbsp;</td><td>New x position for container. </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>New y position for container. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classGewi_1_1GWidget.html#a5">Gewi::GWidget</a>. </td>
</tr>
</table>
<a name="a3" doxytag="Gewi::GContainer::Message"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GContainer::Message </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Event *&nbsp;</td>
<td class="mdname" nowrap> <em>rawEvent</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a18">GewiEvent</a>&nbsp;</td>
<td class="mdname" nowrap> <em>event</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseX</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseY</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>char&nbsp;</td>
<td class="mdname" nowrap> <em>ch</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Recieves and processes a message, required overload for all widgets, overloaded to also account for children. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>rawEvent</em>&nbsp;</td><td>SDL_Event of original message, may be needed if more information is available on event. (May be NULL). </td></tr>
<tr><td valign=top><em>event</em>&nbsp;</td><td>GewiEvent enum, description of event recieved. </td></tr>
<tr><td valign=top><em>mouseX</em>&nbsp;</td><td>Mouse x position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>mouseY</em>&nbsp;</td><td>Mouse y position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>ch</em>&nbsp;</td><td>Character pressed in event, may be 0 if not a keypress event. </td></tr>
</table>
</dl>
<p>
Implements <a class="el" href="classGewi_1_1GWidget.html#a6">Gewi::GWidget</a>.
<p>
Reimplemented in <a class="el" href="classGewi_1_1GWindow.html#a2">Gewi::GWindow</a>. </td>
</tr>
</table>
<a name="a4" doxytag="Gewi::GContainer::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 class="md" nowrap valign="top"> void Gewi::GContainer::Show </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Draws all children in appropriate back-to-front order.
<p>
Implements <a class="el" href="classGewi_1_1GWidget.html#a7">Gewi::GWidget</a>.
<p>
Reimplemented in <a class="el" href="classGewi_1_1GWindow.html#a3">Gewi::GWindow</a>. </td>
</tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="o0" doxytag="Gewi::GContainer::GWidget"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> friend Gewi::GContainer::GWidget<code> [private]</code>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The usage of friend here is used simply to allow <a class="el" href="classGewi_1_1GWidget.html">GWidget</a> proper access to what used to belong to it before the class split <a class="el" href="classGewi_1_1GWidget.html">GWidget</a> needs access to Add/ReleaseChild but to make them public would <b>reduce</b> encapsulation. (For those keeping score, this is to many people the only effective use of friend.) </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li>/include/<a class="el" href="GewiContainer_8h-source.html">GewiContainer.h</a><li>/src/<a class="el" href="GewiContainer_8cpp.html">GewiContainer.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,46 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GHorizSlider Member List</h1>This is the complete list of members for <a class="el" href="classGewi_1_1GHorizSlider.html">Gewi::GHorizSlider</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a12">Contains</a>(Sint16 x, Sint16 y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#a1">Create</a>(float x, float y, float width, float height, ResourceID backgroundImg, ResourceID sliderImg, float min, float max, int increment)</td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a4">Gewi::GWidget::Create</a>(float x, float y, float width, float height)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a3">FitParent</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#a3">GetPos</a>()</td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#a0">GSlider</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a0">GWidget</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GHorizSlider.html#a0">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)</td><td><a class="el" href="classGewi_1_1GHorizSlider.html">Gewi::GHorizSlider</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a11">MouseInWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a5">Move</a>(float x, float y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n1">rBackground</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n2">rBoundRect</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n0">rGewi</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n6">rIncrement</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n4">rMax</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n3">rMin</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n3">rParent</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n5">rPos</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n0">rPressed</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n4">rRelX</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n5">rRelY</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n2">rSlider</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n6">rVisible</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n1">rZE</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#a2">SetPos</a>(float pos)</td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GHorizSlider.html#a1">Show</a>()</td><td><a class="el" href="classGewi_1_1GHorizSlider.html">Gewi::GHorizSlider</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a2">ToggleVisible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a10">Visible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a8">X</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a9">Y</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a1">~GWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,129 @@
<!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>Gewi::GHorizSlider class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GHorizSlider Class Reference</h1><code>#include &lt;<a class="el" href="GewiSlider_8h-source.html">GewiSlider.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a>.
<p>
<a href="classGewi_1_1GHorizSlider-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Derived from <a class="el" href="classGewi_1_1GSlider.html">GSlider</a>, overloads message and show to complete the class.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GHorizSlider.html#a0">Message</a> (SDL_Event *rawEvent, <a class="el" href="namespaceGewi.html#a18">GewiEvent</a> event, Uint16 mouseX, Uint16 mouseY, char ch)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Overload of Message, used to recieve messages.</em> <a href="#a0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GHorizSlider.html#a1">Show</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Draws this slider to the screen.</em> <a href="#a1"></a><em></em><br><br></td></tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a0" doxytag="Gewi::GHorizSlider::Message"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GHorizSlider::Message </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Event *&nbsp;</td>
<td class="mdname" nowrap> <em>rawEvent</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a18">GewiEvent</a>&nbsp;</td>
<td class="mdname" nowrap> <em>event</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseX</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseY</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>char&nbsp;</td>
<td class="mdname" nowrap> <em>ch</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Recieves and processes a message, required overload for all widgets. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>rawEvent</em>&nbsp;</td><td>SDL_Event of original message, may be needed if more information is available on event. (May be NULL). </td></tr>
<tr><td valign=top><em>event</em>&nbsp;</td><td>GewiEvent enum, description of event recieved. </td></tr>
<tr><td valign=top><em>mouseX</em>&nbsp;</td><td>Mouse x position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>mouseY</em>&nbsp;</td><td>Mouse y position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>ch</em>&nbsp;</td><td>Character pressed in event, may be 0 if not a keypress event. </td></tr>
</table>
</dl>
<p>
Implements <a class="el" href="classGewi_1_1GWidget.html#a6">Gewi::GWidget</a>. </td>
</tr>
</table>
<a name="a1" doxytag="Gewi::GHorizSlider::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 class="md" nowrap valign="top"> void Gewi::GHorizSlider::Show </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Draws widget to the screen, required overload for all widgets.
<p>
Implements <a class="el" href="classGewi_1_1GWidget.html#a7">Gewi::GWidget</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li>/include/<a class="el" href="GewiSlider_8h-source.html">GewiSlider.h</a><li>/src/<a class="el" href="GewiSlider_8cpp.html">GewiSlider.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,46 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GSlider Member List</h1>This is the complete list of members for <a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a12">Contains</a>(Sint16 x, Sint16 y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#a1">Create</a>(float x, float y, float width, float height, ResourceID backgroundImg, ResourceID sliderImg, float min, float max, int increment)</td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a4">Gewi::GWidget::Create</a>(float x, float y, float width, float height)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a3">FitParent</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#a3">GetPos</a>()</td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#a0">GSlider</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a0">GWidget</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a6">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)=0</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [pure virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a11">MouseInWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a5">Move</a>(float x, float y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n1">rBackground</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n2">rBoundRect</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n0">rGewi</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n6">rIncrement</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n4">rMax</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n3">rMin</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n3">rParent</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n5">rPos</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n0">rPressed</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n4">rRelX</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n5">rRelY</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n2">rSlider</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n6">rVisible</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n1">rZE</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#a2">SetPos</a>(float pos)</td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a7">Show</a>()=0</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [pure virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a2">ToggleVisible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a10">Visible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a8">X</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a9">Y</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a1">~GWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,251 @@
<!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>Gewi::GSlider class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GSlider Class Reference</h1><code>#include &lt;<a class="el" href="GewiSlider_8h-source.html">GewiSlider.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a>.
<p>
Inherited by <a class="el" href="classGewi_1_1GHorizSlider.html">Gewi::GHorizSlider</a>, and <a class="el" href="classGewi_1_1GVertSlider.html">Gewi::GVertSlider</a>.
<p>
<a href="classGewi_1_1GSlider-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Framework for simple slider widget, virtual (fails to overload Show), derived from <a class="el" href="classGewi_1_1GWidget.html">GWidget</a>.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GSlider.html#a0">GSlider</a> (<a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Simple constructor for <a class="el" href="classGewi_1_1GSlider.html">GSlider</a>.</em> <a href="#a0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GSlider.html#a1">Create</a> (float x, float y, float width, float height, <a class="el" href="namespaceGewi.html#a2">ResourceID</a> backgroundImg, <a class="el" href="namespaceGewi.html#a2">ResourceID</a> sliderImg, float min, float max, int increment)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">GSlider's create function, must be called to set up actual slider.</em> <a href="#a1"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GSlider.html#a2">SetPos</a> (float pos)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Set position of slider.</em> <a href="#a2"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GSlider.html#a3">GetPos</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Get position of slider.</em> <a href="#a3"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="Gewi::GSlider::rPressed"></a>
bool&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GSlider.html#n0">rPressed</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Boolean value holding if slider is currently 'pressed' or active.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="Gewi::GSlider::rBackground"></a>
<a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GSlider.html#n1">rBackground</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">ID for background image for slider.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="Gewi::GSlider::rSlider"></a>
<a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GSlider.html#n2">rSlider</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Image ID for the sliding part of the slider.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n3" doxytag="Gewi::GSlider::rMin"></a>
float&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GSlider.html#n3">rMin</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Minimum position for slider.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n4" doxytag="Gewi::GSlider::rMax"></a>
float&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GSlider.html#n4">rMax</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Maximum position for slider.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n5" doxytag="Gewi::GSlider::rPos"></a>
float&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GSlider.html#n5">rPos</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Current position of slider.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n6" doxytag="Gewi::GSlider::rIncrement"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GSlider.html#n6">rIncrement</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Movement snap increment.</em><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gewi::GSlider::GSlider"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Gewi::GSlider::GSlider </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>parent</em> = NULL </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Default constructor for <a class="el" href="classGewi_1_1GSlider.html">GSlider</a>, can take a parent. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>parent</em>&nbsp;</td><td>Pointer to <a class="el" href="classGewi_1_1GContainer.html">GContainer</a> derived class to be the parent. Default value is NULL which means no parent. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a1" doxytag="Gewi::GSlider::Create"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GSlider::Create </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">float&nbsp;</td>
<td class="mdname" nowrap> <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>y</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>width</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>height</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td>
<td class="mdname" nowrap> <em>backgroundImg</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td>
<td class="mdname" nowrap> <em>sliderImg</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>min</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>max</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap> <em>increment</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Every widget has a create function which must be called to define the button's appearance and settings. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>x</em>&nbsp;</td><td>X position of widget within it's container (entire screen if no parent) </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y position of widget within it's container (entire screen if no parent) </td></tr>
<tr><td valign=top><em>width</em>&nbsp;</td><td>Width of widget. </td></tr>
<tr><td valign=top><em>height</em>&nbsp;</td><td>Height of widget. </td></tr>
<tr><td valign=top><em>backgroundImg</em>&nbsp;</td><td>Image for stationary portion of slider. </td></tr>
<tr><td valign=top><em>sliderImg</em>&nbsp;</td><td>Image for moving portion of slider. </td></tr>
<tr><td valign=top><em>min</em>&nbsp;</td><td>Minimum value on slider. </td></tr>
<tr><td valign=top><em>max</em>&nbsp;</td><td>Maximum value on slider. </td></tr>
<tr><td valign=top><em>increment</em>&nbsp;</td><td>Slider snap-to increment. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="Gewi::GSlider::SetPos"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GSlider::SetPos </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">float&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>pos</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets position of slider, will snap within bounds. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>pos</em>&nbsp;</td><td>Desired position. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a3" doxytag="Gewi::GSlider::GetPos"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> float Gewi::GSlider::GetPos </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Access current position of slider. <dl compact><dt><b>Returns:</b></dt><dd>Slider position. </dd></dl>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li>/include/<a class="el" href="GewiSlider_8h-source.html">GewiSlider.h</a><li>/src/<a class="el" href="GewiSlider_8cpp.html">GewiSlider.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,46 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GStaticText Member List</h1>This is the complete list of members for <a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a12">Contains</a>(Sint16 x, Sint16 y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GStaticText.html#a1">Create</a>(float x, float y, float width, float height, ResourceID font, std::string text="", GewiJustify just=GJ_CENTER, ResourceID backgroundImg=GewiEngine::InvalidID)</td><td><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a4">Gewi::GWidget::Create</a>(float x, float y, float width, float height)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a3">FitParent</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GStaticText.html#a5">GetText</a>()</td><td><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GStaticText.html#a0">GStaticText</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a0">GWidget</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GStaticText.html#a2">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)</td><td><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a11">MouseInWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a5">Move</a>(float x, float y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GStaticText.html#n0">rBackgroundImage</a></td><td><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n2">rBoundRect</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GStaticText.html#n1">rFont</a></td><td><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n0">rGewi</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GStaticText.html#n6">rJustify</a></td><td><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n3">rParent</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n4">rRelX</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n5">rRelY</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GStaticText.html#n2">rText</a></td><td><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GStaticText.html#n3">rTextBuf</a></td><td><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n6">rVisible</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GStaticText.html#n4">rXOff</a></td><td><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GStaticText.html#n5">rYOff</a></td><td><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n1">rZE</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GStaticText.html#a4">SetText</a>(std::string text)</td><td><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GStaticText.html#a3">Show</a>()</td><td><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a2">ToggleVisible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a10">Visible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a8">X</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a9">Y</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a1">~GWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,343 @@
<!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>Gewi::GStaticText class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GStaticText Class Reference</h1><code>#include &lt;<a class="el" href="GewiStaticText_8h-source.html">GewiStaticText.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a>.
<p>
<a href="classGewi_1_1GStaticText-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classGewi_1_1GStaticText.html">GStaticText</a>, stationary label class, derived from <a class="el" href="classGewi_1_1GWidget.html">GWidget</a>.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GStaticText.html#a0">GStaticText</a> (<a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Simple constructor for <a class="el" href="classGewi_1_1GStaticText.html">GStaticText</a>.</em> <a href="#a0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GStaticText.html#a1">Create</a> (float x, float y, float width, float height, <a class="el" href="namespaceGewi.html#a2">ResourceID</a> font, std::string text="", <a class="el" href="namespaceGewi.html#a3">GewiJustify</a> just=GJ_CENTER, <a class="el" href="namespaceGewi.html#a2">ResourceID</a> backgroundImg=<a class="el" href="classGewi_1_1GewiEngine.html#p2">GewiEngine::InvalidID</a>)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">GButton's create function, must be called to set up actual button.</em> <a href="#a1"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GStaticText.html#a2">Message</a> (SDL_Event *rawEvent, <a class="el" href="namespaceGewi.html#a18">GewiEvent</a> event, Uint16 mouseX, Uint16 mouseY, char ch)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Overload of Message, used to recieve messages.</em> <a href="#a2"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GStaticText.html#a3">Show</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Draws static label to the screen.</em> <a href="#a3"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GStaticText.html#a4">SetText</a> (std::string text)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Set text of label.</em> <a href="#a4"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>std::string&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GStaticText.html#a5">GetText</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Get current text in label.</em> <a href="#a5"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="Gewi::GStaticText::rBackgroundImage"></a>
<a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GStaticText.html#n0">rBackgroundImage</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Image for background of label (often no image).</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="Gewi::GStaticText::rFont"></a>
<a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GStaticText.html#n1">rFont</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Font to use for label.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="Gewi::GStaticText::rText"></a>
std::string&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GStaticText.html#n2">rText</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Current text of label.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n3" doxytag="Gewi::GStaticText::rTextBuf"></a>
ZE::ZImage&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GStaticText.html#n3">rTextBuf</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Text buffer ZImage, used internally.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n4" doxytag="Gewi::GStaticText::rXOff"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GStaticText.html#n4">rXOff</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Calculated X Offset for text, calculated from justification.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n5" doxytag="Gewi::GStaticText::rYOff"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GStaticText.html#n5">rYOff</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Calculated Y Offset for text, calculated from justification.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n6" doxytag="Gewi::GStaticText::rJustify"></a>
<a class="el" href="namespaceGewi.html#a3">GewiJustify</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GStaticText.html#n6">rJustify</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Justification, can be or'ed together enums from _GewiJustify, see documentation of that enum for details.</em><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gewi::GStaticText::GStaticText"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Gewi::GStaticText::GStaticText </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>parent</em> = NULL </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Constructor for <a class="el" href="classGewi_1_1GStaticText.html">GStaticText</a>, can take a parent. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>parent</em>&nbsp;</td><td>Pointer to <a class="el" href="classGewi_1_1GContainer.html">GContainer</a> derived class to be the parent. Default value is NULL which means no parent. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a1" doxytag="Gewi::GStaticText::Create"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GStaticText::Create </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">float&nbsp;</td>
<td class="mdname" nowrap> <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>y</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>width</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>height</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td>
<td class="mdname" nowrap> <em>font</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>std::string&nbsp;</td>
<td class="mdname" nowrap> <em>text</em> = "", </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a3">GewiJustify</a>&nbsp;</td>
<td class="mdname" nowrap> <em>just</em> = GJ_CENTER, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td>
<td class="mdname" nowrap> <em>backgroundImg</em> = <a class="el" href="classGewi_1_1GewiEngine.html#p2">GewiEngine::InvalidID</a></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Every widget has a create function which must be called to define the button's appearance and settings. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>x</em>&nbsp;</td><td>X position of widget within it's container (entire screen if no parent) </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y position of widget within it's container (entire screen if no parent) </td></tr>
<tr><td valign=top><em>width</em>&nbsp;</td><td>Width of widget. </td></tr>
<tr><td valign=top><em>height</em>&nbsp;</td><td>Height of widget. </td></tr>
<tr><td valign=top><em>font</em>&nbsp;</td><td>Font ID for text. </td></tr>
<tr><td valign=top><em>text</em>&nbsp;</td><td>Text for static label. (Defaults to a blank space.) </td></tr>
<tr><td valign=top><em>just</em>&nbsp;</td><td>Justification, see documented _GewiJustify for details. Defaults to GJ_CENTER. </td></tr>
<tr><td valign=top><em>backgroundImg</em>&nbsp;</td><td>Image for background, defaults to <a class="el" href="classGewi_1_1GewiEngine.html#p2">GewiEngine::InvalidID</a>. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="Gewi::GStaticText::Message"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GStaticText::Message </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Event *&nbsp;</td>
<td class="mdname" nowrap> <em>rawEvent</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a18">GewiEvent</a>&nbsp;</td>
<td class="mdname" nowrap> <em>event</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseX</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseY</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>char&nbsp;</td>
<td class="mdname" nowrap> <em>ch</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Recieves and processes a message, required overload for all widgets. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>rawEvent</em>&nbsp;</td><td>SDL_Event of original message, may be needed if more information is available on event. (May be NULL). </td></tr>
<tr><td valign=top><em>event</em>&nbsp;</td><td>GewiEvent enum, description of event recieved. </td></tr>
<tr><td valign=top><em>mouseX</em>&nbsp;</td><td>Mouse x position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>mouseY</em>&nbsp;</td><td>Mouse y position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>ch</em>&nbsp;</td><td>Character pressed in event, may be 0 if not a keypress event. </td></tr>
</table>
</dl>
<p>
Implements <a class="el" href="classGewi_1_1GWidget.html#a6">Gewi::GWidget</a>. </td>
</tr>
</table>
<a name="a3" doxytag="Gewi::GStaticText::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 class="md" nowrap valign="top"> void Gewi::GStaticText::Show </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Draws static label to the screen, required overload for all widgets.
<p>
Implements <a class="el" href="classGewi_1_1GWidget.html#a7">Gewi::GWidget</a>. </td>
</tr>
</table>
<a name="a4" doxytag="Gewi::GStaticText::SetText"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GStaticText::SetText </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">std::string&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>text</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets the current text of the label. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>text</em>&nbsp;</td><td>New text for label. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a5" doxytag="Gewi::GStaticText::GetText"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> std::string Gewi::GStaticText::GetText </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Return text in label. <dl compact><dt><b>Returns:</b></dt><dd>text currently in label. </dd></dl>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li>/include/<a class="el" href="GewiStaticText_8h-source.html">GewiStaticText.h</a><li>/src/<a class="el" href="GewiStaticText_8cpp.html">GewiStaticText.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,52 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GTextButton Member List</h1>This is the complete list of members for <a class="el" href="classGewi_1_1GTextButton.html">Gewi::GTextButton</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a12">Contains</a>(Sint16 x, Sint16 y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextButton.html#a1">Create</a>(float x, float y, float width, float height, ResourceID normalImg, ResourceID pressImg, ResourceID font, std::string text="", GButtonType type=GBT_PRESS)</td><td><a class="el" href="classGewi_1_1GTextButton.html">Gewi::GTextButton</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#a1">Gewi::GButton::Create</a>(float x, float y, float width, float height, ResourceID normalImg, ResourceID pressImg, GButtonType type=GBT_PRESS)</td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a4">Gewi::GWidget::Create</a>(float x, float y, float width, float height)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a3">FitParent</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#a0">GButton</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextButton.html#a4">GetText</a>()</td><td><a class="el" href="classGewi_1_1GTextButton.html">Gewi::GTextButton</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextButton.html#a0">GTextButton</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GTextButton.html">Gewi::GTextButton</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a0">GWidget</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#a4">IsPressed</a>()</td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#a2">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)</td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a11">MouseInWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a5">Move</a>(float x, float y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n2">rBoundRect</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextButton.html#n4">rFont</a></td><td><a class="el" href="classGewi_1_1GTextButton.html">Gewi::GTextButton</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n0">rGewi</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#n2">rNormalImage</a></td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n3">rParent</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#n0">rPressed</a></td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#n3">rPressedImage</a></td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n4">rRelX</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n5">rRelY</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextButton.html#n0">rText</a></td><td><a class="el" href="classGewi_1_1GTextButton.html">Gewi::GTextButton</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextButton.html#n1">rTextBuf</a></td><td><a class="el" href="classGewi_1_1GTextButton.html">Gewi::GTextButton</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#n1">rType</a></td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n6">rVisible</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextButton.html#n2">rXOff</a></td><td><a class="el" href="classGewi_1_1GTextButton.html">Gewi::GTextButton</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextButton.html#n3">rYOff</a></td><td><a class="el" href="classGewi_1_1GTextButton.html">Gewi::GTextButton</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n1">rZE</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GButton.html#a5">SetState</a>(bool pressed)</td><td><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextButton.html#a3">SetText</a>(std::string text)</td><td><a class="el" href="classGewi_1_1GTextButton.html">Gewi::GTextButton</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextButton.html#a2">Show</a>()</td><td><a class="el" href="classGewi_1_1GTextButton.html">Gewi::GTextButton</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a2">ToggleVisible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a10">Visible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a8">X</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a9">Y</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a1">~GWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,275 @@
<!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>Gewi::GTextButton class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GTextButton Class Reference</h1><code>#include &lt;<a class="el" href="GewiTextButton_8h-source.html">GewiTextButton.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a>.
<p>
<a href="classGewi_1_1GTextButton-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classGewi_1_1GTextButton.html">GTextButton</a> text label button widget, derived from <a class="el" href="classGewi_1_1GButton.html">GButton</a>.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextButton.html#a0">GTextButton</a> (<a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Simple constructor for <a class="el" href="classGewi_1_1GButton.html">GButton</a>.</em> <a href="#a0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextButton.html#a1">Create</a> (float x, float y, float width, float height, <a class="el" href="namespaceGewi.html#a2">ResourceID</a> normalImg, <a class="el" href="namespaceGewi.html#a2">ResourceID</a> pressImg, <a class="el" href="namespaceGewi.html#a2">ResourceID</a> font, std::string text="", <a class="el" href="namespaceGewi.html#a17">GButtonType</a> type=GBT_PRESS)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">GButton's create function, must be called to set up actual button.</em> <a href="#a1"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextButton.html#a2">Show</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Draws static label to the screen.</em> <a href="#a2"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextButton.html#a3">SetText</a> (std::string text)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Set text of button.</em> <a href="#a3"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>std::string&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextButton.html#a4">GetText</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Get current text of button label.</em> <a href="#a4"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="Gewi::GTextButton::rText"></a>
std::string&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextButton.html#n0">rText</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Text label for button.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="Gewi::GTextButton::rTextBuf"></a>
ZE::ZImage&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextButton.html#n1">rTextBuf</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Text Buffer, used internally.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="Gewi::GTextButton::rXOff"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextButton.html#n2">rXOff</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">X offset of text.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n3" doxytag="Gewi::GTextButton::rYOff"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextButton.html#n3">rYOff</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Y offset of text.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n4" doxytag="Gewi::GTextButton::rFont"></a>
<a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextButton.html#n4">rFont</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Font ID for text label.</em><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gewi::GTextButton::GTextButton"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Gewi::GTextButton::GTextButton </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>parent</em> = NULL </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Constructor for <a class="el" href="classGewi_1_1GButton.html">GButton</a>, can take a parent. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>parent</em>&nbsp;</td><td>Pointer to <a class="el" href="classGewi_1_1GContainer.html">GContainer</a> derived class to be the parent. Default value is NULL which means no parent. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a1" doxytag="Gewi::GTextButton::Create"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GTextButton::Create </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">float&nbsp;</td>
<td class="mdname" nowrap> <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>y</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>width</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>height</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td>
<td class="mdname" nowrap> <em>normalImg</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td>
<td class="mdname" nowrap> <em>pressImg</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td>
<td class="mdname" nowrap> <em>font</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>std::string&nbsp;</td>
<td class="mdname" nowrap> <em>text</em> = "", </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a17">GButtonType</a>&nbsp;</td>
<td class="mdname" nowrap> <em>type</em> = GBT_PRESS</td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Every widget has a create function which must be called to define the button's appearance and settings. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>x</em>&nbsp;</td><td>X position of widget within it's container (entire screen if no parent) </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y position of widget within it's container (entire screen if no parent) </td></tr>
<tr><td valign=top><em>width</em>&nbsp;</td><td>Width of widget. </td></tr>
<tr><td valign=top><em>height</em>&nbsp;</td><td>Height of widget. </td></tr>
<tr><td valign=top><em>normalImg</em>&nbsp;</td><td>Image for button when not pressed. </td></tr>
<tr><td valign=top><em>pressImg</em>&nbsp;</td><td>Image for button when pressed (or hovered if type is GBT_HOVER). </td></tr>
<tr><td valign=top><em>font</em>&nbsp;</td><td>Font to draw label with. </td></tr>
<tr><td valign=top><em>text</em>&nbsp;</td><td>Text for button. (default is blank) </td></tr>
<tr><td valign=top><em>type</em>&nbsp;</td><td>GButtonType, either the default, GBT_PRESS (normal button), or GBT_HOVER (a button which responds to the hovering mouse). </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="Gewi::GTextButton::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 class="md" nowrap valign="top"> void Gewi::GTextButton::Show </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Draws static label to the screen, required overload for all widgets.
<p>
Reimplemented from <a class="el" href="classGewi_1_1GButton.html#a3">Gewi::GButton</a>. </td>
</tr>
</table>
<a name="a3" doxytag="Gewi::GTextButton::SetText"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GTextButton::SetText </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">std::string&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>text</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets the current text of the button. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>text</em>&nbsp;</td><td>New text for button. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a4" doxytag="Gewi::GTextButton::GetText"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> std::string Gewi::GTextButton::GetText </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Return text on button label. <dl compact><dt><b>Returns:</b></dt><dd>text currently on button label. </dd></dl>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li>/include/<a class="el" href="GewiTextButton_8h-source.html">GewiTextButton.h</a><li>/src/<a class="el" href="GewiTextButton_8cpp.html">GewiTextButton.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,45 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GTextField Member List</h1>This is the complete list of members for <a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a12">Contains</a>(Sint16 x, Sint16 y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextField.html#a1">Create</a>(float x, float y, float width, float height, ResourceID font, ResourceID backgroundImg, int maxChars=256, int leftPad=0)</td><td><a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a4">Gewi::GWidget::Create</a>(float x, float y, float width, float height)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a3">FitParent</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextField.html#a5">GetText</a>()</td><td><a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextField.html#a0">GTextField</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a0">GWidget</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextField.html#a2">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)</td><td><a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a11">MouseInWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a5">Move</a>(float x, float y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextField.html#n3">rBackground</a></td><td><a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n2">rBoundRect</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextField.html#n1">rBuffer</a></td><td><a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextField.html#n2">rFont</a></td><td><a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n0">rGewi</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextField.html#n5">rLeftPadding</a></td><td><a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextField.html#n4">rMaxChars</a></td><td><a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n3">rParent</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n4">rRelX</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n5">rRelY</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextField.html#n0">rText</a></td><td><a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n6">rVisible</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n1">rZE</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextField.html#a4">SetText</a>(std::string text)</td><td><a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GTextField.html#a3">Show</a>()</td><td><a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a2">ToggleVisible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a10">Visible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a8">X</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a9">Y</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a1">~GWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,340 @@
<!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>Gewi::GTextField class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GTextField Class Reference</h1><code>#include &lt;<a class="el" href="GewiTextField_8h-source.html">GewiTextField.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a>.
<p>
<a href="classGewi_1_1GTextField-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classGewi_1_1GTextField.html">GTextField</a> simple text input area widget, derived from <a class="el" href="classGewi_1_1GWidget.html">GWidget</a>.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextField.html#a0">GTextField</a> (<a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Simple constructor for <a class="el" href="classGewi_1_1GTextField.html">GTextField</a>.</em> <a href="#a0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextField.html#a1">Create</a> (float x, float y, float width, float height, <a class="el" href="namespaceGewi.html#a2">ResourceID</a> font, <a class="el" href="namespaceGewi.html#a2">ResourceID</a> backgroundImg, int maxChars=256, int leftPad=0)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">GButton's create function, must be called to set up actual button.</em> <a href="#a1"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextField.html#a2">Message</a> (SDL_Event *rawEvent, <a class="el" href="namespaceGewi.html#a18">GewiEvent</a> event, Uint16 mouseX, Uint16 mouseY, char ch)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Overload of Message, used to recieve messages.</em> <a href="#a2"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextField.html#a3">Show</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Draws the text input area &amp; text to the screen.</em> <a href="#a3"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextField.html#a4">SetText</a> (std::string text)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Set text in input area.</em> <a href="#a4"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>std::string&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextField.html#a5">GetText</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Get current text of the input box.</em> <a href="#a5"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="Gewi::GTextField::rText"></a>
std::string&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextField.html#n0">rText</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Text currently entered.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="Gewi::GTextField::rBuffer"></a>
ZE::ZImage&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextField.html#n1">rBuffer</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Text buffer, used internally.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="Gewi::GTextField::rFont"></a>
<a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextField.html#n2">rFont</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Font for text.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n3" doxytag="Gewi::GTextField::rBackground"></a>
<a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextField.html#n3">rBackground</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Background for text input area.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n4" doxytag="Gewi::GTextField::rMaxChars"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextField.html#n4">rMaxChars</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Maximum number of characters allowed to be entered.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n5" doxytag="Gewi::GTextField::rLeftPadding"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextField.html#n5">rLeftPadding</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Amount of padding on left hand side.</em><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gewi::GTextField::GTextField"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Gewi::GTextField::GTextField </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>parent</em> = NULL </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Constructor for <a class="el" href="classGewi_1_1GTextField.html">GTextField</a>, can take a parent. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>parent</em>&nbsp;</td><td>Pointer to <a class="el" href="classGewi_1_1GContainer.html">GContainer</a> derived class to be the parent. Default value is NULL which means no parent. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a1" doxytag="Gewi::GTextField::Create"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GTextField::Create </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">float&nbsp;</td>
<td class="mdname" nowrap> <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>y</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>width</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>height</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td>
<td class="mdname" nowrap> <em>font</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td>
<td class="mdname" nowrap> <em>backgroundImg</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap> <em>maxChars</em> = 256, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>int&nbsp;</td>
<td class="mdname" nowrap> <em>leftPad</em> = 0</td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Every widget has a create function which must be called to define the button's appearance and settings. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>x</em>&nbsp;</td><td>X position of widget within it's container (entire screen if no parent) </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y position of widget within it's container (entire screen if no parent) </td></tr>
<tr><td valign=top><em>width</em>&nbsp;</td><td>Width of widget. </td></tr>
<tr><td valign=top><em>height</em>&nbsp;</td><td>Height of widget. </td></tr>
<tr><td valign=top><em>font</em>&nbsp;</td><td>Font for text. </td></tr>
<tr><td valign=top><em>backgroundImg</em>&nbsp;</td><td>Image for text input box. </td></tr>
<tr><td valign=top><em>maxChars</em>&nbsp;</td><td>Maximum number of characters to be entered, defaults to 256. </td></tr>
<tr><td valign=top><em>leftPad</em>&nbsp;</td><td>padding on left side, defaults to zero. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="Gewi::GTextField::Message"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GTextField::Message </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Event *&nbsp;</td>
<td class="mdname" nowrap> <em>rawEvent</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a18">GewiEvent</a>&nbsp;</td>
<td class="mdname" nowrap> <em>event</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseX</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseY</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>char&nbsp;</td>
<td class="mdname" nowrap> <em>ch</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Recieves and processes a message, required overload for all widgets. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>rawEvent</em>&nbsp;</td><td>SDL_Event of original message, may be needed if more information is available on event. (May be NULL). </td></tr>
<tr><td valign=top><em>event</em>&nbsp;</td><td>GewiEvent enum, description of event recieved. </td></tr>
<tr><td valign=top><em>mouseX</em>&nbsp;</td><td>Mouse x position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>mouseY</em>&nbsp;</td><td>Mouse y position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>ch</em>&nbsp;</td><td>Character pressed in event, may be 0 if not a keypress event. </td></tr>
</table>
</dl>
<p>
Implements <a class="el" href="classGewi_1_1GWidget.html#a6">Gewi::GWidget</a>. </td>
</tr>
</table>
<a name="a3" doxytag="Gewi::GTextField::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 class="md" nowrap valign="top"> void Gewi::GTextField::Show </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Draws widget to the screen, required overload for all widgets.
<p>
Implements <a class="el" href="classGewi_1_1GWidget.html#a7">Gewi::GWidget</a>. </td>
</tr>
</table>
<a name="a4" doxytag="Gewi::GTextField::SetText"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GTextField::SetText </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">std::string&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>text</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets the current text of the buffer for input area. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>text</em>&nbsp;</td><td>New text for button. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a5" doxytag="Gewi::GTextField::GetText"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> std::string Gewi::GTextField::GetText </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Return text in the input buffer. <dl compact><dt><b>Returns:</b></dt><dd>text currently in input buffer. </dd></dl>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li>/include/<a class="el" href="GewiTextField_8h-source.html">GewiTextField.h</a><li>/src/<a class="el" href="GewiTextField_8cpp.html">GewiTextField.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,46 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GVertSlider Member List</h1>This is the complete list of members for <a class="el" href="classGewi_1_1GVertSlider.html">Gewi::GVertSlider</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a12">Contains</a>(Sint16 x, Sint16 y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#a1">Create</a>(float x, float y, float width, float height, ResourceID backgroundImg, ResourceID sliderImg, float min, float max, int increment)</td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a4">Gewi::GWidget::Create</a>(float x, float y, float width, float height)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a3">FitParent</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#a3">GetPos</a>()</td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#a0">GSlider</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a0">GWidget</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GVertSlider.html#a0">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)</td><td><a class="el" href="classGewi_1_1GVertSlider.html">Gewi::GVertSlider</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a11">MouseInWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a5">Move</a>(float x, float y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n1">rBackground</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n2">rBoundRect</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n0">rGewi</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n6">rIncrement</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n4">rMax</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n3">rMin</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n3">rParent</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n5">rPos</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n0">rPressed</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n4">rRelX</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n5">rRelY</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#n2">rSlider</a></td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n6">rVisible</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n1">rZE</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GSlider.html#a2">SetPos</a>(float pos)</td><td><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GVertSlider.html#a1">Show</a>()</td><td><a class="el" href="classGewi_1_1GVertSlider.html">Gewi::GVertSlider</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a2">ToggleVisible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a10">Visible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a8">X</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a9">Y</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a1">~GWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,129 @@
<!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>Gewi::GVertSlider class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GVertSlider Class Reference</h1><code>#include &lt;<a class="el" href="GewiSlider_8h-source.html">GewiSlider.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a>.
<p>
<a href="classGewi_1_1GVertSlider-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Derived from <a class="el" href="classGewi_1_1GSlider.html">GSlider</a>, overloads message and show to complete the class.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GVertSlider.html#a0">Message</a> (SDL_Event *rawEvent, <a class="el" href="namespaceGewi.html#a18">GewiEvent</a> event, Uint16 mouseX, Uint16 mouseY, char ch)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Overload of Message, used to recieve messages.</em> <a href="#a0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GVertSlider.html#a1">Show</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Draws this slider to the screen.</em> <a href="#a1"></a><em></em><br><br></td></tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a0" doxytag="Gewi::GVertSlider::Message"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GVertSlider::Message </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Event *&nbsp;</td>
<td class="mdname" nowrap> <em>rawEvent</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a18">GewiEvent</a>&nbsp;</td>
<td class="mdname" nowrap> <em>event</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseX</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseY</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>char&nbsp;</td>
<td class="mdname" nowrap> <em>ch</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Recieves and processes a message, required overload for all widgets. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>rawEvent</em>&nbsp;</td><td>SDL_Event of original message, may be needed if more information is available on event. (May be NULL). </td></tr>
<tr><td valign=top><em>event</em>&nbsp;</td><td>GewiEvent enum, description of event recieved. </td></tr>
<tr><td valign=top><em>mouseX</em>&nbsp;</td><td>Mouse x position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>mouseY</em>&nbsp;</td><td>Mouse y position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>ch</em>&nbsp;</td><td>Character pressed in event, may be 0 if not a keypress event. </td></tr>
</table>
</dl>
<p>
Implements <a class="el" href="classGewi_1_1GWidget.html#a6">Gewi::GWidget</a>. </td>
</tr>
</table>
<a name="a1" doxytag="Gewi::GVertSlider::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 class="md" nowrap valign="top"> void Gewi::GVertSlider::Show </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Draws widget to the screen, required overload for all widgets.
<p>
Implements <a class="el" href="classGewi_1_1GWidget.html#a7">Gewi::GWidget</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li>/include/<a class="el" href="GewiSlider_8h-source.html">GewiSlider.h</a><li>/src/<a class="el" href="GewiSlider_8cpp.html">GewiSlider.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,35 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GWidget Member List</h1>This is the complete list of members for <a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a12">Contains</a>(Sint16 x, Sint16 y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a4">Create</a>(float x, float y, float width, float height)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a3">FitParent</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a0">GWidget</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a6">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)=0</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [pure virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a11">MouseInWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a5">Move</a>(float x, float y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n2">rBoundRect</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n0">rGewi</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n3">rParent</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n4">rRelX</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n5">rRelY</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n6">rVisible</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n1">rZE</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a7">Show</a>()=0</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [pure virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a2">ToggleVisible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a10">Visible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a8">X</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a9">Y</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a1">~GWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,556 @@
<!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>Gewi::GWidget class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GWidget Class Reference</h1><code>#include &lt;<a class="el" href="GewiWidget_8h-source.html">GewiWidget.h</a>&gt;</code>
<p>
Inherited by <a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a>, <a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a>, <a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a>, <a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a>, and <a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a>.
<p>
<a href="classGewi_1_1GWidget-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Basic widget class, framework and base class for all other widgets.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#a0">GWidget</a> (<a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Simple constructor for <a class="el" href="classGewi_1_1GWidget.html">GWidget</a>.</em> <a href="#a0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#a1">~GWidget</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Simple destructor.</em> <a href="#a1"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#a2">ToggleVisible</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Toggle the visible flag.</em> <a href="#a2"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#a3">FitParent</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Reposition widget within parent.</em> <a href="#a3"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#a4">Create</a> (float x, float y, float width, float height)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Sets position and dimensions of widget.</em> <a href="#a4"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#a5">Move</a> (float x, float y)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Change relative position.</em> <a href="#a5"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#a6">Message</a> (SDL_Event *rawEvent, <a class="el" href="namespaceGewi.html#a18">GewiEvent</a> event, Uint16 mouseX, Uint16 mouseY, char ch)=0</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Important function used to recieve messages.</em> <a href="#a6"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#a7">Show</a> ()=0</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Draws this button to the screen.</em> <a href="#a7"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#a8">X</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Get X position of widget.</em> <a href="#a8"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>float&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#a9">Y</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Get Y position of widget.</em> <a href="#a9"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#a10">Visible</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Get visible state of widget.</em> <a href="#a10"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#a11">MouseInWidget</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Check if mouse is in widget.</em> <a href="#a11"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#a12">Contains</a> (Sint16 x, Sint16 y)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Check if the widget contains a point.</em> <a href="#a12"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="Gewi::GWidget::rGewi"></a>
<a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a> *&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#n0">rGewi</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Pointer to <a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a> instance.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="Gewi::GWidget::rZE"></a>
ZE::ZEngine *&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#n1">rZE</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Pointer to ZEngine instance.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="Gewi::GWidget::rBoundRect"></a>
ZE::ZRect&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#n2">rBoundRect</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Rectangle describing area of widget.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n3" doxytag="Gewi::GWidget::rParent"></a>
<a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#n3">rParent</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Pointer to parent container. (NULL means it lays in the global setting).</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n4" doxytag="Gewi::GWidget::rRelX"></a>
float&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#n4">rRelX</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Relative X position, relative to parent, or top corner of screen if in global setting.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n5" doxytag="Gewi::GWidget::rRelY"></a>
float&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#n5">rRelY</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Relative Y position, relative to parent, or top corner of screen if in global setting.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n6" doxytag="Gewi::GWidget::rVisible"></a>
bool&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html#n6">rVisible</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Stores if widget is currently visible.</em><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gewi::GWidget::GWidget"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Gewi::GWidget::GWidget </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>parent</em> = NULL </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Constructor for <a class="el" href="classGewi_1_1GWidget.html">GWidget</a>, like all widgets this must initialize private data and can take a parent. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>parent</em>&nbsp;</td><td>Pointer to <a class="el" href="classGewi_1_1GContainer.html">GContainer</a> derived class to be the parent. Default value is NULL which means no parent. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a1" doxytag="Gewi::GWidget::~GWidget"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Gewi::GWidget::~GWidget </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Must be virtual so that each derived class can free it's members. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a2" doxytag="Gewi::GWidget::ToggleVisible"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GWidget::ToggleVisible </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Toggles the visible flag, only visible widgets are drawn. </td>
</tr>
</table>
<a name="a3" doxytag="Gewi::GWidget::FitParent"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GWidget::FitParent </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Adjust this widget to be in the correct position in relationship to it's parent. Only containers call this on their children, it generally shouldn't be called. </td>
</tr>
</table>
<a name="a4" doxytag="Gewi::GWidget::Create"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GWidget::Create </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">float&nbsp;</td>
<td class="mdname" nowrap> <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>y</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>width</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>height</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets up widget rectangle, most widgets must override this to include their specific settings. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>x</em>&nbsp;</td><td>X position of widget within it's container (entire screen if no parent) </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y position of widget within it's container (entire screen if no parent) </td></tr>
<tr><td valign=top><em>width</em>&nbsp;</td><td>Width of widget. </td></tr>
<tr><td valign=top><em>height</em>&nbsp;</td><td>Height of widget. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a5" doxytag="Gewi::GWidget::Move"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GWidget::Move </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">float&nbsp;</td>
<td class="mdname" nowrap> <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>y</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Set new relative position for widget. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>x</em>&nbsp;</td><td>New relative x position. </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>New relative y position. </td></tr>
</table>
</dl>
<p>
Reimplemented in <a class="el" href="classGewi_1_1GContainer.html#a2">Gewi::GContainer</a>. </td>
</tr>
</table>
<a name="a6" doxytag="Gewi::GWidget::Message"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> virtual void Gewi::GWidget::Message </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Event *&nbsp;</td>
<td class="mdname" nowrap> <em>rawEvent</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a18">GewiEvent</a>&nbsp;</td>
<td class="mdname" nowrap> <em>event</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseX</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseY</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>char&nbsp;</td>
<td class="mdname" nowrap> <em>ch</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Recieves and processes a message, required overload for all widgets. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>rawEvent</em>&nbsp;</td><td>SDL_Event of original message, may be needed if more information is available on event. (May be NULL). </td></tr>
<tr><td valign=top><em>event</em>&nbsp;</td><td>GewiEvent enum, description of event recieved. </td></tr>
<tr><td valign=top><em>mouseX</em>&nbsp;</td><td>Mouse x position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>mouseY</em>&nbsp;</td><td>Mouse y position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>ch</em>&nbsp;</td><td>Character pressed in event, may be 0 if not a keypress event. </td></tr>
</table>
</dl>
<p>
Implemented in <a class="el" href="classGewi_1_1GButton.html#a2">Gewi::GButton</a>, <a class="el" href="classGewi_1_1GContainer.html#a3">Gewi::GContainer</a>, <a class="el" href="classGewi_1_1GHorizSlider.html#a0">Gewi::GHorizSlider</a>, <a class="el" href="classGewi_1_1GVertSlider.html#a0">Gewi::GVertSlider</a>, <a class="el" href="classGewi_1_1GStaticText.html#a2">Gewi::GStaticText</a>, <a class="el" href="classGewi_1_1GTextField.html#a2">Gewi::GTextField</a>, and <a class="el" href="classGewi_1_1GWindow.html#a2">Gewi::GWindow</a>. </td>
</tr>
</table>
<a name="a7" doxytag="Gewi::GWidget::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 class="md" nowrap valign="top"> virtual void Gewi::GWidget::Show </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Draws widget to the screen, required overload for all widgets.
<p>
Implemented in <a class="el" href="classGewi_1_1GButton.html#a3">Gewi::GButton</a>, <a class="el" href="classGewi_1_1GContainer.html#a4">Gewi::GContainer</a>, <a class="el" href="classGewi_1_1GHorizSlider.html#a1">Gewi::GHorizSlider</a>, <a class="el" href="classGewi_1_1GVertSlider.html#a1">Gewi::GVertSlider</a>, <a class="el" href="classGewi_1_1GStaticText.html#a3">Gewi::GStaticText</a>, <a class="el" href="classGewi_1_1GTextButton.html#a2">Gewi::GTextButton</a>, <a class="el" href="classGewi_1_1GTextField.html#a3">Gewi::GTextField</a>, and <a class="el" href="classGewi_1_1GWindow.html#a3">Gewi::GWindow</a>. </td>
</tr>
</table>
<a name="a8" doxytag="Gewi::GWidget::X"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> float Gewi::GWidget::X </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get actual (not relative) X position of top left corner of widget. <dl compact><dt><b>Returns:</b></dt><dd>Actual x position of widget. </dd></dl>
</td>
</tr>
</table>
<a name="a9" doxytag="Gewi::GWidget::Y"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> float Gewi::GWidget::Y </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Get actual (not relative) Y position of top left corner of widget. <dl compact><dt><b>Returns:</b></dt><dd>Actual y position of widget. </dd></dl>
</td>
</tr>
</table>
<a name="a10" doxytag="Gewi::GWidget::Visible"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> bool Gewi::GWidget::Visible </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns status of internal visible flag. <dl compact><dt><b>Returns:</b></dt><dd>true if visible, false otherwise. </dd></dl>
</td>
</tr>
</table>
<a name="a11" doxytag="Gewi::GWidget::MouseInWidget"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> bool Gewi::GWidget::MouseInWidget </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns status of mouse inside widget. <dl compact><dt><b>Returns:</b></dt><dd>true if mouse pointer inside widget, false otherwise. </dd></dl>
</td>
</tr>
</table>
<a name="a12" doxytag="Gewi::GWidget::Contains"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> bool Gewi::GWidget::Contains </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">Sint16&nbsp;</td>
<td class="mdname" nowrap> <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Sint16&nbsp;</td>
<td class="mdname" nowrap> <em>y</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Check if the widget contains the point specified. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>x</em>&nbsp;</td><td>X value of point to check. </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y value of point to check. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li>/include/<a class="el" href="GewiWidget_8h-source.html">GewiWidget.h</a><li>/src/<a class="el" href="GewiWidget_8cpp.html">GewiWidget.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,47 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GWindow Member List</h1>This is the complete list of members for <a class="el" href="classGewi_1_1GWindow.html">Gewi::GWindow</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#b0">AddChild</a>(GWidget *widget)</td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a12">Contains</a>(Sint16 x, Sint16 y)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWindow.html#a1">Create</a>(float x, float y, float width, float height, ResourceID backgroundImg)</td><td><a class="el" href="classGewi_1_1GWindow.html">Gewi::GWindow</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a4">Gewi::GContainer::Create</a>(float x, float y, float width, float height)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a3">FitParent</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#a0">GContainer</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a0">Gewi::GWidget::GWidget</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWindow.html#a0">GWindow</a>(GContainer *parent=NULL)</td><td><a class="el" href="classGewi_1_1GWindow.html">Gewi::GWindow</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#b2">InsertWidget</a>(WidgetNode *node)</td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWindow.html#a2">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)</td><td><a class="el" href="classGewi_1_1GWindow.html">Gewi::GWindow</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a11">MouseInWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#a2">Move</a>(float x, float y)</td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWindow.html#n3">rBackground</a></td><td><a class="el" href="classGewi_1_1GWindow.html">Gewi::GWindow</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n2">rBoundRect</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#n0">rChildList</a></td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWindow.html#n0">rDrag</a></td><td><a class="el" href="classGewi_1_1GWindow.html">Gewi::GWindow</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWindow.html#n1">rDragX</a></td><td><a class="el" href="classGewi_1_1GWindow.html">Gewi::GWindow</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWindow.html#n2">rDragY</a></td><td><a class="el" href="classGewi_1_1GWindow.html">Gewi::GWindow</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GContainer.html#b1">ReleaseChild</a>(GWidget *widget)</td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n0">rGewi</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n3">rParent</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n4">rRelX</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n5">rRelY</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n6">rVisible</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#n1">rZE</a></td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [protected]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWindow.html#a3">Show</a>()</td><td><a class="el" href="classGewi_1_1GWindow.html">Gewi::GWindow</a></td><td><code> [virtual]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a2">ToggleVisible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a10">Visible</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a8">X</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a9">Y</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><b>~GContainer</b>() (defined in <a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a>)</td><td><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GWidget.html#a1">~GWidget</a>()</td><td><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a></td><td><code> [virtual]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,246 @@
<!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>Gewi::GWindow class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GWindow Class Reference</h1><code>#include &lt;<a class="el" href="GewiWindow_8h-source.html">GewiWindow.h</a>&gt;</code>
<p>
Inherits <a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a>.
<p>
<a href="classGewi_1_1GWindow-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classGewi_1_1GWindow.html">GWindow</a>, basic window class, derived from <a class="el" href="classGewi_1_1GContainer.html">GContainer</a>.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWindow.html#a0">GWindow</a> (<a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *parent=NULL)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Simple constructor for <a class="el" href="classGewi_1_1GWindow.html">GWindow</a>.</em> <a href="#a0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWindow.html#a1">Create</a> (float x, float y, float width, float height, <a class="el" href="namespaceGewi.html#a2">ResourceID</a> backgroundImg)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">GButton's create function, must be called to set up actual button.</em> <a href="#a1"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWindow.html#a2">Message</a> (SDL_Event *rawEvent, <a class="el" href="namespaceGewi.html#a18">GewiEvent</a> event, Uint16 mouseX, Uint16 mouseY, char ch)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Overload of Message, used to recieve messages.</em> <a href="#a2"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWindow.html#a3">Show</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Draws window &amp; children to the screen.</em> <a href="#a3"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="Gewi::GWindow::rDrag"></a>
bool&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWindow.html#n0">rDrag</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Holds internal state of if mouse is dragging the window or not.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="Gewi::GWindow::rDragX"></a>
float&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWindow.html#n1">rDragX</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">X value of drag coordinate used for drag calculation.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="Gewi::GWindow::rDragY"></a>
float&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWindow.html#n2">rDragY</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Y value of drag coordinate used for drag calculation.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="n3" doxytag="Gewi::GWindow::rBackground"></a>
<a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWindow.html#n3">rBackground</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Image used for window.</em><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gewi::GWindow::GWindow"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Gewi::GWindow::GWindow </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1GContainer.html">GContainer</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>parent</em> = NULL </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Default constructor for <a class="el" href="classGewi_1_1GWindow.html">GWindow</a>, can take a parent. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>parent</em>&nbsp;</td><td>Pointer to <a class="el" href="classGewi_1_1GContainer.html">GContainer</a> derived class to be the parent. Default value is NULL which means no parent. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a1" doxytag="Gewi::GWindow::Create"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GWindow::Create </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">float&nbsp;</td>
<td class="mdname" nowrap> <em>x</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>y</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>width</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>float&nbsp;</td>
<td class="mdname" nowrap> <em>height</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td>
<td class="mdname" nowrap> <em>backgroundImg</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Every widget has a create function which must be called to define the button's appearance and settings. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>x</em>&nbsp;</td><td>X position of widget within it's container (entire screen if no parent) </td></tr>
<tr><td valign=top><em>y</em>&nbsp;</td><td>Y position of widget within it's container (entire screen if no parent) </td></tr>
<tr><td valign=top><em>width</em>&nbsp;</td><td>Width of widget. </td></tr>
<tr><td valign=top><em>height</em>&nbsp;</td><td>Height of widget. </td></tr>
<tr><td valign=top><em>backgroundImg</em>&nbsp;</td><td>Image for window. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="Gewi::GWindow::Message"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GWindow::Message </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Event *&nbsp;</td>
<td class="mdname" nowrap> <em>rawEvent</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a18">GewiEvent</a>&nbsp;</td>
<td class="mdname" nowrap> <em>event</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseX</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseY</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>char&nbsp;</td>
<td class="mdname" nowrap> <em>ch</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Recieves and processes a message, required overload for all widgets. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>rawEvent</em>&nbsp;</td><td>SDL_Event of original message, may be needed if more information is available on event. (May be NULL). </td></tr>
<tr><td valign=top><em>event</em>&nbsp;</td><td>GewiEvent enum, description of event recieved. </td></tr>
<tr><td valign=top><em>mouseX</em>&nbsp;</td><td>Mouse x position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>mouseY</em>&nbsp;</td><td>Mouse y position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>ch</em>&nbsp;</td><td>Character pressed in event, may be 0 if not a keypress event. </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="classGewi_1_1GContainer.html#a3">Gewi::GContainer</a>. </td>
</tr>
</table>
<a name="a3" doxytag="Gewi::GWindow::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 class="md" nowrap valign="top"> void Gewi::GWindow::Show </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Draws window &amp; children to the screen, required overload for all widgets.
<p>
Reimplemented from <a class="el" href="classGewi_1_1GContainer.html#a4">Gewi::GContainer</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li>/include/<a class="el" href="GewiWindow_8h-source.html">GewiWindow.h</a><li>/src/<a class="el" href="GewiWindow_8cpp.html">GewiWindow.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,37 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GewiEngine Member List</h1>This is the complete list of members for <a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#a1">AddResource</a>(ZE::ZImage *image)</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#a2">AddResource</a>(ZE::ZFont *font)</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#a8">DeleteWidget</a>(GWidget *widget)</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#a0">Display</a>()</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#d2">EventFilter</a>(SDL_Event *event)</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#a4">Font</a>(ResourceID id)</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#a5">FreeResources</a>()</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#d0">GetInstance</a>()</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#c0">GewiEngine</a>()</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#a3">Image</a>(ResourceID id)</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#c1">InsertWidget</a>(WidgetNode *node)</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#p2">InvalidID</a></td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#o1">mFontVec</a></td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#o0">mImageVec</a></td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#p1">MinZEVersion</a></td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#o2">mWidgetList</a></td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#a6">Register</a>(GWidget *widget)</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#d1">ReleaseInstance</a>()</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#a7">SendMessage</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#r0">sInstance</a></td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td><code> [private, static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#d3">TranslateKey</a>(SDL_keysym key)</td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td><code> [static]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1GewiEngine.html#p0">Version</a></td><td><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a></td><td><code> [static]</code></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,601 @@
<!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>Gewi::GewiEngine class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::GewiEngine Class Reference</h1><code>#include &lt;<a class="el" href="GewiEngine_8h-source.html">GewiEngine.h</a>&gt;</code>
<p>
<a href="classGewi_1_1GewiEngine-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a> Singleton Class, accessible from anywhere in a program via GetInstance. Contains widgets in global context (those drawn in relation to screen, with a NULL parent) also handles resource management of fonts and images.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#a0">Display</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Draw all widgets in the <a class="el" href="namespaceGewi.html">Gewi</a> system.</em> <a href="#a0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#a1">AddResource</a> (ZE::ZImage *image)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Adds an image resource to the private vector.</em> <a href="#a1"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#a2">AddResource</a> (ZE::ZFont *font)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Adds a font resource to the private vector.</em> <a href="#a2"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>ZE::ZImage *&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#a3">Image</a> (<a class="el" href="namespaceGewi.html#a2">ResourceID</a> id)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Access an image in the resource vector.</em> <a href="#a3"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>ZE::ZFont *&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#a4">Font</a> (<a class="el" href="namespaceGewi.html#a2">ResourceID</a> id)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Access a font in the resource vector.</em> <a href="#a4"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#a5">FreeResources</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Free all resources.</em> <a href="#a5"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#a6">Register</a> (<a class="el" href="classGewi_1_1GWidget.html">GWidget</a> *widget)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Register a widget, adding it to the list of widgets.</em> <a href="#a6"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#a7">SendMessage</a> (SDL_Event *rawEvent, <a class="el" href="namespaceGewi.html#a18">GewiEvent</a> event, Uint16 mouseX, Uint16 mouseY, char ch)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Send a message to the widgets, this function will decide which widgets the message is relevant to.</em> <a href="#a7"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#a8">DeleteWidget</a> (<a class="el" href="classGewi_1_1GWidget.html">GWidget</a> *widget)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Delete a widget.</em> <a href="#a8"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>GewiEngine *&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#d0">GetInstance</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Get the static instance of <a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a>.</em> <a href="#d0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#d1">ReleaseInstance</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Release static instance.</em> <a href="#d1"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#d2">EventFilter</a> (SDL_Event *event)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Static event filter, defined to SDL specifications.</em> <a href="#d2"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>char&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#d3">TranslateKey</a> (SDL_keysym key)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Translate an SDL structure into a character, used by EventFilter.</em> <a href="#d3"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="p0" doxytag="Gewi::GewiEngine::Version"></a>
VersionInfo&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#p0">Version</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Static version information.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="p1" doxytag="Gewi::GewiEngine::MinZEVersion"></a>
VersionInfo&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#p1">MinZEVersion</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Required ZEngine version.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="p2" doxytag="Gewi::GewiEngine::InvalidID"></a>
const <a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#p2">InvalidID</a> = UINT_MAX</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Static variable used to represent invalid IDs (before an ID has been assigned all resourceIDs should == InvalidID).</em><br><br></td></tr>
<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#c0">GewiEngine</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc"><a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a> constructor, private due to singleton design.</em> <a href="#c0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#c1">InsertWidget</a> (<a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *node)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Inserts a child to the child list.</em> <a href="#c1"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="o0" doxytag="Gewi::GewiEngine::mImageVec"></a>
std::vector&lt; ZE::ZImage * &gt;&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#o0">mImageVec</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Vector of pointers to ZImages, used by resource management system.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="o1" doxytag="Gewi::GewiEngine::mFontVec"></a>
std::vector&lt; ZE::ZFont * &gt;&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#o1">mFontVec</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Vector of pointers to ZFonts, used by resource management system.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="o2" doxytag="Gewi::GewiEngine::mWidgetList"></a>
<a class="el" href="classGewi_1_1WidgetList.html">WidgetList</a>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#o2">mWidgetList</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">List of widgets in global context.</em><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="r0" doxytag="Gewi::GewiEngine::sInstance"></a>
GewiEngine *&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html#r0">sInstance</a> = NULL</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Singleton static instance of <a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a>.</em><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="c0" doxytag="Gewi::GewiEngine::GewiEngine"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Gewi::GewiEngine::GewiEngine </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [private]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Initializes <a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a> instance variables, can only be called once per run of program due to design. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="d0" doxytag="Gewi::GewiEngine::GetInstance"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> GewiEngine * Gewi::GewiEngine::GetInstance </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [static]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Important key to the singleton's design, gets the static instance stored within. Creates static instance on first call. <dl compact><dt><b>Returns:</b></dt><dd>Pointer to static instance of <a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a>. </dd></dl>
</td>
</tr>
</table>
<a name="d1" doxytag="Gewi::GewiEngine::ReleaseInstance"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GewiEngine::ReleaseInstance </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [static]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Releases the instance of <a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a>, basically only called at very end of program. </td>
</tr>
</table>
<a name="d2" doxytag="Gewi::GewiEngine::EventFilter"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> int Gewi::GewiEngine::EventFilter </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Event *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>event</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [static]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Replaces SDL default event filter, and filters events into static <a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a> instance. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>event</em>&nbsp;</td><td>SDL_Event to handle. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Return values specified by SDL. </dd></dl>
</td>
</tr>
</table>
<a name="d3" doxytag="Gewi::GewiEngine::TranslateKey"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> char Gewi::GewiEngine::TranslateKey </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_keysym&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>key</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [static]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Converts SDL_keysym into a standard char, only works for certain meaningful keys. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>key</em>&nbsp;</td><td>SDL_keysm structure to convert. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Converted character. </dd></dl>
</td>
</tr>
</table>
<a name="a0" doxytag="Gewi::GewiEngine::Display"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GewiEngine::Display </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Draws all top level widgets and containers, container widgets are expected to draw their own children. </td>
</tr>
</table>
<a name="a1" doxytag="Gewi::GewiEngine::AddResource"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="namespaceGewi.html#a2">ResourceID</a> Gewi::GewiEngine::AddResource </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">ZE::ZImage *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>image</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Add a ZImage to the private vector of images and assign it a ResourceID. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>image</em>&nbsp;</td><td>Image to add to resources. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>ID number of new resource. </dd></dl>
</td>
</tr>
</table>
<a name="a2" doxytag="Gewi::GewiEngine::AddResource"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="namespaceGewi.html#a2">ResourceID</a> Gewi::GewiEngine::AddResource </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">ZE::ZFont *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>font</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Add a ZFont to the private vector of fonts and assign it a ResourceID. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>font</em>&nbsp;</td><td>Font to add to resources. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>ID number of new resource. </dd></dl>
</td>
</tr>
</table>
<a name="a3" doxytag="Gewi::GewiEngine::Image"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> ZE::ZImage * Gewi::GewiEngine::Image </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>id</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Given the images ID get a pointer to an image stored in the image vector. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>id</em>&nbsp;</td><td>ID of image to retrieve. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Pointer to image or NULL if invalid ID for images. </dd></dl>
</td>
</tr>
</table>
<a name="a4" doxytag="Gewi::GewiEngine::Font"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> ZE::ZFont * Gewi::GewiEngine::Font </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="namespaceGewi.html#a2">ResourceID</a>&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>id</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Given the fonts ID get a pointer to a font stored in the font vector. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>id</em>&nbsp;</td><td>ID of font to retrieve. </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Pointer to font or NULL if invalid ID for fonts. </dd></dl>
</td>
</tr>
</table>
<a name="a5" doxytag="Gewi::GewiEngine::FreeResources"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GewiEngine::FreeResources </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Frees memory for all resources. </td>
</tr>
</table>
<a name="c1" doxytag="Gewi::GewiEngine::InsertWidget"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GewiEngine::InsertWidget </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>node</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [private]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Calls needed function of <a class="el" href="classGewi_1_1WidgetList.html">WidgetList</a> class to put widget into the linked list. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>node</em>&nbsp;</td><td><a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> to insert into mWidgetList. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a6" doxytag="Gewi::GewiEngine::Register"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GewiEngine::Register </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1GWidget.html">GWidget</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>widget</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Add a widget to the list of widgets, all widgets register themselves. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>widget</em>&nbsp;</td><td>Widget to register. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a7" doxytag="Gewi::GewiEngine::SendMessage"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GewiEngine::SendMessage </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Event *&nbsp;</td>
<td class="mdname" nowrap> <em>rawEvent</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a18">GewiEvent</a>&nbsp;</td>
<td class="mdname" nowrap> <em>event</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseX</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseY</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>char&nbsp;</td>
<td class="mdname" nowrap> <em>ch</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Send a message to the widgets, this function will decide which widgets the message is relevant to. This generally isn't called by the client of <a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a>, instead the EventFilter hook on events will filter and process. This can be used to fake an event however. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>rawEvent</em>&nbsp;</td><td>SDL_Event of original message, may be needed if more information is available on event. (May be NULL). </td></tr>
<tr><td valign=top><em>event</em>&nbsp;</td><td>GewiEvent enum, description of event recieved. </td></tr>
<tr><td valign=top><em>mouseX</em>&nbsp;</td><td>Mouse x position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>mouseY</em>&nbsp;</td><td>Mouse y position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>ch</em>&nbsp;</td><td>Character pressed in event, may be 0 if not a keypress event. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a8" doxytag="Gewi::GewiEngine::DeleteWidget"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::GewiEngine::DeleteWidget </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1GWidget.html">GWidget</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>widget</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
This deletes a widget and memory associated with that widget, like register, widgets do this for themselves. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>widget</em>&nbsp;</td><td>to delete </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li>/include/<a class="el" href="GewiEngine_8h-source.html">GewiEngine.h</a><li>/src/<a class="el" href="GewiEngine_8cpp.html">GewiEngine.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,25 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::WidgetList Member List</h1>This is the complete list of members for <a class="el" href="classGewi_1_1WidgetList.html">Gewi::WidgetList</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1WidgetList.html#a1">AddWidget</a>(WidgetNode *node)</td><td><a class="el" href="classGewi_1_1WidgetList.html">Gewi::WidgetList</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1WidgetList.html#a2">DeleteWidget</a>(GWidget *widget)</td><td><a class="el" href="classGewi_1_1WidgetList.html">Gewi::WidgetList</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1WidgetList.html#c0">DeleteWidgetMem</a>(WidgetNode *node)</td><td><a class="el" href="classGewi_1_1WidgetList.html">Gewi::WidgetList</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1WidgetList.html#a3">DeleteWidgets</a>()</td><td><a class="el" href="classGewi_1_1WidgetList.html">Gewi::WidgetList</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1WidgetList.html#a5">FitParent</a>()</td><td><a class="el" href="classGewi_1_1WidgetList.html">Gewi::WidgetList</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1WidgetList.html#o1">mClick</a></td><td><a class="el" href="classGewi_1_1WidgetList.html">Gewi::WidgetList</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1WidgetList.html#a4">Message</a>(SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch)</td><td><a class="el" href="classGewi_1_1WidgetList.html">Gewi::WidgetList</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1WidgetList.html#o0">mWidgetList</a></td><td><a class="el" href="classGewi_1_1WidgetList.html">Gewi::WidgetList</a></td><td><code> [private]</code></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1WidgetList.html#a6">ShowWidgets</a>()</td><td><a class="el" href="classGewi_1_1WidgetList.html">Gewi::WidgetList</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1WidgetList.html#a0">WidgetList</a>()</td><td><a class="el" href="classGewi_1_1WidgetList.html">Gewi::WidgetList</a></td><td></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,330 @@
<!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>Gewi::WidgetList class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::WidgetList Class Reference</h1><code>#include &lt;<a class="el" href="GewiWidgetList_8h-source.html">GewiWidgetList.h</a>&gt;</code>
<p>
<a href="classGewi_1_1WidgetList-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Linked list of widgets, and various utility functions for containers. Class is internally used only, <a class="el" href="classGewi_1_1GContainer.html">GContainer</a> and <a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a> heavily rely on it.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetList.html#a0">WidgetList</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Constructor for the linked list.</em> <a href="#a0"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetList.html#a1">AddWidget</a> (<a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *node)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Add a <a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> to the list.</em> <a href="#a1"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetList.html#a2">DeleteWidget</a> (<a class="el" href="classGewi_1_1GWidget.html">GWidget</a> *widget)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Delete a widget.</em> <a href="#a2"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetList.html#a3">DeleteWidgets</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Delete all widgets.</em> <a href="#a3"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetList.html#a4">Message</a> (SDL_Event *rawEvent, <a class="el" href="namespaceGewi.html#a18">GewiEvent</a> event, Uint16 mouseX, Uint16 mouseY, char ch)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Intercepts a message to process.</em> <a href="#a4"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetList.html#a5">FitParent</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Fit all widgets to the parent.</em> <a href="#a5"></a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetList.html#a6">ShowWidgets</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Show widgets.</em> <a href="#a6"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetList.html#c0">DeleteWidgetMem</a> (<a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *node)</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Internal function to delete widget memory.</em> <a href="#c0"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="o0" doxytag="Gewi::WidgetList::mWidgetList"></a>
<a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetList.html#o0">mWidgetList</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Pointer to head of list.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="o1" doxytag="Gewi::WidgetList::mClick"></a>
<a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetList.html#o1">mClick</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Variable keeping track of where the last click was, to change focus.</em><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gewi::WidgetList::WidgetList"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Gewi::WidgetList::WidgetList </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Simply NULLs pointers for the linked list. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="c0" doxytag="Gewi::WidgetList::DeleteWidgetMem"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::WidgetList::DeleteWidgetMem </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>node</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [private]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Deletes the memory used by a widget node, interally used. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>node</em>&nbsp;</td><td>Node to delete. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a1" doxytag="Gewi::WidgetList::AddWidget"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::WidgetList::AddWidget </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>node</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Adds a <a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> to the list, in the 'front'. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>node</em>&nbsp;</td><td>Node to add to list. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a2" doxytag="Gewi::WidgetList::DeleteWidget"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::WidgetList::DeleteWidget </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classGewi_1_1GWidget.html">GWidget</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>widget</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Deletes a widget, it's memory and frees it from it's container or <a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a>. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>widget</em>&nbsp;</td><td>Widget to delete. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a3" doxytag="Gewi::WidgetList::DeleteWidgets"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::WidgetList::DeleteWidgets </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Deletes all widgets and their memory. </td>
</tr>
</table>
<a name="a4" doxytag="Gewi::WidgetList::Message"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::WidgetList::Message </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">SDL_Event *&nbsp;</td>
<td class="mdname" nowrap> <em>rawEvent</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="namespaceGewi.html#a18">GewiEvent</a>&nbsp;</td>
<td class="mdname" nowrap> <em>event</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseX</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>Uint16&nbsp;</td>
<td class="mdname" nowrap> <em>mouseY</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>char&nbsp;</td>
<td class="mdname" nowrap> <em>ch</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Intercepts and processes incoming messages, delegating them where they belong. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>rawEvent</em>&nbsp;</td><td>SDL_Event of original message, may be needed if more information is available on event. (May be NULL). </td></tr>
<tr><td valign=top><em>event</em>&nbsp;</td><td>GewiEvent enum, description of event recieved. </td></tr>
<tr><td valign=top><em>mouseX</em>&nbsp;</td><td>Mouse x position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>mouseY</em>&nbsp;</td><td>Mouse y position in event, if not mouse event may be incorrect. </td></tr>
<tr><td valign=top><em>ch</em>&nbsp;</td><td>Character pressed in event, may be 0 if not a keypress event. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a5" doxytag="Gewi::WidgetList::FitParent"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::WidgetList::FitParent </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Fits widgets to parent of which this linked list is a part of. </td>
</tr>
</table>
<a name="a6" doxytag="Gewi::WidgetList::ShowWidgets"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void Gewi::WidgetList::ShowWidgets </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Calls Show method of widgets in reverse order for proper appearance. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li>/include/<a class="el" href="GewiWidgetList_8h-source.html">GewiWidgetList.h</a><li>/src/<a class="el" href="GewiWidgetList_8cpp.html">GewiWidgetList.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,19 @@
<!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>Member List</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::WidgetNode Member List</h1>This is the complete list of members for <a class="el" href="classGewi_1_1WidgetNode.html">Gewi::WidgetNode</a>, including all inherited members.<table>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1WidgetNode.html#m2">next</a></td><td><a class="el" href="classGewi_1_1WidgetNode.html">Gewi::WidgetNode</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1WidgetNode.html#m1">prev</a></td><td><a class="el" href="classGewi_1_1WidgetNode.html">Gewi::WidgetNode</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1WidgetNode.html#m0">widget</a></td><td><a class="el" href="classGewi_1_1WidgetNode.html">Gewi::WidgetNode</a></td><td></td></tr>
<tr bgcolor="#f0f0f0"><td><a class="el" href="classGewi_1_1WidgetNode.html#a0">WidgetNode</a>()</td><td><a class="el" href="classGewi_1_1WidgetNode.html">Gewi::WidgetNode</a></td><td></td></tr>
</table><hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

View File

@ -0,0 +1,66 @@
<!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>Gewi::WidgetNode class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi::WidgetNode Class Reference</h1><code>#include &lt;<a class="el" href="GewiWidgetList_8h-source.html">GewiWidgetList.h</a>&gt;</code>
<p>
<a href="classGewi_1_1WidgetNode-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Doubly linked list node containing a widget.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetNode.html#a0">WidgetNode</a> ()</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Basic constructor.</em> <a href="#a0"></a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="m0" doxytag="Gewi::WidgetNode::widget"></a>
<a class="el" href="classGewi_1_1GWidget.html">GWidget</a> *&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetNode.html#m0">widget</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Pointer to widget for this node.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="m1" doxytag="Gewi::WidgetNode::prev"></a>
WidgetNode *&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetNode.html#m1">prev</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Pointer to previous node.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="m2" doxytag="Gewi::WidgetNode::next"></a>
WidgetNode *&nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetNode.html#m2">next</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Pointer to next node.</em><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Gewi::WidgetNode::WidgetNode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> Gewi::WidgetNode::WidgetNode </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Simple safety constructor just sets all values to NULL. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li>/include/<a class="el" href="GewiWidgetList_8h-source.html">GewiWidgetList.h</a><li>/src/<a class="el" href="GewiWidgetList_8cpp.html">GewiWidgetList.cpp</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

39
doc/html/files.html Executable file
View File

@ -0,0 +1,39 @@
<!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>File Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi File List</h1>Here is a list of all documented files with brief descriptions:<table>
<tr><td class="indexkey">/include/<a class="el" href="Gewi_8h.html">Gewi.h</a> <a href="Gewi_8h-source.html">[code]</a></td><td class="indexvalue">Header file for <a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
<tr><td class="indexkey">/include/<a class="el" href="GewiButton_8h.html">GewiButton.h</a> <a href="GewiButton_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for GButton</td></tr>
<tr><td class="indexkey">/include/<a class="el" href="GewiContainer_8h.html">GewiContainer.h</a> <a href="GewiContainer_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for GContainer</td></tr>
<tr><td class="indexkey">/include/<a class="el" href="GewiDefines_8h.html">GewiDefines.h</a> <a href="GewiDefines_8h-source.html">[code]</a></td><td class="indexvalue">Define file for <a class="el" href="namespaceGewi.html">Gewi</a> where enumerations, typedefs and #define statements are placed</td></tr>
<tr><td class="indexkey">/include/<a class="el" href="GewiEngine_8h.html">GewiEngine.h</a> <a href="GewiEngine_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for GewiEngine</td></tr>
<tr><td class="indexkey">/include/<a class="el" href="GewiIncludes_8h.html">GewiIncludes.h</a> <a href="GewiIncludes_8h-source.html">[code]</a></td><td class="indexvalue">Include file for <a class="el" href="namespaceGewi.html">Gewi</a></td></tr>
<tr><td class="indexkey">/include/<a class="el" href="GewiSlider_8h.html">GewiSlider.h</a> <a href="GewiSlider_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for GSlider, GHorizSlider and GVertSlider</td></tr>
<tr><td class="indexkey">/include/<a class="el" href="GewiStaticText_8h.html">GewiStaticText.h</a> <a href="GewiStaticText_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for GStaticText</td></tr>
<tr><td class="indexkey">/include/<a class="el" href="GewiTextButton_8h.html">GewiTextButton.h</a> <a href="GewiTextButton_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for GTextButton</td></tr>
<tr><td class="indexkey">/include/<a class="el" href="GewiTextField_8h.html">GewiTextField.h</a> <a href="GewiTextField_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for GTextField</td></tr>
<tr><td class="indexkey">/include/<a class="el" href="GewiWidget_8h.html">GewiWidget.h</a> <a href="GewiWidget_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for GWidget</td></tr>
<tr><td class="indexkey">/include/<a class="el" href="GewiWidgetList_8h.html">GewiWidgetList.h</a> <a href="GewiWidgetList_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for WidgetList</td></tr>
<tr><td class="indexkey">/include/<a class="el" href="GewiWindow_8h.html">GewiWindow.h</a> <a href="GewiWindow_8h-source.html">[code]</a></td><td class="indexvalue">Definition file for GWindow</td></tr>
<tr><td class="indexkey">/src/<a class="el" href="GewiButton_8cpp.html">GewiButton.cpp</a></td><td class="indexvalue">Implementation of GButton</td></tr>
<tr><td class="indexkey">/src/<a class="el" href="GewiContainer_8cpp.html">GewiContainer.cpp</a></td><td class="indexvalue">Implementation of GContainer</td></tr>
<tr><td class="indexkey">/src/<a class="el" href="GewiEngine_8cpp.html">GewiEngine.cpp</a></td><td class="indexvalue">Implementation of GewiEngine</td></tr>
<tr><td class="indexkey">/src/<a class="el" href="GewiSlider_8cpp.html">GewiSlider.cpp</a></td><td class="indexvalue">Implementation of GSlider, GHorizSlider and GVertSlider</td></tr>
<tr><td class="indexkey">/src/<a class="el" href="GewiStaticText_8cpp.html">GewiStaticText.cpp</a></td><td class="indexvalue">Implementation of GStaticText</td></tr>
<tr><td class="indexkey">/src/<a class="el" href="GewiTextButton_8cpp.html">GewiTextButton.cpp</a></td><td class="indexvalue">Implementation of GTextButton</td></tr>
<tr><td class="indexkey">/src/<a class="el" href="GewiTextField_8cpp.html">GewiTextField.cpp</a></td><td class="indexvalue">Implementation of GTextField</td></tr>
<tr><td class="indexkey">/src/<a class="el" href="GewiWidget_8cpp.html">GewiWidget.cpp</a></td><td class="indexvalue">Implementation of GWidget</td></tr>
<tr><td class="indexkey">/src/<a class="el" href="GewiWidgetList_8cpp.html">GewiWidgetList.cpp</a></td><td class="indexvalue">Implementation of WidgetList</td></tr>
<tr><td class="indexkey">/src/<a class="el" href="GewiWindow_8cpp.html">GewiWindow.cpp</a></td><td class="indexvalue">Implementation of GWindow</td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

162
doc/html/functions.html Executable file
View File

@ -0,0 +1,162 @@
<!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>Compound Member Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi Compound Members</h1><center>
<a href="#index_a">a</a>&nbsp;|&nbsp;<a href="#index_c">c</a>&nbsp;|&nbsp;<a href="#index_d">d</a>&nbsp;|&nbsp;<a href="#index_e">e</a>&nbsp;|&nbsp;<a href="#index_f">f</a>&nbsp;|&nbsp;<a href="#index_g">g</a>&nbsp;|&nbsp;<a href="#index_i">i</a>&nbsp;|&nbsp;<a href="#index_m">m</a>&nbsp;|&nbsp;<a href="#index_n">n</a>&nbsp;|&nbsp;<a href="#index_p">p</a>&nbsp;|&nbsp;<a href="#index_r">r</a>&nbsp;|&nbsp;<a href="#index_s">s</a>&nbsp;|&nbsp;<a href="#index_t">t</a>&nbsp;|&nbsp;<a href="#index_v">v</a>&nbsp;|&nbsp;<a href="#index_w">w</a>&nbsp;|&nbsp;<a href="#index_x">x</a>&nbsp;|&nbsp;<a href="#index_y">y</a>&nbsp;|&nbsp;<a href="#index_~">~</a></center>
<p>
Here is a list of all documented class members with links to the class documentation for each member:<h3><a name="index_a">- a -</a>
</h3><ul>
<li>AddChild()
: <a class="el" href="classGewi_1_1GContainer.html#b0">Gewi::GContainer</a><li>AddResource()
: <a class="el" href="classGewi_1_1GewiEngine.html#a2">Gewi::GewiEngine</a><li>AddWidget()
: <a class="el" href="classGewi_1_1WidgetList.html#a1">Gewi::WidgetList</a></ul>
<h3><a name="index_c">- c -</a>
</h3><ul>
<li>Contains()
: <a class="el" href="classGewi_1_1GWidget.html#a12">Gewi::GWidget</a><li>Create()
: <a class="el" href="classGewi_1_1GWindow.html#a1">Gewi::GWindow</a>, <a class="el" href="classGewi_1_1GWidget.html#a4">Gewi::GWidget</a>, <a class="el" href="classGewi_1_1GTextField.html#a1">Gewi::GTextField</a>, <a class="el" href="classGewi_1_1GTextButton.html#a1">Gewi::GTextButton</a>, <a class="el" href="classGewi_1_1GStaticText.html#a1">Gewi::GStaticText</a>, <a class="el" href="classGewi_1_1GSlider.html#a1">Gewi::GSlider</a>, <a class="el" href="classGewi_1_1GButton.html#a1">Gewi::GButton</a></ul>
<h3><a name="index_d">- d -</a>
</h3><ul>
<li>DeleteWidget()
: <a class="el" href="classGewi_1_1WidgetList.html#a2">Gewi::WidgetList</a>, <a class="el" href="classGewi_1_1GewiEngine.html#a8">Gewi::GewiEngine</a><li>DeleteWidgetMem()
: <a class="el" href="classGewi_1_1WidgetList.html#c0">Gewi::WidgetList</a><li>DeleteWidgets()
: <a class="el" href="classGewi_1_1WidgetList.html#a3">Gewi::WidgetList</a><li>Display()
: <a class="el" href="classGewi_1_1GewiEngine.html#a0">Gewi::GewiEngine</a></ul>
<h3><a name="index_e">- e -</a>
</h3><ul>
<li>EventFilter()
: <a class="el" href="classGewi_1_1GewiEngine.html#d2">Gewi::GewiEngine</a></ul>
<h3><a name="index_f">- f -</a>
</h3><ul>
<li>FitParent()
: <a class="el" href="classGewi_1_1WidgetList.html#a5">Gewi::WidgetList</a>, <a class="el" href="classGewi_1_1GWidget.html#a3">Gewi::GWidget</a><li>Font()
: <a class="el" href="classGewi_1_1GewiEngine.html#a4">Gewi::GewiEngine</a><li>FreeResources()
: <a class="el" href="classGewi_1_1GewiEngine.html#a5">Gewi::GewiEngine</a></ul>
<h3><a name="index_g">- g -</a>
</h3><ul>
<li>GButton()
: <a class="el" href="classGewi_1_1GButton.html#a0">Gewi::GButton</a><li>GContainer()
: <a class="el" href="classGewi_1_1GContainer.html#a0">Gewi::GContainer</a><li>GetInstance()
: <a class="el" href="classGewi_1_1GewiEngine.html#d0">Gewi::GewiEngine</a><li>GetPos()
: <a class="el" href="classGewi_1_1GSlider.html#a3">Gewi::GSlider</a><li>GetText()
: <a class="el" href="classGewi_1_1GTextField.html#a5">Gewi::GTextField</a>, <a class="el" href="classGewi_1_1GTextButton.html#a4">Gewi::GTextButton</a>, <a class="el" href="classGewi_1_1GStaticText.html#a5">Gewi::GStaticText</a><li>GewiEngine()
: <a class="el" href="classGewi_1_1GewiEngine.html#c0">Gewi::GewiEngine</a><li>GSlider()
: <a class="el" href="classGewi_1_1GSlider.html#a0">Gewi::GSlider</a><li>GStaticText()
: <a class="el" href="classGewi_1_1GStaticText.html#a0">Gewi::GStaticText</a><li>GTextButton()
: <a class="el" href="classGewi_1_1GTextButton.html#a0">Gewi::GTextButton</a><li>GTextField()
: <a class="el" href="classGewi_1_1GTextField.html#a0">Gewi::GTextField</a><li>GWidget
: <a class="el" href="classGewi_1_1GWidget.html#a0">Gewi::GWidget</a>, <a class="el" href="classGewi_1_1GContainer.html#o0">Gewi::GContainer</a><li>GWindow()
: <a class="el" href="classGewi_1_1GWindow.html#a0">Gewi::GWindow</a></ul>
<h3><a name="index_i">- i -</a>
</h3><ul>
<li>Image()
: <a class="el" href="classGewi_1_1GewiEngine.html#a3">Gewi::GewiEngine</a><li>InsertWidget()
: <a class="el" href="classGewi_1_1GewiEngine.html#c1">Gewi::GewiEngine</a>, <a class="el" href="classGewi_1_1GContainer.html#b2">Gewi::GContainer</a><li>InvalidID
: <a class="el" href="classGewi_1_1GewiEngine.html#p2">Gewi::GewiEngine</a><li>IsPressed()
: <a class="el" href="classGewi_1_1GButton.html#a4">Gewi::GButton</a></ul>
<h3><a name="index_m">- m -</a>
</h3><ul>
<li>mClick
: <a class="el" href="classGewi_1_1WidgetList.html#o1">Gewi::WidgetList</a><li>Message()
: <a class="el" href="classGewi_1_1GWindow.html#a2">Gewi::GWindow</a>, <a class="el" href="classGewi_1_1WidgetList.html#a4">Gewi::WidgetList</a>, <a class="el" href="classGewi_1_1GWidget.html#a6">Gewi::GWidget</a>, <a class="el" href="classGewi_1_1GTextField.html#a2">Gewi::GTextField</a>, <a class="el" href="classGewi_1_1GStaticText.html#a2">Gewi::GStaticText</a>, <a class="el" href="classGewi_1_1GVertSlider.html#a0">Gewi::GVertSlider</a>, <a class="el" href="classGewi_1_1GHorizSlider.html#a0">Gewi::GHorizSlider</a>, <a class="el" href="classGewi_1_1GContainer.html#a3">Gewi::GContainer</a>, <a class="el" href="classGewi_1_1GButton.html#a2">Gewi::GButton</a><li>mFontVec
: <a class="el" href="classGewi_1_1GewiEngine.html#o1">Gewi::GewiEngine</a><li>mImageVec
: <a class="el" href="classGewi_1_1GewiEngine.html#o0">Gewi::GewiEngine</a><li>MinZEVersion
: <a class="el" href="classGewi_1_1GewiEngine.html#p1">Gewi::GewiEngine</a><li>MouseInWidget()
: <a class="el" href="classGewi_1_1GWidget.html#a11">Gewi::GWidget</a><li>Move()
: <a class="el" href="classGewi_1_1GWidget.html#a5">Gewi::GWidget</a>, <a class="el" href="classGewi_1_1GContainer.html#a2">Gewi::GContainer</a><li>mWidgetList
: <a class="el" href="classGewi_1_1WidgetList.html#o0">Gewi::WidgetList</a>, <a class="el" href="classGewi_1_1GewiEngine.html#o2">Gewi::GewiEngine</a></ul>
<h3><a name="index_n">- n -</a>
</h3><ul>
<li>next
: <a class="el" href="classGewi_1_1WidgetNode.html#m2">Gewi::WidgetNode</a></ul>
<h3><a name="index_p">- p -</a>
</h3><ul>
<li>prev
: <a class="el" href="classGewi_1_1WidgetNode.html#m1">Gewi::WidgetNode</a></ul>
<h3><a name="index_r">- r -</a>
</h3><ul>
<li>rBackground
: <a class="el" href="classGewi_1_1GWindow.html#n3">Gewi::GWindow</a>, <a class="el" href="classGewi_1_1GTextField.html#n3">Gewi::GTextField</a>, <a class="el" href="classGewi_1_1GSlider.html#n1">Gewi::GSlider</a><li>rBackgroundImage
: <a class="el" href="classGewi_1_1GStaticText.html#n0">Gewi::GStaticText</a><li>rBoundRect
: <a class="el" href="classGewi_1_1GWidget.html#n2">Gewi::GWidget</a><li>rBuffer
: <a class="el" href="classGewi_1_1GTextField.html#n1">Gewi::GTextField</a><li>rChildList
: <a class="el" href="classGewi_1_1GContainer.html#n0">Gewi::GContainer</a><li>rDrag
: <a class="el" href="classGewi_1_1GWindow.html#n0">Gewi::GWindow</a><li>rDragX
: <a class="el" href="classGewi_1_1GWindow.html#n1">Gewi::GWindow</a><li>rDragY
: <a class="el" href="classGewi_1_1GWindow.html#n2">Gewi::GWindow</a><li>Register()
: <a class="el" href="classGewi_1_1GewiEngine.html#a6">Gewi::GewiEngine</a><li>ReleaseChild()
: <a class="el" href="classGewi_1_1GContainer.html#b1">Gewi::GContainer</a><li>ReleaseInstance()
: <a class="el" href="classGewi_1_1GewiEngine.html#d1">Gewi::GewiEngine</a><li>rFont
: <a class="el" href="classGewi_1_1GTextField.html#n2">Gewi::GTextField</a>, <a class="el" href="classGewi_1_1GTextButton.html#n4">Gewi::GTextButton</a>, <a class="el" href="classGewi_1_1GStaticText.html#n1">Gewi::GStaticText</a><li>rGewi
: <a class="el" href="classGewi_1_1GWidget.html#n0">Gewi::GWidget</a><li>rIncrement
: <a class="el" href="classGewi_1_1GSlider.html#n6">Gewi::GSlider</a><li>rJustify
: <a class="el" href="classGewi_1_1GStaticText.html#n6">Gewi::GStaticText</a><li>rLeftPadding
: <a class="el" href="classGewi_1_1GTextField.html#n5">Gewi::GTextField</a><li>rMax
: <a class="el" href="classGewi_1_1GSlider.html#n4">Gewi::GSlider</a><li>rMaxChars
: <a class="el" href="classGewi_1_1GTextField.html#n4">Gewi::GTextField</a><li>rMin
: <a class="el" href="classGewi_1_1GSlider.html#n3">Gewi::GSlider</a><li>rNormalImage
: <a class="el" href="classGewi_1_1GButton.html#n2">Gewi::GButton</a><li>rParent
: <a class="el" href="classGewi_1_1GWidget.html#n3">Gewi::GWidget</a><li>rPos
: <a class="el" href="classGewi_1_1GSlider.html#n5">Gewi::GSlider</a><li>rPressed
: <a class="el" href="classGewi_1_1GSlider.html#n0">Gewi::GSlider</a>, <a class="el" href="classGewi_1_1GButton.html#n0">Gewi::GButton</a><li>rPressedImage
: <a class="el" href="classGewi_1_1GButton.html#n3">Gewi::GButton</a><li>rRelX
: <a class="el" href="classGewi_1_1GWidget.html#n4">Gewi::GWidget</a><li>rRelY
: <a class="el" href="classGewi_1_1GWidget.html#n5">Gewi::GWidget</a><li>rSlider
: <a class="el" href="classGewi_1_1GSlider.html#n2">Gewi::GSlider</a><li>rText
: <a class="el" href="classGewi_1_1GTextField.html#n0">Gewi::GTextField</a>, <a class="el" href="classGewi_1_1GTextButton.html#n0">Gewi::GTextButton</a>, <a class="el" href="classGewi_1_1GStaticText.html#n2">Gewi::GStaticText</a><li>rTextBuf
: <a class="el" href="classGewi_1_1GTextButton.html#n1">Gewi::GTextButton</a>, <a class="el" href="classGewi_1_1GStaticText.html#n3">Gewi::GStaticText</a><li>rType
: <a class="el" href="classGewi_1_1GButton.html#n1">Gewi::GButton</a><li>rVisible
: <a class="el" href="classGewi_1_1GWidget.html#n6">Gewi::GWidget</a><li>rXOff
: <a class="el" href="classGewi_1_1GTextButton.html#n2">Gewi::GTextButton</a>, <a class="el" href="classGewi_1_1GStaticText.html#n4">Gewi::GStaticText</a><li>rYOff
: <a class="el" href="classGewi_1_1GTextButton.html#n3">Gewi::GTextButton</a>, <a class="el" href="classGewi_1_1GStaticText.html#n5">Gewi::GStaticText</a><li>rZE
: <a class="el" href="classGewi_1_1GWidget.html#n1">Gewi::GWidget</a></ul>
<h3><a name="index_s">- s -</a>
</h3><ul>
<li>SendMessage()
: <a class="el" href="classGewi_1_1GewiEngine.html#a7">Gewi::GewiEngine</a><li>SetPos()
: <a class="el" href="classGewi_1_1GSlider.html#a2">Gewi::GSlider</a><li>SetState()
: <a class="el" href="classGewi_1_1GButton.html#a5">Gewi::GButton</a><li>SetText()
: <a class="el" href="classGewi_1_1GTextField.html#a4">Gewi::GTextField</a>, <a class="el" href="classGewi_1_1GTextButton.html#a3">Gewi::GTextButton</a>, <a class="el" href="classGewi_1_1GStaticText.html#a4">Gewi::GStaticText</a><li>Show()
: <a class="el" href="classGewi_1_1GWindow.html#a3">Gewi::GWindow</a>, <a class="el" href="classGewi_1_1GWidget.html#a7">Gewi::GWidget</a>, <a class="el" href="classGewi_1_1GTextField.html#a3">Gewi::GTextField</a>, <a class="el" href="classGewi_1_1GTextButton.html#a2">Gewi::GTextButton</a>, <a class="el" href="classGewi_1_1GStaticText.html#a3">Gewi::GStaticText</a>, <a class="el" href="classGewi_1_1GVertSlider.html#a1">Gewi::GVertSlider</a>, <a class="el" href="classGewi_1_1GHorizSlider.html#a1">Gewi::GHorizSlider</a>, <a class="el" href="classGewi_1_1GContainer.html#a4">Gewi::GContainer</a>, <a class="el" href="classGewi_1_1GButton.html#a3">Gewi::GButton</a><li>ShowWidgets()
: <a class="el" href="classGewi_1_1WidgetList.html#a6">Gewi::WidgetList</a><li>sInstance
: <a class="el" href="classGewi_1_1GewiEngine.html#r0">Gewi::GewiEngine</a></ul>
<h3><a name="index_t">- t -</a>
</h3><ul>
<li>ToggleVisible()
: <a class="el" href="classGewi_1_1GWidget.html#a2">Gewi::GWidget</a><li>TranslateKey()
: <a class="el" href="classGewi_1_1GewiEngine.html#d3">Gewi::GewiEngine</a></ul>
<h3><a name="index_v">- v -</a>
</h3><ul>
<li>Version
: <a class="el" href="classGewi_1_1GewiEngine.html#p0">Gewi::GewiEngine</a><li>Visible()
: <a class="el" href="classGewi_1_1GWidget.html#a10">Gewi::GWidget</a></ul>
<h3><a name="index_w">- w -</a>
</h3><ul>
<li>widget
: <a class="el" href="classGewi_1_1WidgetNode.html#m0">Gewi::WidgetNode</a><li>WidgetList()
: <a class="el" href="classGewi_1_1WidgetList.html#a0">Gewi::WidgetList</a><li>WidgetNode()
: <a class="el" href="classGewi_1_1WidgetNode.html#a0">Gewi::WidgetNode</a></ul>
<h3><a name="index_x">- x -</a>
</h3><ul>
<li>X()
: <a class="el" href="classGewi_1_1GWidget.html#a8">Gewi::GWidget</a></ul>
<h3><a name="index_y">- y -</a>
</h3><ul>
<li>Y()
: <a class="el" href="classGewi_1_1GWidget.html#a9">Gewi::GWidget</a></ul>
<h3><a name="index_~">- ~ -</a>
</h3><ul>
<li>~GWidget()
: <a class="el" href="classGewi_1_1GWidget.html#a1">Gewi::GWidget</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

37
doc/html/hierarchy.html Executable file
View File

@ -0,0 +1,37 @@
<!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>Hierarchical Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi Class Hierarchy</h1>This inheritance list is sorted roughly, but not completely, alphabetically:<ul>
<li><a class="el" href="classGewi_1_1GewiEngine.html">Gewi::GewiEngine</a>
<li><a class="el" href="classGewi_1_1GWidget.html">Gewi::GWidget</a>
<ul>
<li><a class="el" href="classGewi_1_1GButton.html">Gewi::GButton</a>
<ul>
<li><a class="el" href="classGewi_1_1GTextButton.html">Gewi::GTextButton</a>
</ul>
<li><a class="el" href="classGewi_1_1GContainer.html">Gewi::GContainer</a>
<ul>
<li><a class="el" href="classGewi_1_1GWindow.html">Gewi::GWindow</a>
</ul>
<li><a class="el" href="classGewi_1_1GSlider.html">Gewi::GSlider</a>
<ul>
<li><a class="el" href="classGewi_1_1GHorizSlider.html">Gewi::GHorizSlider</a>
<li><a class="el" href="classGewi_1_1GVertSlider.html">Gewi::GVertSlider</a>
</ul>
<li><a class="el" href="classGewi_1_1GStaticText.html">Gewi::GStaticText</a>
<li><a class="el" href="classGewi_1_1GTextField.html">Gewi::GTextField</a>
</ul>
<li><a class="el" href="classGewi_1_1WidgetList.html">Gewi::WidgetList</a>
<li><a class="el" href="classGewi_1_1WidgetNode.html">Gewi::WidgetNode</a>
</ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

40
doc/html/index.html Executable file
View File

@ -0,0 +1,40 @@
<!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>Gewi Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1><a class="el" href="namespaceGewi.html">Gewi</a> Documentation</h1>
<p>
<h3 align="center">0.2.0</h3><dl compact><dt><b>Author:</b></dt><dd>James Turk </dd></dl>
<dl compact><dt><b>Version:</b></dt><dd>0.2.0 </dd></dl>
<dl compact><dt><b>Date:</b></dt><dd>June 16th, 2003</dd></dl>
<h2><a name="Gewi"></a>
About ZEngine and Gewi</h2>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;-ZEngine is designed to provide a powerful yet easy to use 2D game engine in a well designed Object Oriented manner, and uses cross platform libraries such as SDL and OpenGL. (ZEngine can use SDL_ttf,SDL_image, SDL_mixer, and PhysFS all of which are cross platform as well as Open Source.) <a class="el" href="namespaceGewi.html">Gewi</a> sits neatly on top of ZEngine and is written in much the same style, <a class="el" href="namespaceGewi.html">Gewi</a> is designed to be the GUI portion of ZEngine but grew so large it needed to become a seperate project.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-Both are licensed under a BSD-style license, and anyone is free to suggest or implement changes to be added to either, as well as modify ZEngine or <a class="el" href="namespaceGewi.html">Gewi</a> to fit their own needs or use it however they like.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-Because <a class="el" href="namespaceGewi.html">Gewi</a> relys so heavily on ZEngine it has no website, if anybody writes a version of <a class="el" href="namespaceGewi.html">Gewi</a> that does not use the ZEngine backend I'd be glad to see it and even integrate it with the ZEngine/Gewi source. Until there is some other version, <a class="el" href="namespaceGewi.html">Gewi</a> will always be found right next to ZEngine.<br>
&nbsp;&nbsp;&nbsp;&nbsp;-The <a class="el" href="namespaceGewi.html">Gewi</a> website : <a href="http://zengine.sourceforge.net/gewi/.">http://zengine.sourceforge.net/gewi/.</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;-The ZEngine website : <a href="http://zengine.sourceforge.net/.">http://zengine.sourceforge.net/.</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;-The ZEngine tutorials : <a href="http://conceptofzero.net/tutorials/zengine/.">http://conceptofzero.net/tutorials/zengine/.</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;-The ZEngine forums : <a href="http://www.conceptofzero.net/forums/index.php?act=SF&f=15">http://www.conceptofzero.net/forums/index.php?act=SF&amp;f=15</a><h2><a name="Licensing"></a>
Licensing</h2>
<br>
<pre><div> This file is Part of the <a class="el" href="namespaceGewi.html">Gewi</a> GUI Library for ZEngine.
<a class="el" href="namespaceGewi.html">Gewi</a> and ZEngine Copyright (C) 2002, 2003 James Turk</pre></div><p>
<pre><div> Licensed under a BSD-style license. (see licensing.txt)</pre></div><p>
<pre><div> The maintainer of this library is James Turk (<a href="mailto:james@conceptofzero.net">james@conceptofzero.net</a>)
this library is found at the home of ZEngine <a href="http://zengine.sourceforge.net">http://zengine.sourceforge.net</a>
</pre></div> <h2><a name="Authors"></a>
Contributing Authors</h2>
<br>
James Turk <a href="mailto:james@conceptofzero.net">james@conceptofzero.net</a> - Core Engine, Design, Docs, and Classes<br>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

195
doc/html/namespaceGewi.html Executable file
View File

@ -0,0 +1,195 @@
<!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>Gewi Namespace Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi Namespace Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Namespace for all Gewi classes and utility functions.
<p>
<p>
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Compounds</h2></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GButton.html">GButton</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc"><a class="el" href="classGewi_1_1GButton.html">GButton</a> class for basic buttons.</em> <a href="classGewi_1_1GButton.html#_details">More...</a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GContainer.html">GContainer</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc"><a class="el" href="classGewi_1_1GContainer.html">GContainer</a> class, definition of a container widget.</em> <a href="classGewi_1_1GContainer.html#_details">More...</a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Main <a class="el" href="classGewi_1_1GewiEngine.html">GewiEngine</a> Singleton Class.</em> <a href="classGewi_1_1GewiEngine.html#_details">More...</a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GSlider.html">GSlider</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc"><a class="el" href="classGewi_1_1GSlider.html">GSlider</a> (virtual) slider widget class.</em> <a href="classGewi_1_1GSlider.html#_details">More...</a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GHorizSlider.html">GHorizSlider</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc"><a class="el" href="classGewi_1_1GHorizSlider.html">GHorizSlider</a>, horizontal slider widget class.</em> <a href="classGewi_1_1GHorizSlider.html#_details">More...</a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GVertSlider.html">GVertSlider</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc"><a class="el" href="classGewi_1_1GHorizSlider.html">GHorizSlider</a>, horizontal slider widget class.</em> <a href="classGewi_1_1GVertSlider.html#_details">More...</a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GStaticText.html">GStaticText</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc"><a class="el" href="classGewi_1_1GStaticText.html">GStaticText</a> for stationary labels.</em> <a href="classGewi_1_1GStaticText.html#_details">More...</a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextButton.html">GTextButton</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc"><a class="el" href="classGewi_1_1GTextButton.html">GTextButton</a> class for button with text label.</em> <a href="classGewi_1_1GTextButton.html#_details">More...</a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GTextField.html">GTextField</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc"><a class="el" href="classGewi_1_1GTextField.html">GTextField</a> class for basic text input area.</em> <a href="classGewi_1_1GTextField.html#_details">More...</a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWidget.html">GWidget</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc"><a class="el" href="classGewi_1_1GWidget.html">GWidget</a> base widget class.</em> <a href="classGewi_1_1GWidget.html#_details">More...</a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc"><a class="el" href="classGewi_1_1WidgetNode.html">WidgetNode</a> class, node for linked list.</em> <a href="classGewi_1_1WidgetNode.html#_details">More...</a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1WidgetList.html">WidgetList</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Class containing a linked list of widgets.</em> <a href="classGewi_1_1WidgetList.html#_details">More...</a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classGewi_1_1GWindow.html">GWindow</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc"><a class="el" href="classGewi_1_1GWindow.html">GWindow</a>, a simple window class.</em> <a href="classGewi_1_1GWindow.html#_details">More...</a><em></em><br><br></td></tr>
<tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="a2" doxytag="Gewi::ResourceID"></a>
typedef unsigned int&nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html#a2">ResourceID</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Resources are stored centrally and widgets access them by their ResourceID.</em><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a3" doxytag="Gewi::GewiJustify"></a>
typedef unsigned int&nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html#a3">GewiJustify</a></td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">GewiJustify is a hack so that members of the _GewiJustify enum can be or'ed (|) together.</em><br><br></td></tr>
<tr><td colspan=2><br><h2>Enumerations</h2></td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html#a17">GButtonType</a> { <a class="el" href="namespaceGewi.html#a17a0">GBT_PRESS</a>,
<a class="el" href="namespaceGewi.html#a17a1">GBT_HOVER</a>
}</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Enumeration for the button types.</em> <a href="#a17">More...</a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html#a18">GewiEvent</a> { <br>
&nbsp;&nbsp;<a class="el" href="namespaceGewi.html#a18a4">GE_LDOWN</a>,
<a class="el" href="namespaceGewi.html#a18a5">GE_LUP</a>,
<a class="el" href="namespaceGewi.html#a18a6">GE_RDOWN</a>,
<a class="el" href="namespaceGewi.html#a18a7">GE_RUP</a>,
<br>
&nbsp;&nbsp;<a class="el" href="namespaceGewi.html#a18a8">GE_KDOWN</a>,
<a class="el" href="namespaceGewi.html#a18a9">GE_KUP</a>,
<a class="el" href="namespaceGewi.html#a18a10">GE_GOTFOCUS</a>,
<a class="el" href="namespaceGewi.html#a18a11">GE_LOSTFOCUS</a>
<br>
}</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Enumeration for basic events that a widget can handle.</em> <a href="#a18">More...</a><em></em><br><br></td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="namespaceGewi.html#a19">_GewiJustify</a> { <br>
&nbsp;&nbsp;<a class="el" href="namespaceGewi.html#a19a12">GJ_CENTER</a> = 0,
<a class="el" href="namespaceGewi.html#a19a13">GJ_LEFT</a> = 1&lt;&lt;0,
<a class="el" href="namespaceGewi.html#a19a14">GJ_RIGHT</a> = 1&lt;&lt;1,
<a class="el" href="namespaceGewi.html#a19a15">GJ_TOP</a> = 1&lt;&lt;2,
<br>
&nbsp;&nbsp;<a class="el" href="namespaceGewi.html#a19a16">GJ_BOTTOM</a> = 1&lt;&lt;3
<br>
}</td></tr>
<tr><td>&nbsp;</td><td><em class="mdesc">Describess justification options in text buttons and static fields.</em> <a href="#a19">More...</a><em></em><br><br></td></tr>
</table>
<hr><h2>Enumeration Type Documentation</h2>
<a name="a17" doxytag="Gewi::GButtonType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum Gewi::GButtonType
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Definitions of the two possible button types. <dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a name="a17a0" doxytag="GBT_PRESS"></a><em>GBT_PRESS</em></em>&nbsp;</td><td>
Simple button with standard behavior. </td></tr>
<tr><td valign=top><em><a name="a17a1" doxytag="GBT_HOVER"></a><em>GBT_HOVER</em></em>&nbsp;</td><td>
Button which shows itself clicked when hovered over. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a18" doxytag="Gewi::GewiEvent"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum Gewi::GewiEvent
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Defines names for specific events that are filtered and given to widgets. <dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a name="a18a4" doxytag="GE_LDOWN"></a><em>GE_LDOWN</em></em>&nbsp;</td><td>
Left mouse button pressed event. </td></tr>
<tr><td valign=top><em><a name="a18a5" doxytag="GE_LUP"></a><em>GE_LUP</em></em>&nbsp;</td><td>
Left mouse button released event. </td></tr>
<tr><td valign=top><em><a name="a18a6" doxytag="GE_RDOWN"></a><em>GE_RDOWN</em></em>&nbsp;</td><td>
Right mouse button pressed event. </td></tr>
<tr><td valign=top><em><a name="a18a7" doxytag="GE_RUP"></a><em>GE_RUP</em></em>&nbsp;</td><td>
Right mouse button released event. </td></tr>
<tr><td valign=top><em><a name="a18a8" doxytag="GE_KDOWN"></a><em>GE_KDOWN</em></em>&nbsp;</td><td>
Key pressed. </td></tr>
<tr><td valign=top><em><a name="a18a9" doxytag="GE_KUP"></a><em>GE_KUP</em></em>&nbsp;</td><td>
Key released. </td></tr>
<tr><td valign=top><em><a name="a18a10" doxytag="GE_GOTFOCUS"></a><em>GE_GOTFOCUS</em></em>&nbsp;</td><td>
Widget got focus. </td></tr>
<tr><td valign=top><em><a name="a18a11" doxytag="GE_LOSTFOCUS"></a><em>GE_LOSTFOCUS</em></em>&nbsp;</td><td>
Widget lost focus. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a19" doxytag="Gewi::_GewiJustify"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum Gewi::_GewiJustify
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Justification options in text buttons and static fields, these values can be or'ed together via the typedef GewiJustify. For example GJ_LEFT|GJ_TOP would position the label in the upper left corner. GJ_RIGHT|GJ_CENTER would be in the vertical center of the box, yet justified to the right on the horizontal axis. <dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a name="a19a12" doxytag="GJ_CENTER"></a><em>GJ_CENTER</em></em>&nbsp;</td><td>
Center text. </td></tr>
<tr><td valign=top><em><a name="a19a13" doxytag="GJ_LEFT"></a><em>GJ_LEFT</em></em>&nbsp;</td><td>
Align text to the left. </td></tr>
<tr><td valign=top><em><a name="a19a14" doxytag="GJ_RIGHT"></a><em>GJ_RIGHT</em></em>&nbsp;</td><td>
Align text to the right. </td></tr>
<tr><td valign=top><em><a name="a19a15" doxytag="GJ_TOP"></a><em>GJ_TOP</em></em>&nbsp;</td><td>
Position text to the top. </td></tr>
<tr><td valign=top><em><a name="a19a16" doxytag="GJ_BOTTOM"></a><em>GJ_BOTTOM</em></em>&nbsp;</td><td>
Position text to the bottom. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

47
doc/html/namespacemembers.html Executable file
View File

@ -0,0 +1,47 @@
<!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>Namespace Member Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi Namespace Members</h1><center>
<a href="#index__">_</a>&nbsp;|&nbsp;<a href="#index_g">g</a>&nbsp;|&nbsp;<a href="#index_r">r</a></center>
<p>
Here is a list of all documented namespace members with links to the namespaces they belong to:<h3><a name="index__">- _ -</a>
</h3><ul>
<li>_GewiJustify
: <a class="el" href="namespaceGewi.html#a19">Gewi</a></ul>
<h3><a name="index_g">- g -</a>
</h3><ul>
<li>GBT_HOVER
: <a class="el" href="namespaceGewi.html#a17a1">Gewi</a><li>GBT_PRESS
: <a class="el" href="namespaceGewi.html#a17a0">Gewi</a><li>GButtonType
: <a class="el" href="namespaceGewi.html#a17">Gewi</a><li>GE_GOTFOCUS
: <a class="el" href="namespaceGewi.html#a18a10">Gewi</a><li>GE_KDOWN
: <a class="el" href="namespaceGewi.html#a18a8">Gewi</a><li>GE_KUP
: <a class="el" href="namespaceGewi.html#a18a9">Gewi</a><li>GE_LDOWN
: <a class="el" href="namespaceGewi.html#a18a4">Gewi</a><li>GE_LOSTFOCUS
: <a class="el" href="namespaceGewi.html#a18a11">Gewi</a><li>GE_LUP
: <a class="el" href="namespaceGewi.html#a18a5">Gewi</a><li>GE_RDOWN
: <a class="el" href="namespaceGewi.html#a18a6">Gewi</a><li>GE_RUP
: <a class="el" href="namespaceGewi.html#a18a7">Gewi</a><li>GewiEvent
: <a class="el" href="namespaceGewi.html#a18">Gewi</a><li>GewiJustify
: <a class="el" href="namespaceGewi.html#a3">Gewi</a><li>GJ_BOTTOM
: <a class="el" href="namespaceGewi.html#a19a16">Gewi</a><li>GJ_CENTER
: <a class="el" href="namespaceGewi.html#a19a12">Gewi</a><li>GJ_LEFT
: <a class="el" href="namespaceGewi.html#a19a13">Gewi</a><li>GJ_RIGHT
: <a class="el" href="namespaceGewi.html#a19a14">Gewi</a><li>GJ_TOP
: <a class="el" href="namespaceGewi.html#a19a15">Gewi</a></ul>
<h3><a name="index_r">- r -</a>
</h3><ul>
<li>ResourceID
: <a class="el" href="namespaceGewi.html#a2">Gewi</a></ul>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>

17
doc/html/namespaces.html Executable file
View File

@ -0,0 +1,17 @@
<!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>Namespace Index</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</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="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>Gewi Namespace List</h1>Here is a list of all documented namespaces with brief descriptions:<table>
<tr><td class="indexkey"><a class="el" href="namespaceGewi.html">Gewi</a></td><td class="indexvalue">Gewi Namespace</td></tr>
</table>
<hr><address style="align: right;"><small>Generated on Mon Jun 16 03:27:18 2003 for Gewi by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3 </small></address>
</body>
</html>