Documentation de la bibliothèque MLV-2.0.2

MLV_input_box_va.h
Aller à la documentation de ce fichier.
1 /*
2  * This file is part of the MLV Library.
3  *
4  * Copyright (C) 2013-2014 Adrien Boussicault, Marc Zipstein
5  *
6  *
7  * This Library is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This Library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this Library. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
33 #ifndef __MLV__MLV_INPUT_BOX_VA_H__
34 #define __MLV__MLV_INPUT_BOX_VA_H__
35 
36 #include "MLV_color.h"
37 #include "MLV_text.h"
38 #include "MLV_input_box.h"
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
81  int sommetHautGaucheX, int sommetHautGaucheY,
82  int sommetBasDroitX, int sommetBasDroitY,
83  MLV_Color borderColor, MLV_Color textColor,
84  MLV_Color backgroundColor,
85  const char* informativeMessage,
86  char** text,
87  va_list pile
88 );
89 
118  int sommetHautGaucheX, int sommetHautGaucheY,
119  int sommetBasDroitX, int sommetBasDroitY,
120  MLV_Color borderColor, MLV_Color textColor,
121  MLV_Color backgroundColor,
122  const char* informativeMessage,
123  char** text,
124  const MLV_Font* font,
125  va_list pile
126 );
127 
157  int sommetHautGaucheX, int sommetHautGaucheY,
158  int width, int height,
159  MLV_Color borderColor, MLV_Color textColor,
160  MLV_Color backgroundColor,
161  const char* informativeMessage,
162  va_list pile
163 );
164 
180  int sommetHautGaucheX, int sommetHautGaucheY,
181  int width, int height,
182  MLV_Color borderColor, MLV_Color textColor,
183  MLV_Color backgroundColor,
184  const char* informativeMessage,
185  const MLV_Font* font,
186  va_list pile
187 );
188 
197  MLV_Input_box* input_box, const char* message, va_list pile
198 );
199 
200 #ifdef __cplusplus
201 }
202 #endif
203 
204 #endif
Définit toutes les couleurs disponibles dans la bibliothèque MLV.
struct _MLV_Input_box MLV_Input_box
Définition du type des boîtes de saisies.
Definition: MLV_input_box.h:47
void MLV_wait_input_box_with_font_va(int sommetHautGaucheX, int sommetHautGaucheY, int sommetBasDroitX, int sommetBasDroitY, MLV_Color borderColor, MLV_Color textColor, MLV_Color backgroundColor, const char *informativeMessage, char **text, const MLV_Font *font, va_list pile)
Même chose que MLV_wait_input_box(), mais il est possible de changer la fonte du du texte...
struct _MLV_Font MLV_Font
Definition: MLV_text.h:77
Uint32 MLV_Color
Définit un type couleur pour la bibliothèque MLV.
Definition: MLV_color.h:54
MLV_Input_box * MLV_create_input_box_with_font_va(int sommetHautGaucheX, int sommetHautGaucheY, int width, int height, MLV_Color borderColor, MLV_Color textColor, MLV_Color backgroundColor, const char *informativeMessage, const MLV_Font *font, va_list pile)
Cette fonction créé une boîte de saisie avec une font spécifique.
void MLV_change_informative_message_of_input_box_va(MLV_Input_box *input_box, const char *message, va_list pile)
Cette fonction change le message d'entête d'une boîte de saisie.
Ce fichier définit les différents prototypes des fonctions permmettant d'afficher du texte et des boî...
void MLV_wait_input_box_va(int sommetHautGaucheX, int sommetHautGaucheY, int sommetBasDroitX, int sommetBasDroitY, MLV_Color borderColor, MLV_Color textColor, MLV_Color backgroundColor, const char *informativeMessage, char **text, va_list pile)
Cette fonction suspend l'exécution du programme, affiche une boîte de saisie et attends que l'utilisa...
MLV_Input_box * MLV_create_input_box_va(int sommetHautGaucheX, int sommetHautGaucheY, int width, int height, MLV_Color borderColor, MLV_Color textColor, MLV_Color backgroundColor, const char *informativeMessage, va_list pile)
Cette fonction créé une boîte de saisie.
Ce fichier définit les prototypes des fonctions permettant de demander à l'utilisateur du texte par l...