106 lines
17 KiB
HTML
106 lines
17 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
|
<title>GrafX2: moteur.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.5.8 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="annotated.html"><span>Data Structures</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 List</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<h1>moteur.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Grafx2 - The Ultimate 256-color bitmap paint program</span>
|
|
<a name="l00002"></a>00002 <span class="comment"></span>
|
|
<a name="l00003"></a>00003 <span class="comment"> Copyright 2007 Adrien Destugues</span>
|
|
<a name="l00004"></a>00004 <span class="comment"> Copyright 1996-2001 Sunset Design (Guillaume Dorme & Karl Maritaud)</span>
|
|
<a name="l00005"></a>00005 <span class="comment"></span>
|
|
<a name="l00006"></a>00006 <span class="comment"> Grafx2 is free software; you can redistribute it and/or</span>
|
|
<a name="l00007"></a>00007 <span class="comment"> modify it under the terms of the GNU General Public License</span>
|
|
<a name="l00008"></a>00008 <span class="comment"> as published by the Free Software Foundation; version 2</span>
|
|
<a name="l00009"></a>00009 <span class="comment"> of the License.</span>
|
|
<a name="l00010"></a>00010 <span class="comment"></span>
|
|
<a name="l00011"></a>00011 <span class="comment"> Grafx2 is distributed in the hope that it will be useful,</span>
|
|
<a name="l00012"></a>00012 <span class="comment"> but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
|
|
<a name="l00013"></a>00013 <span class="comment"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
|
|
<a name="l00014"></a>00014 <span class="comment"> GNU General Public License for more details.</span>
|
|
<a name="l00015"></a>00015 <span class="comment"></span>
|
|
<a name="l00016"></a>00016 <span class="comment"> You should have received a copy of the GNU General Public License</span>
|
|
<a name="l00017"></a>00017 <span class="comment"> along with Grafx2; if not, see <http://www.gnu.org/licenses/> or</span>
|
|
<a name="l00018"></a>00018 <span class="comment"> write to the Free Software Foundation, Inc.,</span>
|
|
<a name="l00019"></a>00019 <span class="comment"> 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</span>
|
|
<a name="l00020"></a>00020 <span class="comment">*/</span>
|
|
<a name="l00021"></a>00021
|
|
<a name="l00022"></a>00022 <span class="keywordtype">void</span> Gestion_principale (<span class="keywordtype">void</span>);
|
|
<a name="l00023"></a>00023 <span class="keywordtype">void</span> Tracer_cadre_de_bouton_du_menu(byte <a class="code" href="structFenetre__Bouton__normal.html#3f435534c22e257474c2257c45819638">Numero</a>,byte Enfonce);
|
|
<a name="l00024"></a>00024 <span class="keywordtype">void</span> Desenclencher_bouton (<span class="keywordtype">int</span> <a class="code" href="structFenetre__Bouton__normal.html#3f435534c22e257474c2257c45819638">Numero</a>);
|
|
<a name="l00025"></a>00025 <span class="keywordtype">void</span> Enclencher_bouton (<span class="keywordtype">int</span> <a class="code" href="structFenetre__Bouton__normal.html#3f435534c22e257474c2257c45819638">Numero</a>,byte Click);
|
|
<a name="l00026"></a>00026 <span class="keywordtype">void</span> Annuler_les_effets (<span class="keywordtype">void</span>);
|
|
<a name="l00027"></a>00027 <span class="keywordtype">void</span> Restaurer_les_effets (<span class="keywordtype">void</span>);
|
|
<a name="l00028"></a>00028 <span class="keywordtype">void</span> Ouvrir_fenetre (word <a class="code" href="structFenetre__Bouton__normal.html#a84ac8dfce8127130a2629a1f5ab64b4">Largeur</a>,word <a class="code" href="structFenetre__Bouton__normal.html#85f0b21840d2af1f6f645a85997feec8">Hauteur</a>, <span class="keywordtype">char</span> * Titre);
|
|
<a name="l00029"></a>00029 <span class="keywordtype">void</span> Fermer_fenetre (<span class="keywordtype">void</span>);
|
|
<a name="l00030"></a>00030
|
|
<a name="l00031"></a>00031 <span class="keywordtype">void</span> Ouvrir_popup (word <a class="code" href="structFenetre__Bouton__normal.html#e9416062b6197cdadd135a7b7b436465">Pos_X</a>, word <a class="code" href="structFenetre__Bouton__normal.html#fa45ece510972be8fe797b104cff19b0">Pos_Y</a>, word <a class="code" href="structFenetre__Bouton__normal.html#a84ac8dfce8127130a2629a1f5ab64b4">Largeur</a>, word <a class="code" href="structFenetre__Bouton__normal.html#85f0b21840d2af1f6f645a85997feec8">Hauteur</a>);
|
|
<a name="l00032"></a>00032 <span class="keywordtype">void</span> Fermer_popup (<span class="keywordtype">void</span>);
|
|
<a name="l00033"></a>00033
|
|
<a name="l00034"></a>00034 <span class="keywordtype">void</span> Fenetre_Dessiner_bouton_normal(word <a class="code" href="structFenetre__Bouton__normal.html#e9416062b6197cdadd135a7b7b436465">Pos_X</a>,word <a class="code" href="structFenetre__Bouton__normal.html#fa45ece510972be8fe797b104cff19b0">Pos_Y</a>,word <a class="code" href="structFenetre__Bouton__normal.html#a84ac8dfce8127130a2629a1f5ab64b4">Largeur</a>,word <a class="code" href="structFenetre__Bouton__normal.html#85f0b21840d2af1f6f645a85997feec8">Hauteur</a>,
|
|
<a name="l00035"></a>00035 <span class="keywordtype">char</span> * Titre,byte Lettre_soulignee,byte <a class="code" href="structFenetre__Bouton__normal.html#6b6ebd0b9637fd0d2997a34b5c6db5c2">Clickable</a>);
|
|
<a name="l00036"></a>00036 <span class="keywordtype">void</span> Fenetre_Enfoncer_bouton_normal(word <a class="code" href="structFenetre__Bouton__normal.html#e9416062b6197cdadd135a7b7b436465">Pos_X</a>,word <a class="code" href="structFenetre__Bouton__normal.html#fa45ece510972be8fe797b104cff19b0">Pos_Y</a>,word <a class="code" href="structFenetre__Bouton__normal.html#a84ac8dfce8127130a2629a1f5ab64b4">Largeur</a>,word <a class="code" href="structFenetre__Bouton__normal.html#85f0b21840d2af1f6f645a85997feec8">Hauteur</a>);
|
|
<a name="l00037"></a>00037 <span class="keywordtype">void</span> Fenetre_Desenfoncer_bouton_normal(word <a class="code" href="structFenetre__Bouton__normal.html#e9416062b6197cdadd135a7b7b436465">Pos_X</a>,word <a class="code" href="structFenetre__Bouton__normal.html#fa45ece510972be8fe797b104cff19b0">Pos_Y</a>,word <a class="code" href="structFenetre__Bouton__normal.html#a84ac8dfce8127130a2629a1f5ab64b4">Largeur</a>,word <a class="code" href="structFenetre__Bouton__normal.html#85f0b21840d2af1f6f645a85997feec8">Hauteur</a>);
|
|
<a name="l00038"></a>00038 <span class="keywordtype">void</span> Fenetre_Dessiner_bouton_palette(word <a class="code" href="structFenetre__Bouton__normal.html#e9416062b6197cdadd135a7b7b436465">Pos_X</a>,word <a class="code" href="structFenetre__Bouton__normal.html#fa45ece510972be8fe797b104cff19b0">Pos_Y</a>);
|
|
<a name="l00039"></a>00039
|
|
<a name="l00040"></a>00040 <span class="keywordtype">void</span> Calculer_hauteur_curseur_jauge(<span class="keyword">struct</span> <a class="code" href="structFenetre__Bouton__scroller.html">Fenetre_Bouton_scroller</a> * Enreg);
|
|
<a name="l00041"></a>00041 <span class="keywordtype">void</span> Fenetre_Dessiner_jauge(<span class="keyword">struct</span> <a class="code" href="structFenetre__Bouton__scroller.html">Fenetre_Bouton_scroller</a> * Enreg);
|
|
<a name="l00042"></a>00042 <span class="keywordtype">void</span> Fenetre_Dessiner_bouton_scroller(<span class="keyword">struct</span> <a class="code" href="structFenetre__Bouton__scroller.html">Fenetre_Bouton_scroller</a> * Enreg);
|
|
<a name="l00043"></a>00043
|
|
<a name="l00044"></a>00044 <span class="keywordtype">void</span> Fenetre_Contenu_bouton_saisie(<span class="keyword">struct</span> <a class="code" href="structFenetre__Bouton__special.html">Fenetre_Bouton_special</a> * Enreg, <span class="keywordtype">char</span> * Contenu);
|
|
<a name="l00045"></a>00045 <span class="keywordtype">void</span> Fenetre_Effacer_bouton_saisie(<span class="keyword">struct</span> <a class="code" href="structFenetre__Bouton__special.html">Fenetre_Bouton_special</a> * Enreg);
|
|
<a name="l00046"></a>00046 <span class="keywordtype">void</span> Fenetre_Dessiner_bouton_saisie(word <a class="code" href="structFenetre__Bouton__normal.html#e9416062b6197cdadd135a7b7b436465">Pos_X</a>,word <a class="code" href="structFenetre__Bouton__normal.html#fa45ece510972be8fe797b104cff19b0">Pos_Y</a>,word Largeur_en_caracteres);
|
|
<a name="l00047"></a>00047
|
|
<a name="l00048"></a>00048 <span class="keyword">struct </span><a class="code" href="structFenetre__Bouton__normal.html">Fenetre_Bouton_normal</a> * Fenetre_Definir_bouton_normal(word <a class="code" href="structFenetre__Bouton__normal.html#e9416062b6197cdadd135a7b7b436465">Pos_X</a>, word <a class="code" href="structFenetre__Bouton__normal.html#fa45ece510972be8fe797b104cff19b0">Pos_Y</a>,
|
|
<a name="l00049"></a>00049 word <a class="code" href="structFenetre__Bouton__normal.html#a84ac8dfce8127130a2629a1f5ab64b4">Largeur</a>, word <a class="code" href="structFenetre__Bouton__normal.html#85f0b21840d2af1f6f645a85997feec8">Hauteur</a>,
|
|
<a name="l00050"></a>00050 <span class="keywordtype">char</span> * Titre,byte Lettre_soulignee,
|
|
<a name="l00051"></a>00051 byte <a class="code" href="structFenetre__Bouton__normal.html#6b6ebd0b9637fd0d2997a34b5c6db5c2">Clickable</a>, word <a class="code" href="structFenetre__Bouton__normal.html#f95bcc8adcb40c8ac808b744df555da9">Raccourci</a>);
|
|
<a name="l00052"></a>00052 <span class="keyword">struct </span><a class="code" href="structFenetre__Bouton__normal.html">Fenetre_Bouton_normal</a> * Fenetre_Definir_bouton_repetable(word <a class="code" href="structFenetre__Bouton__normal.html#e9416062b6197cdadd135a7b7b436465">Pos_X</a>, word <a class="code" href="structFenetre__Bouton__normal.html#fa45ece510972be8fe797b104cff19b0">Pos_Y</a>,
|
|
<a name="l00053"></a>00053 word <a class="code" href="structFenetre__Bouton__normal.html#a84ac8dfce8127130a2629a1f5ab64b4">Largeur</a>, word <a class="code" href="structFenetre__Bouton__normal.html#85f0b21840d2af1f6f645a85997feec8">Hauteur</a>,
|
|
<a name="l00054"></a>00054 <span class="keywordtype">char</span> * Titre,byte Lettre_soulignee,
|
|
<a name="l00055"></a>00055 byte <a class="code" href="structFenetre__Bouton__normal.html#6b6ebd0b9637fd0d2997a34b5c6db5c2">Clickable</a>, word <a class="code" href="structFenetre__Bouton__normal.html#f95bcc8adcb40c8ac808b744df555da9">Raccourci</a>);
|
|
<a name="l00056"></a>00056
|
|
<a name="l00057"></a>00057 <span class="keyword">struct </span><a class="code" href="structFenetre__Bouton__palette.html">Fenetre_Bouton_palette</a> * Fenetre_Definir_bouton_palette(word <a class="code" href="structFenetre__Bouton__palette.html#1848067101e5c87204740adeebe5eedb">Pos_X</a>, word <a class="code" href="structFenetre__Bouton__palette.html#2164fb41d467ce4c29f39b862e2e38ac">Pos_Y</a>);
|
|
<a name="l00058"></a>00058 <span class="keywordtype">void</span> Fenetre_Effacer_tags(<span class="keywordtype">void</span>);
|
|
<a name="l00059"></a>00059 <span class="keywordtype">void</span> Tagger_intervalle_palette(byte Debut,byte Fin);
|
|
<a name="l00060"></a>00060
|
|
<a name="l00061"></a>00061 <span class="keyword">struct </span><a class="code" href="structFenetre__Bouton__scroller.html">Fenetre_Bouton_scroller</a> * Fenetre_Definir_bouton_scroller(word <a class="code" href="structFenetre__Bouton__scroller.html#c17bf966b93957dd1ead7c3ab2479c04">Pos_X</a>, word <a class="code" href="structFenetre__Bouton__scroller.html#e3f9f34a4a2368ca4dc6cf559aae45eb">Pos_Y</a>,
|
|
<a name="l00062"></a>00062 word <a class="code" href="structFenetre__Bouton__scroller.html#b7310f87a1e6629df6edc5506585e48c">Hauteur</a>,
|
|
<a name="l00063"></a>00063 word <a class="code" href="structFenetre__Bouton__scroller.html#9a391e88e7b51a83d9a19cf721b2bb33">Nb_elements</a>,
|
|
<a name="l00064"></a>00064 word Nb_elements_visibles,
|
|
<a name="l00065"></a>00065 word Position_initiale);
|
|
<a name="l00066"></a>00066 <span class="keyword">struct </span><a class="code" href="structFenetre__Bouton__special.html">Fenetre_Bouton_special</a> * Fenetre_Definir_bouton_special(word <a class="code" href="structFenetre__Bouton__special.html#ec77c7250e6d0167bc23e6a39df5de8e">Pos_X</a>,word <a class="code" href="structFenetre__Bouton__special.html#5f141260c5997f246dfc446e6daacbb2">Pos_Y</a>,word <a class="code" href="structFenetre__Bouton__special.html#7e4e8308f8bf18a131efd889a7f1b456">Largeur</a>,word <a class="code" href="structFenetre__Bouton__special.html#ae803df19d7eb4a02037dba03d1f3a22">Hauteur</a>);
|
|
<a name="l00067"></a>00067 <span class="keyword">struct </span><a class="code" href="structFenetre__Bouton__special.html">Fenetre_Bouton_special</a> * Fenetre_Definir_bouton_saisie(word <a class="code" href="structFenetre__Bouton__special.html#ec77c7250e6d0167bc23e6a39df5de8e">Pos_X</a>,word <a class="code" href="structFenetre__Bouton__special.html#5f141260c5997f246dfc446e6daacbb2">Pos_Y</a>,word Largeur_en_caracteres);
|
|
<a name="l00068"></a>00068 <span class="keyword">struct </span><a class="code" href="structFenetre__Bouton__dropdown.html">Fenetre_Bouton_dropdown</a> * Fenetre_Definir_bouton_dropdown(word <a class="code" href="structFenetre__Bouton__dropdown.html#c1c3ea2d9d1a4dae001f69213894df62">Pos_X</a>,word <a class="code" href="structFenetre__Bouton__dropdown.html#f7e15461eca8c69898e5d4fbc88eb6ac">Pos_Y</a>,word <a class="code" href="structFenetre__Bouton__dropdown.html#9640e0c4dfe4655e78f79868da3ae05b">Largeur</a>,word <a class="code" href="structFenetre__Bouton__dropdown.html#61b37b3cfbf7cd578282c7a66f57efb4">Hauteur</a>,word <a class="code" href="structFenetre__Bouton__dropdown.html#62abbe18c470150c0807a1564abe5ecd">Largeur_choix</a>,<span class="keywordtype">char</span> *Libelle,byte <a class="code" href="structFenetre__Bouton__dropdown.html#134684ad64344b17550a4ba498a170a7">Affiche_choix</a>,byte <a class="code" href="structFenetre__Bouton__dropdown.html#40ea3d373feb5fb927a7833f9973b8b0">Affiche_centre</a>,byte <a class="code" href="structFenetre__Bouton__dropdown.html#02a931140ca88f1bb379e5c48899354f">Affiche_fleche</a>,byte <a class="code" href="structFenetre__Bouton__dropdown.html#761c05356abc9830fc89d01143a3d8c6">Bouton_actif</a>);
|
|
<a name="l00069"></a>00069 <span class="keywordtype">void</span> Fenetre_Dropdown_choix(<span class="keyword">struct</span> <a class="code" href="structFenetre__Bouton__dropdown.html">Fenetre_Bouton_dropdown</a> * Dropdown, word <a class="code" href="structFenetre__Bouton__dropdown.html#b899c5b2597fdf07d48b35e3201ff6a9">Numero</a>, <span class="keyword">const</span> <span class="keywordtype">char</span> *Libelle);
|
|
<a name="l00070"></a>00070 <span class="keywordtype">void</span> Fenetre_Dropdown_vider_choix(<span class="keyword">struct</span> <a class="code" href="structFenetre__Bouton__dropdown.html">Fenetre_Bouton_dropdown</a> * Dropdown);
|
|
<a name="l00071"></a>00071 byte Fenetre_click_dans_zone(<span class="keywordtype">short</span> Debut_X,<span class="keywordtype">short</span> Debut_Y,<span class="keywordtype">short</span> Fin_X,<span class="keywordtype">short</span> Fin_Y);
|
|
<a name="l00072"></a>00072 <span class="keywordtype">short</span> Attendre_click_dans_palette(<span class="keyword">struct</span> <a class="code" href="structFenetre__Bouton__palette.html">Fenetre_Bouton_palette</a> * Enreg);
|
|
<a name="l00073"></a>00073 <span class="keywordtype">void</span> Recuperer_couleur_derriere_fenetre(byte * Couleur, byte * Click);
|
|
<a name="l00074"></a>00074
|
|
<a name="l00075"></a>00075 <span class="keywordtype">short</span> Fenetre_Bouton_clicke(<span class="keywordtype">void</span>);
|
|
<a name="l00076"></a>00076 <span class="keywordtype">int</span> Numero_bouton_sous_souris(<span class="keywordtype">void</span>);
|
|
<a name="l00077"></a>00077 <span class="keywordtype">short</span> Fenetre_Numero_bouton_clicke(<span class="keywordtype">void</span>);
|
|
<a name="l00078"></a>00078 <span class="keywordtype">void</span> Remappe_fond_fenetres(byte * Table_de_conversion, <span class="keywordtype">int</span> Min_Y, <span class="keywordtype">int</span> Max_Y);
|
|
<a name="l00079"></a>00079 <span class="keywordtype">void</span> Pixel_fond(<span class="keywordtype">int</span> <a class="code" href="structFenetre__Bouton__dropdown.html#c1c3ea2d9d1a4dae001f69213894df62">Pos_X</a>, <span class="keywordtype">int</span> <a class="code" href="structFenetre__Bouton__dropdown.html#f7e15461eca8c69898e5d4fbc88eb6ac">Pos_Y</a>, byte Couleur);
|
|
</pre></div></div>
|
|
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Mar 6 16:29:55 2009 for GrafX2 by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
|
|
</body>
|
|
</html>
|