Documentation of the MLV-2.0.2 library

MLV_input_box_va.h
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 
80 void MLV_wait_input_box_va(
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 
117 void MLV_wait_input_box_with_font_va(
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 
156 MLV_Input_box* MLV_create_input_box_va(
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 
179 MLV_Input_box* MLV_create_input_box_with_font_va(
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 
196 void MLV_change_informative_message_of_input_box_va(
197  MLV_Input_box* input_box, const char* message, va_list pile
198 );
199 
200 #ifdef __cplusplus
201 }
202 #endif
203 
204 #endif