Documentation de la bibliothèque MLV-3.1.0

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
41extern "C" {
42#endif
43
79 int top_left_corner_X, int top_left_corner_Y,
80 int width, int height,
81 MLV_Color borderColor, MLV_Color textColor,
82 MLV_Color backgroundColor,
83 const char* informativeMessage,
84 char** text,
85 va_list pile
86);
87
114 int top_left_corner_X, int top_left_corner_Y,
115 int width, int height,
116 MLV_Color borderColor, MLV_Color textColor,
117 MLV_Color backgroundColor,
118 const char* informativeMessage,
119 char** text,
120 const MLV_Font* font,
121 va_list pile
122);
123
153 int top_left_corner_X, int top_left_corner_Y,
154 int width, int height,
155 MLV_Color borderColor, MLV_Color textColor,
156 MLV_Color backgroundColor,
157 const char* informativeMessage,
158 va_list pile
159);
160
176 int top_left_corner_X, int top_left_corner_Y,
177 int width, int height,
178 MLV_Color borderColor, MLV_Color textColor,
179 MLV_Color backgroundColor,
180 const char* informativeMessage,
181 const MLV_Font* font,
182 va_list pile
183);
184
193 MLV_Input_box* input_box, const char* message, va_list pile
194);
195
196#ifdef __cplusplus
197}
198#endif
199
200#endif
Uint32 MLV_Color
Définit un type couleur pour la bibliothèque MLV.
Definition MLV_color.h:54
Définit toutes les couleurs disponibles dans la bibliothèque MLV.
Ce fichier définit les prototypes des fonctions permettant de demander à l'utilisateur du texte par l...
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 top_left_corner_X, int top_left_corner_Y, int width, int height, 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.
void MLV_wait_input_box_va(int top_left_corner_X, int top_left_corner_Y, int width, int height, 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...
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.
MLV_Input_box * MLV_create_input_box_with_font_va(int top_left_corner_X, int top_left_corner_Y, 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.
MLV_Input_box * MLV_create_input_box_va(int top_left_corner_X, int top_left_corner_Y, 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.
struct _MLV_Font MLV_Font
Definition MLV_text.h:77
Ce fichier définit les différents prototypes des fonctions permmettant d'afficher du texte et des boî...