33 #ifndef __MLV__MLV_INPUT_BOX_H__
34 #define __MLV__MLV_INPUT_BOX_H__
36 #include "MLV_color.h"
47 typedef struct _MLV_Input_box MLV_Input_box;
84 void MLV_wait_input_box(
85 int sommetHautGaucheX,
int sommetHautGaucheY,
86 int sommetBasDroitX,
int sommetBasDroitY,
87 MLV_Color borderColor, MLV_Color textColor,
88 MLV_Color backgroundColor,
89 const char* informativeMessage,
119 void MLV_wait_input_box_with_font(
120 int sommetHautGaucheX,
int sommetHautGaucheY,
121 int sommetBasDroitX,
int sommetBasDroitY,
122 MLV_Color borderColor, MLV_Color textColor,
123 MLV_Color backgroundColor,
124 const char* informativeMessage,
126 const MLV_Font* font, ...
138 void MLV_wait_particular_input_box( MLV_Input_box* input_box,
char** text);
168 MLV_Input_box* MLV_create_input_box(
169 int sommetHautGaucheX,
int sommetHautGaucheY,
170 int width,
int height,
171 MLV_Color borderColor, MLV_Color textColor,
172 MLV_Color backgroundColor,
173 const char* informativeMessage, ...
189 MLV_Input_box* MLV_create_input_box_with_font(
190 int sommetHautGaucheX,
int sommetHautGaucheY,
191 int width,
int height,
192 MLV_Color borderColor, MLV_Color textColor,
193 MLV_Color backgroundColor,
194 const char* informativeMessage,
195 const MLV_Font* font, ...
206 void MLV_free_input_box( MLV_Input_box* input_box );
214 void MLV_change_informative_message_of_input_box(
215 MLV_Input_box* input_box,
const char* message, ...
223 void MLV_draw_input_box( MLV_Input_box* input_box );
230 void MLV_draw_all_input_boxes();
237 void MLV_suppress_history( MLV_Input_box* input_box );
250 void MLV_change_input_box_geometry(
251 MLV_Input_box* input_box,
int sommetHautGaucheX,
int sommetHautGaucheY,
252 int width,
int height
262 void MLV_change_input_box_size(MLV_Input_box* input_box,
int width,
int height);
273 void MLV_change_input_box_position(
274 MLV_Input_box* input_box,
int sommetHautGaucheX,
int sommetHautGaucheY
285 void MLV_change_input_box_colors(
286 MLV_Input_box* input_box, MLV_Color borderColor, MLV_Color textColor,
287 MLV_Color backgroundColor
304 void MLV_activate_input_box( MLV_Input_box* input_box );
311 void MLV_desactivate_input_box( );