#include <stdlib.h>#include <string.h>#include "const.h"#include "struct.h"#include "global.h"#include "divers.h"#include "erreurs.h"#include "sdlscreen.h"#include "readline.h"#include "windows.h"#include "input.h"Defines | |
| #define | COULEUR_TEXTE CM_Noir |
| #define | COULEUR_FOND CM_Clair |
| #define | COULEUR_TEXTE_CURSEUR CM_Noir |
| #define | COULEUR_FOND_CURSEUR CM_Fonce |
Functions | |
| void | Supprimer_caractere (char *Chaine, byte Position) |
| void | Inserer_caractere (char *Chaine, char Lettre, byte Position) |
| int | CaractereValide (int Caractere) |
| void | Rafficher_toute_la_chaine (word Pos_X, word Pos_Y, char *Chaine, byte Position) |
| byte | Readline (word Pos_X, word Pos_Y, char *Chaine, byte Taille_affichee, byte Type_saisie) |
| byte | Readline_ex (word Pos_X, word Pos_Y, char *Chaine, byte Taille_affichee, byte Taille_maxi, byte Type_saisie) |
| #define COULEUR_TEXTE CM_Noir |
Referenced by Rafficher_toute_la_chaine(), and Readline_ex().
| #define COULEUR_FOND CM_Clair |
Referenced by Rafficher_toute_la_chaine(), and Readline_ex().
| #define COULEUR_TEXTE_CURSEUR CM_Noir |
Referenced by Rafficher_toute_la_chaine().
| #define COULEUR_FOND_CURSEUR CM_Fonce |
Referenced by Rafficher_toute_la_chaine().
| void Supprimer_caractere | ( | char * | Chaine, | |
| byte | Position | |||
| ) |
Referenced by Readline_ex().
| void Inserer_caractere | ( | char * | Chaine, | |
| char | Lettre, | |||
| byte | Position | |||
| ) |
Referenced by Readline_ex().
| int CaractereValide | ( | int | Caractere | ) |
References COULEUR_FOND, COULEUR_FOND_CURSEUR, COULEUR_TEXTE, COULEUR_TEXTE_CURSEUR, Print_char_dans_fenetre(), and Print_dans_fenetre().
Referenced by Readline_ex().
| byte Readline_ex | ( | word | Pos_X, | |
| word | Pos_Y, | |||
| char * | Chaine, | |||
| byte | Taille_affichee, | |||
| byte | Taille_maxi, | |||
| byte | Type_saisie | |||
| ) |
References A_DROITE, Afficher_curseur(), Block, CARACTERE_TRIANGLE_DROIT, CARACTERE_TRIANGLE_GAUCHE, CaractereValide(), COULEUR_FOND, COULEUR_TEXTE, Effacer_curseur, Fenetre_Pos_X, Fenetre_Pos_Y, Flush_update(), Get_input(), Inserer_caractere(), Menu_Facteur_X, Menu_Facteur_Y, Mouse_K, Fenetre_Bouton_scroller::Position, Print_dans_fenetre(), Print_dans_fenetre_limite(), Rafficher_toute_la_chaine(), Supprimer_caractere(), Touche_ANSI, TOUCHE_ESC, UpdateRect(), and Wait_VBL().
Referenced by Bouton_Load_ou_Save(), Bouton_Texte(), and Readline().
1.5.8