78 lines
6.3 KiB
HTML
78 lines
6.3 KiB
HTML
|
<!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> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> </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>
|