boutons.h File Reference


Functions

void Message_Non_disponible (void)
 Displays an error message when calling an unavailable function.
void Message_Memoire_insuffisante (void)
 Displays an error message when there is no more memory for the requested operation.
void Bouton_Message_initial (void)
 Displays the splash screen at program startup.
void Changer_la_forme_du_pinceau (byte Numero)
 Changes brush shape.
void Bouton_Pal_left (void)
 Callback for the palette scroller buttons left click.
void Bouton_Pal_left_fast (void)
 Callback for the palette scroller buttons right click.
void Bouton_Pal_right (void)
 Callback for the palette scroller buttons left click.
void Bouton_Pal_right_fast (void)
 Callback for the palette scroller buttons right click.
void Bouton_Choix_forecolor (void)
 Callback for the palette color buttons left click.
void Bouton_Choix_backcolor (void)
 Callback for the palette color buttons right click.
void Bouton_Brosse_monochrome (void)
 Callback for the brush button left click.
void Bouton_Menu_pinceaux (void)
 Callback for the brush button right click.
void Bouton_Dessin (void)
 Callback for the freehand draw button left click.
void Bouton_Dessin_Switch_mode (void)
 Callback for the freehand draw button right click.
void Bouton_Lignes (void)
 Callback for the lines button left click.
void Bouton_Lignes_Switch_mode (void)
 Callback for the lines button right click.
void Bouton_Fill (void)
void Bouton_Remplacer (void)
void Bouton_desenclencher_Fill (void)
void Bouton_Spray (void)
void Bouton_Spray_Menu (void)
void Bouton_Courbes (void)
void Bouton_Courbes_Switch_mode (void)
void Bouton_Rectangle_vide (void)
void Bouton_Rectangle_plein (void)
void Bouton_Texte (void)
void Bouton_Degrades (void)
void Degrade_Charger_infos_du_tableau (int Indice)
void Bouton_Cercle_degrade (void)
void Bouton_Ellipse_degrade (void)
void Bouton_Rectangle_degrade (void)
void Bouton_Cercle_vide (void)
void Bouton_Ellipse_vide (void)
void Bouton_Cercle_plein (void)
void Bouton_Ellipse_pleine (void)
void Bouton_Polygone (void)
void Bouton_Polyform (void)
void Bouton_Polyfill (void)
void Bouton_Filled_polyform (void)
void Bouton_Ajuster (void)
void Bouton_Shade_Mode (void)
void Bouton_Quick_shade_Mode (void)
void Bouton_Shade_Menu (void)
void Bouton_Stencil_Mode (void)
void Bouton_Menu_Stencil (void)
void Bouton_Mask_Mode (void)
void Bouton_Mask_Menu (void)
void Bouton_Snap_Mode (void)
void Bouton_Menu_Grille (void)
void Copier_trame_predefinie (byte Indice)
void Inverser_trame (void)
void Bouton_Trame_Mode (void)
void Bouton_Trame_Menu (void)
void Bouton_Smooth_Mode (void)
void Calculer_les_tables_de_Colorize (void)
void Bouton_Colorize_Mode (void)
void Bouton_Colorize_Menu (void)
void Bouton_Tiling_Mode (void)
void Bouton_Tiling_Menu (void)
void Bouton_Effets (void)
void Bouton_Brosse (void)
void Bouton_Restaurer_brosse (void)
void Bouton_desenclencher_Brosse (void)
void Bouton_Lasso (void)
void Bouton_desenclencher_Lasso (void)
void Bouton_Pipette (void)
void Bouton_desenclencher_Pipette (void)
void Bouton_Inverser_foreback (void)
void Bouton_Loupe (void)
void Bouton_Menu_Loupe (void)
void Bouton_desenclencher_Loupe (void)
void Bouton_Brush_FX (void)
void Bouton_Page (void)
void Bouton_Copy_page (void)
void Copier_image_seule (void)
void Bouton_Kill (void)
void Bouton_Resol (void)
void Bouton_Safety_resol (void)
void Bouton_Load (void)
void Bouton_Reload (void)
void Bouton_Save (void)
void Bouton_Autosave (void)
void Bouton_Settings (void)
void Bouton_Undo (void)
void Bouton_Redo (void)
void Bouton_Clear (void)
void Bouton_Clear_colore (void)
void Bouton_Quit (void)
void Bouton_Cacher_menu (void)
void Load_picture (byte Image)
void Save_picture (byte Image)
void Menu_Tag_couleurs (char *En_tete, byte *Table, byte *Mode, byte Cancel, const char *Section_aide)
void Bouton_Smooth_Menu (void)
void Bouton_Smear_Mode (void)

Function Documentation

void Message_Non_disponible ( void   ) 

Displays an error message when calling an unavailable function.

Only used in the beta versions for things we haven't coded yet.

References Afficher_curseur(), CM_Clair, CM_Noir, Display_Window, Fenetre_Bouton_clicke(), Fenetre_Definir_bouton_normal(), Fermer_fenetre(), Ouvrir_fenetre(), Print_dans_fenetre(), Touche, and TOUCHE_ESC.

Referenced by Bouton_Brush_FX(), Gestion_principale(), and Initialisation_des_boutons().

void Message_Memoire_insuffisante ( void   ) 

void Bouton_Message_initial ( void   ) 

void Changer_la_forme_du_pinceau ( byte  Numero  ) 

Changes brush shape.

This function saves the current brush shape and swith to the default one (single pixel brush) for the filler and the color picker. These functions don't need (and will not work with) a custom brush.

References Afficher_pinceau_dans_menu(), FORME_PINCEAU_POINT, Operation_en_cours, OPERATION_FILL, OPERATION_PIPETTE, Pinceau_Forme, Pinceau_Forme_avant_fill, and Pinceau_Forme_avant_pipette.

Referenced by Bouton_Brosse_monochrome(), Bouton_Menu_pinceaux(), Bouton_Restaurer_brosse(), Bouton_Texte(), Bouton_Trame_Menu(), Brosse_0_5(), Etirer_brosse_2_7(), Gestion_principale(), Load_picture(), Polybrosse_12_8(), and Tourner_brosse_2_5().

void Bouton_Pal_left ( void   ) 

Callback for the palette scroller buttons left click.

Scrolls the menubar palette one column to the left.

References Afficher_curseur(), Afficher_palette_du_menu(), BOUTON_PAL_LEFT, Couleur_debut_palette, Desenclencher_bouton(), Effacer_curseur, and Palette_Cells_Y().

Referenced by Initialisation_des_boutons().

void Bouton_Pal_left_fast ( void   ) 

Callback for the palette scroller buttons right click.

Scrolls the menubar palette faster to the left.

References Afficher_curseur(), Afficher_palette_du_menu(), BOUTON_PAL_LEFT, Couleur_debut_palette, Desenclencher_bouton(), Effacer_curseur, Palette_Cells_X(), and Palette_Cells_Y().

Referenced by Initialisation_des_boutons().

void Bouton_Pal_right ( void   ) 

Callback for the palette scroller buttons left click.

Scrolls the menubar palette one column to the right.

References Afficher_curseur(), Afficher_palette_du_menu(), BOUTON_PAL_RIGHT, Couleur_debut_palette, Desenclencher_bouton(), Effacer_curseur, Palette_Cells_X(), and Palette_Cells_Y().

Referenced by Initialisation_des_boutons().

void Bouton_Pal_right_fast ( void   ) 

Callback for the palette scroller buttons right click.

Scrolls the menubar palette faster to the right.

References Afficher_curseur(), Afficher_palette_du_menu(), BOUTON_PAL_RIGHT, Couleur_debut_palette, Desenclencher_bouton(), Effacer_curseur, Palette_Cells_X(), and Palette_Cells_Y().

Referenced by Initialisation_des_boutons().

void Bouton_Choix_forecolor ( void   ) 

Callback for the palette color buttons left click.

Selects the foreground drawing color when clicking on the menubar palette.

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

Referenced by Initialisation_des_boutons().

void Bouton_Choix_backcolor ( void   ) 

Callback for the palette color buttons right click.

Selects the background drawing color when clicking on the menubar palette.

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

Referenced by Initialisation_des_boutons().

void Bouton_Brosse_monochrome ( void   ) 

Callback for the brush button left click.

Selects the monochrome brush mode when right clicking on the brush button.

References Afficher_curseur(), BOUTON_PINCEAUX, Changer_la_forme_du_pinceau(), Desenclencher_bouton(), Effacer_curseur, and FORME_PINCEAU_BROSSE_MONOCHROME.

Referenced by Initialisation_des_boutons().

void Bouton_Menu_pinceaux ( void   ) 

void Bouton_Dessin ( void   ) 

Callback for the freehand draw button left click.

Selects freehand drawing mode, depending on the current state of the freehand button.

References Afficher_curseur(), Demarrer_pile_operation(), Effacer_curseur, and Mode_de_dessin_en_cours.

Referenced by Initialisation_des_boutons().

void Bouton_Dessin_Switch_mode ( void   ) 

Callback for the freehand draw button right click.

Cycles the drawing modes for the freehand tool.

References Afficher_curseur(), Afficher_sprite_dans_menu(), BOUTON_DESSIN, Demarrer_pile_operation(), Effacer_curseur, Mode_de_dessin_en_cours, OPERATION_DESSIN_CONTINU, and OPERATION_FILLED_CONTOUR.

Referenced by Initialisation_des_boutons().

void Bouton_Lignes ( void   ) 

Callback for the lines button left click.

Selects lines drawing mode, depending on the current state of the lines button.

References Afficher_curseur(), Demarrer_pile_operation(), Effacer_curseur, and Ligne_en_cours.

Referenced by Initialisation_des_boutons().

void Bouton_Lignes_Switch_mode ( void   ) 

Callback for the lines button right click.

Cycles the drawing modes for the lines tool.

References Afficher_curseur(), Afficher_sprite_dans_menu(), BOUTON_LIGNES, Demarrer_pile_operation(), Effacer_curseur, Ligne_en_cours, OPERATION_K_LIGNE, OPERATION_LIGNE, and OPERATION_LIGNES_CENTREES.

Referenced by Initialisation_des_boutons().

void Bouton_Fill ( void   ) 

void Bouton_Remplacer ( void   ) 

void Bouton_desenclencher_Fill ( void   ) 

void Bouton_Spray ( void   ) 

void Bouton_Spray_Menu ( void   ) 

void Bouton_Courbes ( void   ) 

void Bouton_Courbes_Switch_mode ( void   ) 

void Bouton_Rectangle_vide ( void   ) 

void Bouton_Rectangle_plein ( void   ) 

void Bouton_Texte ( void   ) 

void Bouton_Degrades ( void   ) 

void Degrade_Charger_infos_du_tableau ( int  Indice  ) 

void Bouton_Cercle_degrade ( void   ) 

void Bouton_Ellipse_degrade ( void   ) 

void Bouton_Rectangle_degrade ( void   ) 

void Bouton_Cercle_vide ( void   ) 

void Bouton_Ellipse_vide ( void   ) 

void Bouton_Cercle_plein ( void   ) 

void Bouton_Ellipse_pleine ( void   ) 

void Bouton_Polygone ( void   ) 

void Bouton_Polyform ( void   ) 

void Bouton_Polyfill ( void   ) 

void Bouton_Filled_polyform ( void   ) 

void Bouton_Ajuster ( void   ) 

void Bouton_Shade_Mode ( void   ) 

void Bouton_Quick_shade_Mode ( void   ) 

void Bouton_Shade_Menu ( void   ) 

void Bouton_Stencil_Mode ( void   ) 

References Stencil_Mode.

Referenced by Bouton_Effets(), and Gestion_principale().

void Bouton_Menu_Stencil ( void   ) 

void Bouton_Mask_Mode ( void   ) 

References Mask_Mode.

Referenced by Bouton_Effets(), and Gestion_principale().

void Bouton_Mask_Menu ( void   ) 

void Bouton_Snap_Mode ( void   ) 

void Bouton_Menu_Grille ( void   ) 

void Copier_trame_predefinie ( byte  Indice  ) 

void Inverser_trame ( void   ) 

void Bouton_Trame_Mode ( void   ) 

void Bouton_Trame_Menu ( void   ) 

void Bouton_Smooth_Mode ( void   ) 

void Calculer_les_tables_de_Colorize ( void   ) 

void Bouton_Colorize_Mode ( void   ) 

void Bouton_Colorize_Menu ( void   ) 

void Bouton_Tiling_Mode ( void   ) 

void Bouton_Tiling_Menu ( void   ) 

void Bouton_Effets ( void   ) 

void Bouton_Brosse ( void   ) 

void Bouton_Restaurer_brosse ( void   ) 

void Bouton_desenclencher_Brosse ( void   ) 

void Bouton_Lasso ( void   ) 

void Bouton_desenclencher_Lasso ( void   ) 

void Bouton_Pipette ( void   ) 

void Bouton_desenclencher_Pipette ( void   ) 

void Bouton_Inverser_foreback ( void   ) 

void Bouton_Loupe ( void   ) 

void Bouton_Menu_Loupe ( void   ) 

void Bouton_desenclencher_Loupe ( void   ) 

void Bouton_Brush_FX ( void   ) 

void Bouton_Page ( void   ) 

void Bouton_Copy_page ( void   ) 

void Copier_image_seule ( void   ) 

void Bouton_Kill ( void   ) 

void Bouton_Resol ( void   ) 

void Bouton_Safety_resol ( void   ) 

void Bouton_Load ( void   ) 

void Bouton_Reload ( void   ) 

void Bouton_Save ( void   ) 

References Save_picture().

Referenced by Initialisation_des_boutons().

void Bouton_Autosave ( void   ) 

void Bouton_Settings ( void   ) 

References S_Config::Adjust_brush_pick, Afficher_curseur(), S_Config::Afficher_limites_image, Afficher_menu(), Attendre_fin_de_click(), S_Config::Auto_save, S_Config::Auto_set_res, S_Config::Backup, BOUTON_AIDE, BOUTON_PARAMETRES, Brouillon_File_list_Decalage, Brouillon_File_list_Position, Calculer_couleurs_menu_optimales(), S_Config::Clear_palette, CM_Clair, CM_Fonce, Config, S_Config::Coords_rel, S_Config::Couleurs_separees, S_Config::Curseur, Desenclencher_bouton(), Display_Window, Est_Raccourci(), Fenetre_Afficher_cadre(), Fenetre_aide(), Fenetre_Attribut2, Fenetre_Bouton_clicke(), Fenetre_Contenu_bouton_saisie(), Fenetre_Definir_bouton_normal(), Fenetre_Definir_bouton_saisie(), Fenetre_Definir_bouton_scroller(), Fenetre_Liste_boutons_special, Fermer_fenetre(), Fonte, S_Config::Fonte, Fonte_fun, Fonte_systeme, S_Config::Indice_Sensibilite_souris_X, S_Config::Indice_Sensibilite_souris_Y, S_Config::Lire_les_fichiers_caches, S_Config::Lire_les_repertoires_caches, S_Config::Maximize_preview, Menu_Facteur_X, Menu_Facteur_Y, Mouse_Facteur_de_correction_X, Mouse_Facteur_de_correction_Y, S_Config::Nb_pages_Undo, NB_PAGES_UNDO_MAX, Nouveau_nombre_de_backups(), Num2str(), Ouvrir_fenetre(), Principal_File_list_Decalage, Principal_File_list_Position, Principal_Palette, Print_dans_fenetre(), Readline(), S_Config::Safety_colors, Sensibilite_souris(), Settings_Afficher_config(), Settings_Charger_config(), Settings_Sauver_config(), Touche, and TOUCHE_ESC.

Referenced by Initialisation_des_boutons().

void Bouton_Undo ( void   ) 

void Bouton_Redo ( void   ) 

void Bouton_Clear ( void   ) 

void Bouton_Clear_colore ( void   ) 

void Bouton_Quit ( void   ) 

void Bouton_Cacher_menu ( void   ) 

void Load_picture ( byte  Image  ) 

void Save_picture ( byte  Image  ) 

void Menu_Tag_couleurs ( char *  En_tete,
byte Table,
byte Mode,
byte  Cancel,
const char *  Section_aide 
)

void Bouton_Smooth_Menu ( void   ) 

void Bouton_Smear_Mode ( void   ) 


Generated on Fri Mar 6 16:43:56 2009 for GrafX2 by  doxygen 1.5.8