# special.c File Reference

`#include <stdlib.h>`
`#include <string.h>`
`#include "const.h"`
`#include "struct.h"`
`#include "global.h"`
`#include "graph.h"`
`#include "moteur.h"`
`#include "windows.h"`

## Functions
void | Modifier_pinceau (int Largeur, int Hauteur)
void | Retrecir_pinceau (void)
void | Grossir_pinceau (void)
void | Special_Next_forecolor (void)
void | Special_Previous_forecolor (void)
void | Special_Next_backcolor (void)
void | Special_Previous_backcolor (void)
void | Scroller_ecran (short Decalage_en_X, short Decalage_en_Y)
void | Scroller_loupe (short Decalage_en_X, short Decalage_en_Y)
void | Zoom (short Sens)

## Function Documentation

void Modifier_pinceau | ( | int | Largeur,
|  | int | Hauteur |
| ) |  |  |

References FORME_PINCEAU_ALEATOIRE, FORME_PINCEAU_ANTISLASH, FORME_PINCEAU_BARRE_HORIZONTALE, FORME_PINCEAU_BARRE_VERTICALE, FORME_PINCEAU_CARRE, FORME_PINCEAU_CARRE_TRAME, FORME_PINCEAU_LOSANGE, FORME_PINCEAU_PLUS, FORME_PINCEAU_ROND, FORME_PINCEAU_ROND_TRAME, FORME_PINCEAU_SLASH, FORME_PINCEAU_X, Pinceau_Decalage_X, Pinceau_Decalage_Y, Pinceau_Forme, Pinceau_Hauteur, Pinceau_Largeur, Pinceau_Sprite, Fenetre_Bouton_special::Pos_X, Fenetre_Bouton_special::Pos_Y, and TAILLE_MAXI_PINCEAU.

Referenced by Gestion_principale(), Grossir_pinceau(), and Retrecir_pinceau().

void Retrecir_pinceau | ( | void |  | ) |

References Afficher_curseur(), Afficher_pinceau_dans_menu(), Effacer_curseur, FORME_PINCEAU_ALEATOIRE, FORME_PINCEAU_ANTISLASH, FORME_PINCEAU_BARRE_HORIZONTALE, FORME_PINCEAU_BARRE_VERTICALE, FORME_PINCEAU_CARRE, FORME_PINCEAU_CARRE_TRAME, FORME_PINCEAU_DIVERS, FORME_PINCEAU_LOSANGE, FORME_PINCEAU_PLUS, FORME_PINCEAU_ROND, FORME_PINCEAU_ROND_TRAME, FORME_PINCEAU_SLASH, FORME_PINCEAU_X, Modifier_pinceau(), Pinceau_Forme, Pinceau_Hauteur, and Pinceau_Largeur.

Referenced by Gestion_principale().

void Grossir_pinceau | ( | void |  | ) |

References Afficher_curseur(), Afficher_pinceau_dans_menu(), Effacer_curseur, FORME_PINCEAU_ALEATOIRE, FORME_PINCEAU_ANTISLASH, FORME_PINCEAU_BARRE_HORIZONTALE, FORME_PINCEAU_BARRE_VERTICALE, FORME_PINCEAU_CARRE, FORME_PINCEAU_CARRE_TRAME, FORME_PINCEAU_DIVERS, FORME_PINCEAU_LOSANGE, FORME_PINCEAU_PLUS, FORME_PINCEAU_ROND, FORME_PINCEAU_ROND_TRAME, FORME_PINCEAU_SLASH, FORME_PINCEAU_X, Modifier_pinceau(), Pinceau_Forme, Pinceau_Hauteur, Pinceau_Largeur, and TAILLE_MAXI_PINCEAU.

Referenced by Gestion_principale().

void Special_Next_forecolor | ( | void |  | ) |

References Afficher_curseur(), Afficher_foreback(), CM_Blanc, CM_Noir, Effacer_curseur, Encadrer_couleur_menu(), Fore_color, and Recadrer_palette().

Referenced by Gestion_principale().

void Special_Previous_forecolor | ( | void |  | ) |

References Afficher_curseur(), Afficher_foreback(), CM_Blanc, CM_Noir, Effacer_curseur, Encadrer_couleur_menu(), Fore_color, and Recadrer_palette().

Referenced by Gestion_principale().

void Special_Next_backcolor | ( | void |  | ) |

References Afficher_curseur(), Afficher_foreback(), Back_color, and Effacer_curseur.

Referenced by Gestion_principale().

void Special_Previous_backcolor | ( | void |  | ) |

References Afficher_curseur(), Afficher_foreback(), Back_color, and Effacer_curseur.

Referenced by Gestion_principale().

void Scroller_ecran | ( | short | Decalage_en_X,
|  | short | Decalage_en_Y |
| ) |  |  |

References Afficher_curseur(), Afficher_ecran(), Calculer_coordonnees_pinceau(), Calculer_limites(), Effacer_curseur, Largeur_ecran, Menu_Ordonnee, Principal_Decalage_X, Principal_Decalage_Y, Principal_Hauteur_image, and Principal_Largeur_image.

Referenced by Gestion_principale().

void Scroller_loupe | ( | short | Decalage_en_X,
|  | short | Decalage_en_Y |
| ) |  |  |

References Afficher_curseur(), Afficher_ecran(), Calculer_coordonnees_pinceau(), Calculer_limites(), Effacer_curseur, Loupe_Decalage_X, Loupe_Decalage_Y, Loupe_Hauteur, Loupe_Largeur, Principal_Hauteur_image, Principal_Largeur_image, and Recadrer_ecran_par_rapport_au_zoom().

Referenced by Gestion_principale().

void Zoom | ( | short | Sens | ) |

References Afficher_curseur(), Afficher_ecran(), Changer_facteur_loupe(), Effacer_curseur, FACTEUR_ZOOM, Loupe_Facteur, Loupe_Mode, and NB_FACTEURS_DE_ZOOM.

Referenced by Dessiner_trames_predefinies(), and Gestion_principale().