Aller à la documentation de ce fichier.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00032 #ifndef __MLV_PROMPT_H__
00033 #define __MLV_PROMPT_H__
00034
00035 #include "MLV_color.h"
00036
00037 #ifdef __cplusplus
00038 extern "C" {
00039 #endif
00040
00045 typedef struct _MLV_Prompt MLV_Prompt;
00046
00079 void MLV_wait_prompt(
00080 int sommetHautGaucheX, int sommetHautGaucheY,
00081 int sommetBasDroitX, int sommetBasDroitY,
00082 MLV_Color borderColor, MLV_Color textColor,
00083 MLV_Color backgroundColor,
00084 const char* informativeMessage,
00085 char** text
00086 );
00087
00088
00096 void MLV_wait_particular_prompt( MLV_Prompt* prompt, char** text);
00097
00098
00126 MLV_Prompt* MLV_create_prompt(
00127 int sommetHautGaucheX, int sommetHautGaucheY,
00128 int width, int height,
00129 MLV_Color borderColor, MLV_Color textColor,
00130 MLV_Color backgroundColor,
00131 const char* informativeMessage
00132 );
00138 void MLV_free_prompt( MLV_Prompt* prompt );
00145 void MLV_change_informative_message_of_prompt(
00146 MLV_Prompt* prompt, const char* message
00147 );
00153 void MLV_draw_prompt(MLV_Prompt* prompt);
00159 void MLV_draw_all_prompt();
00165 void MLV_suppress_history( MLV_Prompt* prompt );
00177 void MLV_change_prompt_geometry(
00178 MLV_Prompt* prompt, int sommetHautGaucheX, int sommetHautGaucheY,
00179 int width, int height
00180 );
00188 void MLV_change_prompt_size(MLV_Prompt* prompt, int width, int height);
00198 void MLV_change_prompt_position(
00199 MLV_Prompt* prompt, int sommetHautGaucheX, int sommetHautGaucheY
00200 );
00209 void MLV_change_prompt_colors(
00210 MLV_Prompt* prompt, MLV_Color borderColor, MLV_Color textColor,
00211 MLV_Color backgroundColor
00212 );
00219 void MLV_activate_prompt( MLV_Prompt* prompt );
00224 void MLV_desactivate_prompt( );
00225
00226 #ifdef __cplusplus
00227 }
00228 #endif
00229
00230 #endif