#include <stdio.h>#include <string.h>#include "const.h"#include "struct.h"#include "global.h"#include "divers.h"#include "moteur.h"#include "tables_aide.h"#include "aide.h"#include "sdlscreen.h"#include "texte.h"#include "clavier.h"#include "windows.h"#include "input.h"#include "hotkeys.h"#include "erreurs.h"Defines | |
| #define | STATS_COULEUR_TITRES CM_Blanc |
| #define | STATS_COULEUR_DONNEES CM_Clair |
Functions | |
| word * | Raccourci (word NumeroRaccourci) |
| const char * | Valeur_Raccourci_Clavier (word NumeroRaccourci) |
| void | Redefinir_controle (word *Raccourci, int Pos_X, int Pos_Y) |
| void | Fenetre_controle (int NumeroControle) |
| void | Afficher_aide (void) |
| void | Scroller_aide (struct Fenetre_Bouton_scroller *Scroller) |
| void | Bouton_Aide (void) |
| Called to open the help window with the keyboard shortcut. | |
| void | Fenetre_aide (int Section, const char *Sous_section) |
| Displays and runs the "Help / About..." window. | |
| void | Bouton_Stats (void) |
| Displays and runs the "Statistics" window. | |
Variables | |
| char | SVNRevision [] |
| #define STATS_COULEUR_TITRES CM_Blanc |
Referenced by Bouton_Stats().
| #define STATS_COULEUR_DONNEES CM_Clair |
Referenced by Bouton_Stats().
References Bouton, and Config_Touche.
Referenced by Fenetre_controle(), and Valeur_Raccourci_Clavier().
| const char* Valeur_Raccourci_Clavier | ( | word | NumeroRaccourci | ) |
| void Redefinir_controle | ( | word * | Raccourci, | |
| int | Pos_X, | |||
| int | Pos_Y | |||
| ) |
References Afficher_curseur(), CM_Clair, CM_Noir, Effacer_curseur, Get_input(), Print_dans_fenetre(), Touche, TOUCHE_ESC, and Wait_VBL().
Referenced by Fenetre_controle().
| void Fenetre_controle | ( | int | NumeroControle | ) |
References Afficher_curseur(), Block, CM_Blanc, CM_Clair, CM_Noir, ConfigTouche, Effacer_curseur, Erreur, Fenetre_Afficher_cadre_creux(), Fenetre_Bouton_clicke(), Fenetre_Definir_bouton_normal(), Fenetre_Pos_X, Fenetre_Pos_Y, Fermer_fenetre(), Menu_Facteur_X, Menu_Facteur_Y, Nom_touche(), Ordonnancement, Ouvrir_fenetre(), Print_dans_fenetre(), Print_dans_fenetre_limite(), Raccourci(), Redefinir_controle(), Touche, S_ConfigTouche::Touche, S_ConfigTouche::Touche2, TOUCHE_AUCUNE, TOUCHE_ESC, and UpdateRect().
Referenced by Fenetre_aide().
| void Afficher_aide | ( | void | ) |
References Afficher_ligne_fast, Block, Buffer_de_ligne_horizontale, CARACTERE_SUSPENSION, CM_Blanc, CM_Clair, CM_Fonce, CM_Noir, Fenetre_Pos_X, Fenetre_Pos_Y, Fonte_help_bold, Fonte_help_norm, Fonte_help_t1, Fonte_help_t2, Fonte_help_t3, Fonte_help_t4, Largeur, Menu_Facteur_X, Menu_Facteur_Y, Pixel_width, Position_d_aide_en_cours, Section_d_aide_en_cours, Section_d_aide::Table_aide, Table_d_aide, T_TABLEAIDE::texte, T_TABLEAIDE::type, UpdateRect(), and Valeur_Raccourci_Clavier().
Referenced by Fenetre_aide(), and Scroller_aide().
| void Scroller_aide | ( | struct Fenetre_Bouton_scroller * | Scroller | ) |
References Afficher_aide(), Afficher_curseur(), Calculer_hauteur_curseur_jauge(), Effacer_curseur, Fenetre_Dessiner_jauge(), Fenetre_Bouton_scroller::Position, and Position_d_aide_en_cours.
Referenced by Fenetre_aide().
| void Bouton_Aide | ( | void | ) |
Called to open the help window with the keyboard shortcut.
If the mouse is over a button, its contextual help will be displayed. Else, the default helpscreen will be shown.
References Fenetre_aide(), Numero_bouton_sous_souris(), and Touche.
Referenced by Initialisation_des_boutons().
| void Fenetre_aide | ( | int | Section, | |
| const char * | Sous_section | |||
| ) |
Displays and runs the "Help / About..." window.
| Section | Number of the help section page to display (equals the button number the mouse was hovering for the contextual help), -1 for the main help page. | |
| Sous_section | Help sub-section title (the page will be scrolled so this title is at the top). |
References Afficher_aide(), Afficher_curseur(), Attendre_fin_de_click(), Block, BOUTON_AIDE, Calculer_hauteur_curseur_jauge(), CM_Noir, Desenclencher_bouton(), Effacer_curseur, Fenetre_Afficher_cadre_creux(), Fenetre_Attribut2, Fenetre_Bouton_clicke(), Fenetre_controle(), Fenetre_Definir_bouton_normal(), Fenetre_Definir_bouton_scroller(), Fenetre_Definir_bouton_special(), Fenetre_Dessiner_jauge(), Fenetre_Pos_X, Fenetre_Pos_Y, Fermer_fenetre(), Menu_Facteur_X, Menu_Facteur_Y, Mouse_Y, Fenetre_Bouton_scroller::Nb_elements, Section_d_aide::Nombre_de_lignes, Ouvrir_fenetre(), Fenetre_Bouton_scroller::Position, Position_d_aide_en_cours, Scroller_aide(), Section_d_aide_en_cours, Table_d_aide, Touche, TOUCHE_ESC, TOUCHE_MOUSEWHEELDOWN, TOUCHE_MOUSEWHEELUP, and UpdateRect().
Referenced by Bouton_Aide(), Bouton_Brush_FX(), Bouton_Colorize_Menu(), Bouton_Copy_page(), Bouton_Degrades(), Bouton_Effets(), Bouton_Load_ou_Save(), Bouton_Menu_Grille(), Bouton_Menu_Loupe(), Bouton_Menu_pinceaux(), Bouton_Palette(), Bouton_Palette_secondaire(), Bouton_Quick_shade_Menu(), Bouton_Quitter_Routine_locale(), Bouton_Resol(), Bouton_Settings(), Bouton_Smooth_Menu(), Bouton_Spray_Menu(), Bouton_Texte(), Bouton_Tiling_Menu(), Bouton_Trame_Menu(), Menu_Shade(), and Menu_Tag_couleurs().
| void Bouton_Stats | ( | void | ) |
Displays and runs the "Statistics" window.
References Afficher_curseur(), ALPHA_BETA, Block, BOUTON_AIDE, CM_Noir, Desenclencher_bouton(), Fenetre_Afficher_cadre_creux(), Fenetre_Bouton_clicke(), Fenetre_Definir_bouton_normal(), Fenetre_Pos_X, Fenetre_Pos_Y, Fermer_fenetre(), Hauteur_ecran, Largeur_ecran, Memoire_libre(), Menu_Facteur_X, Menu_Facteur_Y, Ouvrir_fenetre(), Palette_Compter_nb_couleurs_utilisees(), POURCENTAGE_VERSION, Principal_Hauteur_image, Principal_Largeur_image, Principal_Repertoire_courant, Print_dans_fenetre(), STATS_COULEUR_DONNEES, STATS_COULEUR_TITRES, Support_TrueType(), SVNRevision, Touche, TOUCHE_ESC, and UpdateRect().
Referenced by Initialisation_des_boutons().
| char SVNRevision[] |
Referenced by Bouton_Stats().
1.5.8