<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Luayats: src/win/winobj.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>src/win/winobj.h</h1><a href="winobj_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment">*</span>
<a name="l00003"></a>00003 <span class="comment">*               YATS - Yet Another Tiny Simulator</span>
<a name="l00004"></a>00004 <span class="comment">*</span>
<a name="l00005"></a>00005 <span class="comment">**************************************************************************</span>
<a name="l00006"></a>00006 <span class="comment">*</span>
<a name="l00007"></a>00007 <span class="comment">*     Copyright (C) 1995-1997   Chair for Telecommunications</span>
<a name="l00008"></a>00008 <span class="comment">*                               Dresden University of Technology</span>
<a name="l00009"></a>00009 <span class="comment">*                               D-01062 Dresden</span>
<a name="l00010"></a>00010 <span class="comment">*                               Germany</span>
<a name="l00011"></a>00011 <span class="comment">*</span>
<a name="l00012"></a>00012 <span class="comment">*</span>
<a name="l00013"></a>00013 <span class="comment">**************************************************************************</span>
<a name="l00014"></a>00014 <span class="comment">*</span>
<a name="l00015"></a>00015 <span class="comment">*   This program is free software; you can redistribute it and/or modify</span>
<a name="l00016"></a>00016 <span class="comment">*   it under the terms of the GNU General Public License as published by</span>
<a name="l00017"></a>00017 <span class="comment">*   the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00018"></a>00018 <span class="comment">*   (at your option) any later version.</span>
<a name="l00019"></a>00019 <span class="comment">*</span>
<a name="l00020"></a>00020 <span class="comment">*   This program is distributed in the hope that it will be useful,</span>
<a name="l00021"></a>00021 <span class="comment">*   but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00022"></a>00022 <span class="comment">*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<a name="l00023"></a>00023 <span class="comment">*   GNU General Public License for more details.</span>
<a name="l00024"></a>00024 <span class="comment">*</span>
<a name="l00025"></a>00025 <span class="comment">*   You should have received a copy of the GNU General Public License</span>
<a name="l00026"></a>00026 <span class="comment">*   along with this program; if not, write to the Free Software</span>
<a name="l00027"></a>00027 <span class="comment">*   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span>
<a name="l00028"></a>00028 <span class="comment">*</span>
<a name="l00029"></a>00029 <span class="comment">**************************************************************************</span>
<a name="l00030"></a>00030 <span class="comment">*</span>
<a name="l00031"></a>00031 <span class="comment">*       Module author:          Herbert Leuwer, Marconi Ondata GmbH</span>
<a name="l00032"></a>00032 <span class="comment">*       Creation:               2004</span>
<a name="l00033"></a>00033 <span class="comment">*</span>
<a name="l00034"></a>00034 <span class="comment">*************************************************************************/</span>
<a name="l00035"></a>00035 <span class="preprocessor">#ifndef _WINOBJ_H_</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#define _WINOBJ_H_</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span>
<a name="l00038"></a>00038 <span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00039"></a>00039 <span class="preprocessor">#include &quot;lua.h&quot;</span>
<a name="l00040"></a>00040 <span class="preprocessor">#include &quot;iup/iup.h&quot;</span>
<a name="l00041"></a>00041 <span class="preprocessor">#include &quot;cd/cd.h&quot;</span>
<a name="l00042"></a>00042 <span class="preprocessor">#include &quot;cd/wd.h&quot;</span>
<a name="l00043"></a>00043 <span class="preprocessor">#include &quot;cd/cddbuf.h&quot;</span>
<a name="l00044"></a>00044 <span class="preprocessor">#include &quot;cd/cdimage.h&quot;</span>
<a name="l00045"></a>00045 <span class="preprocessor">#include &quot;cd/cdirgb.h&quot;</span>
<a name="l00046"></a>00046 }
<a name="l00047"></a>00047 <span class="preprocessor">#include &quot;<a class="code" href="inxout_8h.html">inxout.h</a>&quot;</span>
<a name="l00048"></a>00048 
<a name="l00049"></a><a class="code" href="structXSegment.html">00049</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
<a name="l00050"></a><a class="code" href="structXSegment.html#a081c4c4ec2bb306f365ee4ebc8b47178">00050</a>   <span class="keywordtype">short</span> x1, x2, y1, y2;
<a name="l00051"></a>00051 } <a class="code" href="structXSegment.html">XSegment</a>;
<a name="l00052"></a>00052 
<a name="l00053"></a><a class="code" href="structviewport.html">00053</a> <span class="keyword">struct </span><a class="code" href="structviewport.html">viewport</a> {
<a name="l00054"></a><a class="code" href="structviewport.html#ad9b05f6251917e453290a040a8dcfc18">00054</a>   <span class="keywordtype">int</span> <a class="code" href="structviewport.html#ad9b05f6251917e453290a040a8dcfc18">xmin</a>;
<a name="l00055"></a><a class="code" href="structviewport.html#a208da7172a2614ef2b378472aaca3dd2">00055</a>   <span class="keywordtype">int</span> <a class="code" href="structviewport.html#a208da7172a2614ef2b378472aaca3dd2">xmax</a>;
<a name="l00056"></a><a class="code" href="structviewport.html#aeffd66914138d0e2d44447ceeea51ac3">00056</a>   <span class="keywordtype">int</span> <a class="code" href="structviewport.html#aeffd66914138d0e2d44447ceeea51ac3">ymin</a>;
<a name="l00057"></a><a class="code" href="structviewport.html#aed23763a123c3d00941fdcaf660279c2">00057</a>   <span class="keywordtype">int</span> <a class="code" href="structviewport.html#aed23763a123c3d00941fdcaf660279c2">ymax</a>;
<a name="l00058"></a>00058 };
<a name="l00059"></a>00059 
<a name="l00060"></a>00060 <span class="comment">//tolua_begin</span>
<a name="l00061"></a><a class="code" href="winobj_8h.html#ae54e510918b5a97af07c7e5b037b56cb">00061</a> <span class="preprocessor">#define CDTYPE_IUP (1)</span>
<a name="l00062"></a><a class="code" href="winobj_8h.html#ae321be6df0b536ec7572a418135c2d0e">00062</a> <span class="preprocessor"></span><span class="preprocessor">#define CDTYPE_DBUFFER (2)</span>
<a name="l00063"></a><a class="code" href="winobj_8h.html#a9a682ca41774ce6b098dd6f355dc6879">00063</a> <span class="preprocessor"></span><span class="preprocessor">#define CDTYPE_SERVERIMG (3)</span>
<a name="l00064"></a><a class="code" href="winobj_8h.html#ad3765b329e172e60ae940ec8b1e81895">00064</a> <span class="preprocessor"></span><span class="preprocessor">#define CDTYPE_CLIENTIMG (4)</span>
<a name="l00065"></a><a class="code" href="classwinobj.html">00065</a> <span class="preprocessor"></span><span class="keyword">class   </span><a class="code" href="classwinobj.html">winobj</a>: <span class="keyword">public</span>  <a class="code" href="classinxout.html">inxout</a>  {
<a name="l00066"></a>00066 <span class="keyword">typedef</span> <a class="code" href="classinxout.html">inxout</a>  <a class="code" href="classroot.html">baseclass</a>;
<a name="l00067"></a>00067 <span class="keyword">public</span>:
<a name="l00068"></a>00068   <a class="code" href="classwinobj.html#a962fb38e7d8aeb9f5b7b9ca816e54eb4">winobj</a>();
<a name="l00069"></a>00069   <a class="code" href="classwinobj.html#a9a171bc1a1fd0e561407b518e41c16b0">~winobj</a>();
<a name="l00070"></a>00070   <span class="keywordtype">void</span> <a class="code" href="classwinobj.html#aed06bad9352dfac934a357143b7c41f0">set_textsize</a>(<span class="keywordtype">int</span>);
<a name="l00071"></a>00071   cdCanvas *<a class="code" href="classwinobj.html#ac01559e41120617f805ebf24cad8eef3">map</a>(<span class="keywordtype">void</span> *iupcanvas, <span class="keywordtype">void</span> *wid,
<a name="l00072"></a>00072             <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#af4e4e80ea9fd32096b91a6144f8d51ae">width</a>, <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a39a9abca0530f1cc1d765464fc6c2818">height</a>, <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a14d9c26ffe911a780edaa863a61cd5db">xpos</a>, <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a09d31c0505a11232509d3e5b8174cd39">ypos</a>, 
<a name="l00073"></a>00073             <span class="keyword">const</span> <span class="keywordtype">char</span> *wrtypeface = <span class="stringliteral">&quot;Helvetica&quot;</span>,
<a name="l00074"></a>00074             <span class="keywordtype">int</span> wrstyle = <a class="code" href="cd__pkg_8h.html#a385c44f6fb256e5716a2302a5b940388a5acd5688fe1a05dc4dff09cb8ce98c9c">CD_BOLD</a>,
<a name="l00075"></a>00075             <span class="keywordtype">int</span> wrsize = 10,
<a name="l00076"></a>00076             <span class="keywordtype">void</span> *wrcol = (<span class="keywordtype">void</span> *) <a class="code" href="cd__pkg_8h.html#aa151cc8bc4b43aab96d04e04e8def2e2">CD_BLACK</a>, 
<a name="l00077"></a>00077             <span class="keywordtype">int</span> wrmode = <a class="code" href="cd__pkg_8h.html#ac705ce3d609ed366b0efeb8787b9f98aadec23484c84b6a6b5a8284fe3342fcc4">CD_REPLACE</a>, 
<a name="l00078"></a>00078             <span class="keywordtype">void</span> *fgcol =  (<span class="keywordtype">void</span> *) CD_BLACK,
<a name="l00079"></a>00079             <span class="keywordtype">int</span> fgmode = <a class="code" href="cd__pkg_8h.html#ac705ce3d609ed366b0efeb8787b9f98aadec23484c84b6a6b5a8284fe3342fcc4">CD_REPLACE</a>, 
<a name="l00080"></a>00080             <span class="keywordtype">int</span> fgstyle = <a class="code" href="cd__pkg_8h.html#a05d5745a26f0528e3bffebd8a03dcedba48e2d0b7258a5f49989f914e51882930">CD_CONTINUOUS</a>,
<a name="l00081"></a>00081             <span class="keywordtype">int</span> fgwidth = 1,
<a name="l00082"></a>00082             <span class="keywordtype">void</span> *bgcol =  (<span class="keywordtype">void</span> *) <a class="code" href="cd__pkg_8h.html#a38a02e70691cf61759ee97b041857acc">CD_WHITE</a>, 
<a name="l00083"></a>00083             <span class="keywordtype">int</span> opacity = <a class="code" href="cd__pkg_8h.html#a7e59f212705e8a9d21a7225cf48bb7adab5e3c20eea4e0c4470106fb608529f84">CD_TRANSPARENT</a>,
<a name="l00084"></a>00084             <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a338445bcf35090a13f8991aa1384cbe3">usepoly</a> = 0,
<a name="l00085"></a>00085             <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a14b24189118f91e41ef35a3dd52d7c9a">polytype</a> = CD_OPEN_LINES,
<a name="l00086"></a>00086             <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a99435c16c71caef3c37cca6438a55c28">polystep</a> = 0,
<a name="l00087"></a>00087             <span class="keywordtype">int</span> canvastype = <a class="code" href="winobj_8h.html#a9a682ca41774ce6b098dd6f355dc6879">CDTYPE_SERVERIMG</a>);
<a name="l00088"></a>00088 <span class="comment">//   void * map(void *, void*, </span>
<a name="l00089"></a>00089 <span class="comment">//           int, int, int, int, </span>
<a name="l00090"></a>00090 <span class="comment">//           int, int, int, int, </span>
<a name="l00091"></a>00091 <span class="comment">//           int, int, int, int,</span>
<a name="l00092"></a>00092 <span class="comment">//           int, int, int);</span>
<a name="l00093"></a>00093   <span class="keywordtype">void</span> <a class="code" href="classwinobj.html#ab6103b0a4f873a6b2d3aa265722c91a9">unmap</a>(<span class="keywordtype">void</span>);
<a name="l00094"></a>00094   <span class="keywordtype">void</span> <a class="code" href="classwinobj.html#a8815c22efb95f851421df6cafecdd92b">draw_values</a>(<span class="keywordtype">int</span> *, <span class="keywordtype">void</span> *color, <span class="keywordtype">int</span> nvals, <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a338445bcf35090a13f8991aa1384cbe3">usepoly</a>, <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a14b24189118f91e41ef35a3dd52d7c9a">polytype</a>, <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a99435c16c71caef3c37cca6438a55c28">polystep</a>, <span class="keywordtype">int</span> flush);
<a name="l00095"></a>00095   <span class="keywordtype">void</span> <a class="code" href="classwinobj.html#a8815c22efb95f851421df6cafecdd92b">draw_values</a>(<span class="keywordtype">double</span> *, <span class="keywordtype">double</span> *, <span class="keywordtype">void</span> *color, <span class="keywordtype">int</span> nvals, <span class="keywordtype">int</span> usepoly, <span class="keywordtype">int</span> polytype, <span class="keywordtype">int</span> polystep, <span class="keywordtype">int</span> flush);
<a name="l00096"></a><a class="code" href="classwinobj.html#a1211aaf8fb8f77713217543c85c741f5">00096</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classwinobj.html#a1211aaf8fb8f77713217543c85c741f5">drawWin</a>(<span class="keywordtype">int</span> activate = 1, <span class="keywordtype">int</span> clear = 1, <span class="keywordtype">int</span> flush = 1){}
<a name="l00097"></a>00097   <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#aa9d178670489edfaffcca4cb427500fe">getexp</a>(<a class="code" href="structexp__typ.html">exp_typ</a> *);
<a name="l00098"></a><a class="code" href="classwinobj.html#a3fb336be24d1eea6577db8c0521ad7e4">00098</a>   cdCanvas* <a class="code" href="classwinobj.html#a3fb336be24d1eea6577db8c0521ad7e4">setCanvas</a>(cdCanvas * cv){
<a name="l00099"></a>00099      <span class="keywordflow">if</span> (<a class="code" href="classwinobj.html#a06ac21edba964c6b76fab35bf8039dbc">canvas_mapped</a> == <span class="keyword">false</span>)
<a name="l00100"></a>00100         <span class="keywordflow">return</span> NULL;
<a name="l00101"></a>00101      cdCanvas *ocv = <a class="code" href="classwinobj.html#af487912f9cbe04ebb5e0370f669e6567">canvas</a>;
<a name="l00102"></a>00102      <a class="code" href="classwinobj.html#af487912f9cbe04ebb5e0370f669e6567">canvas</a> = cv;
<a name="l00103"></a>00103      <span class="keywordflow">return</span> ocv;
<a name="l00104"></a>00104   }
<a name="l00105"></a><a class="code" href="classwinobj.html#ad5fc8e3c0bfcff77680baafb8d6667a6">00105</a>   cdCanvas* <a class="code" href="classwinobj.html#ad5fc8e3c0bfcff77680baafb8d6667a6">getCanvas</a>(<span class="keywordtype">void</span>){
<a name="l00106"></a>00106      <span class="keywordflow">if</span> (<a class="code" href="classwinobj.html#a06ac21edba964c6b76fab35bf8039dbc">canvas_mapped</a> == <span class="keyword">true</span>)
<a name="l00107"></a>00107         <span class="keywordflow">return</span> <a class="code" href="classwinobj.html#af487912f9cbe04ebb5e0370f669e6567">canvas</a>;
<a name="l00108"></a>00108      <span class="keywordflow">else</span>
<a name="l00109"></a>00109         <span class="keywordflow">return</span> NULL;
<a name="l00110"></a>00110   }
<a name="l00111"></a><a class="code" href="classwinobj.html#a14b0bccef2254fdacded2f26baba207a">00111</a>   <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a14b0bccef2254fdacded2f26baba207a">activateCanvas</a>(<span class="keywordtype">void</span>){
<a name="l00112"></a>00112      <span class="keywordflow">if</span> (<a class="code" href="classwinobj.html#a06ac21edba964c6b76fab35bf8039dbc">canvas_mapped</a> == <span class="keyword">true</span>)
<a name="l00113"></a>00113         <span class="keywordflow">return</span> cdCanvasActivate(<a class="code" href="classwinobj.html#af487912f9cbe04ebb5e0370f669e6567">canvas</a>);
<a name="l00114"></a>00114      <span class="keywordflow">else</span>
<a name="l00115"></a>00115         <span class="keywordflow">return</span> CD_ERROR;
<a name="l00116"></a>00116   }
<a name="l00117"></a><a class="code" href="classwinobj.html#afc77036e1293f0f4581b54d8acf34053">00117</a>   <span class="keywordtype">void</span> <a class="code" href="classwinobj.html#afc77036e1293f0f4581b54d8acf34053">setScale</a>(<span class="keywordtype">double</span> scx, <span class="keywordtype">double</span> scy){
<a name="l00118"></a>00118      <a class="code" href="classwinobj.html#a6633c6e017e3f60fb2d547943c13b9f6">sx</a> = scx;
<a name="l00119"></a>00119      <a class="code" href="classwinobj.html#a67bb589183765fc767a323df2c94070c">sy</a> = scy;
<a name="l00120"></a>00120   }
<a name="l00121"></a><a class="code" href="classwinobj.html#afbf73470c5f5faf16ac7d5e695d3bb63">00121</a>   <span class="keywordtype">void</span> <a class="code" href="classwinobj.html#afbf73470c5f5faf16ac7d5e695d3bb63">setViewport</a>(<span class="keywordtype">int</span> xmin, <span class="keywordtype">int</span> xmax, <span class="keywordtype">int</span> ymin, <span class="keywordtype">int</span> ymax){
<a name="l00122"></a>00122     <a class="code" href="classwinobj.html#ac288eb1da38136f8065a2e0df17c1ae5">vp</a>.<a class="code" href="structviewport.html#ad9b05f6251917e453290a040a8dcfc18">xmin</a> = xmin;
<a name="l00123"></a>00123     <a class="code" href="classwinobj.html#ac288eb1da38136f8065a2e0df17c1ae5">vp</a>.<a class="code" href="structviewport.html#a208da7172a2614ef2b378472aaca3dd2">xmax</a> = xmax;
<a name="l00124"></a>00124     <a class="code" href="classwinobj.html#ac288eb1da38136f8065a2e0df17c1ae5">vp</a>.<a class="code" href="structviewport.html#aeffd66914138d0e2d44447ceeea51ac3">ymin</a> = ymin;
<a name="l00125"></a>00125     <a class="code" href="classwinobj.html#ac288eb1da38136f8065a2e0df17c1ae5">vp</a>.<a class="code" href="structviewport.html#aed23763a123c3d00941fdcaf660279c2">ymax</a> = ymax;
<a name="l00126"></a>00126     wdCanvasViewport(<a class="code" href="classwinobj.html#af487912f9cbe04ebb5e0370f669e6567">canvas</a>, <a class="code" href="classwinobj.html#ac288eb1da38136f8065a2e0df17c1ae5">vp</a>.<a class="code" href="structviewport.html#ad9b05f6251917e453290a040a8dcfc18">xmin</a>, <a class="code" href="classwinobj.html#ac288eb1da38136f8065a2e0df17c1ae5">vp</a>.<a class="code" href="structviewport.html#a208da7172a2614ef2b378472aaca3dd2">xmax</a>, <a class="code" href="classwinobj.html#ac288eb1da38136f8065a2e0df17c1ae5">vp</a>.<a class="code" href="structviewport.html#aeffd66914138d0e2d44447ceeea51ac3">ymin</a>, <a class="code" href="classwinobj.html#ac288eb1da38136f8065a2e0df17c1ae5">vp</a>.<a class="code" href="structviewport.html#aed23763a123c3d00941fdcaf660279c2">ymax</a>);
<a name="l00127"></a>00127   }
<a name="l00128"></a><a class="code" href="classwinobj.html#af2dadec9ca2c5ac161ce99c4120e479d">00128</a>   <a class="code" href="classroot.html">root</a> *<a class="code" href="classwinobj.html#af2dadec9ca2c5ac161ce99c4120e479d">exp_obj</a>;
<a name="l00129"></a><a class="code" href="classwinobj.html#a5f149b5a6efe246f794a90b09ce8f3b0">00129</a>   <span class="keywordtype">char</span> *<a class="code" href="classwinobj.html#a5f149b5a6efe246f794a90b09ce8f3b0">exp_varname</a>;
<a name="l00130"></a><a class="code" href="classwinobj.html#a0161fea8d4972fc0265b54ec76821e73">00130</a>   <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a0161fea8d4972fc0265b54ec76821e73">exp_idx</a>;
<a name="l00131"></a><a class="code" href="classwinobj.html#abecc923a3e18888f6103d86916d5df04">00131</a>   <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#abecc923a3e18888f6103d86916d5df04">exp_idx2</a>;
<a name="l00132"></a><a class="code" href="classwinobj.html#a9f40c79216ca22a23b4f6f428e30ba8b">00132</a>   <span class="keywordtype">char</span> *<a class="code" href="classwinobj.html#a9f40c79216ca22a23b4f6f428e30ba8b">title</a>;
<a name="l00133"></a><a class="code" href="classwinobj.html#a42e844b0cf15416d055476503a6c1d09">00133</a>   <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a42e844b0cf15416d055476503a6c1d09">cvtype</a>;
<a name="l00134"></a><a class="code" href="classwinobj.html#af487912f9cbe04ebb5e0370f669e6567">00134</a>   cdCanvas *<a class="code" href="classwinobj.html#af487912f9cbe04ebb5e0370f669e6567">canvas</a>;
<a name="l00135"></a><a class="code" href="classwinobj.html#a16b472b5a9b0c49bc8f44873e32e8b51">00135</a>   cdCanvas *<a class="code" href="classwinobj.html#a16b472b5a9b0c49bc8f44873e32e8b51">bcanvas</a>;
<a name="l00136"></a><a class="code" href="classwinobj.html#a9f8ebe79dfa0683610bdf68c6d8d8582">00136</a>   cdImage *<a class="code" href="classwinobj.html#a9f8ebe79dfa0683610bdf68c6d8d8582">simg</a>;
<a name="l00137"></a><a class="code" href="classwinobj.html#a06ac21edba964c6b76fab35bf8039dbc">00137</a>   <span class="keywordtype">bool</span> <a class="code" href="classwinobj.html#a06ac21edba964c6b76fab35bf8039dbc">canvas_mapped</a>;
<a name="l00138"></a><a class="code" href="classwinobj.html#af041c6b7fd6ff07d92ae3eb9beeb457e">00138</a>   <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#af041c6b7fd6ff07d92ae3eb9beeb457e">drawoper</a>;
<a name="l00139"></a><a class="code" href="classwinobj.html#a47c066fcf1692dbb6632f9d4eb2c8b65">00139</a>   <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a47c066fcf1692dbb6632f9d4eb2c8b65">drawstyle</a>;
<a name="l00140"></a><a class="code" href="classwinobj.html#a8e8b11ae02ced81b825726bfb3830d7c">00140</a>   <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a8e8b11ae02ced81b825726bfb3830d7c">drawwidth</a>;
<a name="l00141"></a><a class="code" href="classwinobj.html#a3d5d467da7f531e6615143a2e0cda205">00141</a>   <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a3d5d467da7f531e6615143a2e0cda205">textoper</a>;
<a name="l00142"></a><a class="code" href="classwinobj.html#aa7a79ced697fded84c60d9b9c62784e1">00142</a>   <span class="keywordtype">char</span> *<a class="code" href="classwinobj.html#aa7a79ced697fded84c60d9b9c62784e1">texttypeface</a>;
<a name="l00143"></a><a class="code" href="classwinobj.html#a88151f63245aac2924f2488a055dc1fe">00143</a>   <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a88151f63245aac2924f2488a055dc1fe">textstyle</a>;
<a name="l00144"></a><a class="code" href="classwinobj.html#a6213da470644191345393eb791d6d721">00144</a>   <span class="keywordtype">void</span> *<a class="code" href="classwinobj.html#a6213da470644191345393eb791d6d721">textcolor</a>;
<a name="l00145"></a><a class="code" href="classwinobj.html#a92ecfdc12216529a62fc4e24ba56a297">00145</a>   <span class="keywordtype">void</span> *<a class="code" href="classwinobj.html#a92ecfdc12216529a62fc4e24ba56a297">bgcolor</a>;
<a name="l00146"></a><a class="code" href="classwinobj.html#a292b1a68c62ca6b54b4db924d65f785a">00146</a>   <span class="keywordtype">void</span> *<a class="code" href="classwinobj.html#a292b1a68c62ca6b54b4db924d65f785a">drawcolor</a>;
<a name="l00147"></a><a class="code" href="classwinobj.html#ab88ceec0bb8f96ee18e3a3f1afbd2dca">00147</a>   <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#ab88ceec0bb8f96ee18e3a3f1afbd2dca">textsize</a>;
<a name="l00148"></a><a class="code" href="classwinobj.html#a7fe1494c3b52b71e5fa2df6aed1a6059">00148</a>   <span class="keywordtype">int</span> <a class="code" href="classwinobj.html#a7fe1494c3b52b71e5fa2df6aed1a6059">bgopacity</a>;
<a name="l00149"></a><a class="code" href="classwinobj.html#a09d31c0505a11232509d3e5b8174cd39">00149</a>   <span class="keywordtype">int</span> width, height, xpos, ypos;
<a name="l00150"></a><a class="code" href="classwinobj.html#a338445bcf35090a13f8991aa1384cbe3">00150</a>   <span class="keywordtype">int</span> usepoly, polytype, polystep;
<a name="l00151"></a><a class="code" href="classwinobj.html#a67bb589183765fc767a323df2c94070c">00151</a>   <span class="keywordtype">double</span> <a class="code" href="classwinobj.html#a6633c6e017e3f60fb2d547943c13b9f6">sx</a>, <a class="code" href="classwinobj.html#a67bb589183765fc767a323df2c94070c">sy</a>;
<a name="l00152"></a><a class="code" href="classwinobj.html#a8e3848bb4c631cbaf167e42d44ed1a6a">00152</a>   <span class="keywordtype">double</span> <a class="code" href="classwinobj.html#a38a0e70c065d42cd3d82fa3c58071eea">xlast</a>, <a class="code" href="classwinobj.html#a8e3848bb4c631cbaf167e42d44ed1a6a">ylast</a>;
<a name="l00153"></a>00153   <span class="comment">//tolua_end</span>
<a name="l00154"></a><a class="code" href="classwinobj.html#ac288eb1da38136f8065a2e0df17c1ae5">00154</a>   <span class="keyword">struct </span><a class="code" href="structviewport.html">viewport</a> <a class="code" href="classwinobj.html#ac288eb1da38136f8065a2e0df17c1ae5">vp</a>;
<a name="l00155"></a>00155   <span class="comment">//tolua_begin</span>
<a name="l00156"></a>00156 };
<a name="l00157"></a>00157 <span class="comment">//tolua_end</span>
<a name="l00158"></a>00158 <span class="preprocessor">#endif </span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Sun Feb 14 12:31:43 2010 for Luayats by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
