<!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>