00001 /* Grafx2 - The Ultimate 256-color bitmap paint program 00002 00003 Copyright 2007 Adrien Destugues 00004 Copyright 1996-2001 Sunset Design (Guillaume Dorme & Karl Maritaud) 00005 00006 Grafx2 is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU General Public License 00008 as published by the Free Software Foundation; version 2 00009 of the License. 00010 00011 Grafx2 is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with Grafx2; if not, see <http://www.gnu.org/licenses/> or 00018 write to the Free Software Foundation, Inc., 00019 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00020 */ 00021 00022 byte Readline(word Pos_X,word Pos_Y,char * Chaine,byte Taille_affichee,byte Type_saisie); 00023 // Paramètres: 00024 // Pos_X, Pos_Y : Coordonnées de la saisie dans la fenêtre 00025 // Chaine : Chaîne recevant la saisie (et contenant éventuellement une valeur initiale) 00026 // Taille_affichee : Nombre de caractères logeant dans la zone de saisie 00027 // Type_saisie : 0=Chaîne, 1=Nombre, 2=Nom de fichier (255 caractères réels) 00028 // Sortie: 00029 // 0: Sortie par annulation (Esc.) / 1: sortie par acceptation (Return) 00030 00031 byte Readline_ex(word Pos_X,word Pos_Y,char * Chaine,byte Taille_affichee,byte Taille_maxi, byte Type_saisie); 00032 // Paramètres: 00033 // Pos_X, Pos_Y : Coordonnées de la saisie dans la fenêtre 00034 // Chaine : Chaîne recevant la saisie (et contenant éventuellement une valeur initiale) 00035 // Taille_affichee : Nombre de caractères logeant dans la zone de saisie 00036 // Taille_maxi : Nombre de caractères logeant dans la zone de saisie 00037 // Type_saisie : 0=Chaîne, 1=Nombre, 2=Nom de fichier (255 caractères réels) 00038 // Sortie: 00039 // 0: Sortie par annulation (Esc.) / 1: sortie par acceptation (Return)
1.5.8