Fixed character '+/-' in many menus.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@168 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
8c9f66625d
commit
a7202fa2f6
28
operatio.c
28
operatio.c
@ -110,7 +110,7 @@ void Aff_coords_rel_ou_abs(short Debut_X, short Debut_Y)
|
||||
Chaine[0]='-';
|
||||
}
|
||||
else
|
||||
strcpy(Chaine,"ñ 0");
|
||||
strcpy(Chaine,"± 0");
|
||||
Print_dans_menu(Chaine,2);
|
||||
|
||||
if (Pinceau_Y>Debut_Y)
|
||||
@ -124,7 +124,7 @@ void Aff_coords_rel_ou_abs(short Debut_X, short Debut_Y)
|
||||
Chaine[0]='-';
|
||||
}
|
||||
else
|
||||
strcpy(Chaine,"ñ 0");
|
||||
strcpy(Chaine,"± 0");
|
||||
Print_dans_menu(Chaine,12);
|
||||
}
|
||||
}
|
||||
@ -400,7 +400,7 @@ void Ligne_12_0(void)
|
||||
}
|
||||
|
||||
if ((Config.Coords_rel) && (Menu_visible))
|
||||
Print_dans_menu("X:ñ 0 Y:ñ 0",0);
|
||||
Print_dans_menu("X:± 0 Y:± 0",0);
|
||||
|
||||
Operation_PUSH(Pinceau_X);
|
||||
Operation_PUSH(Pinceau_Y);
|
||||
@ -512,7 +512,7 @@ void K_Ligne_12_0(void)
|
||||
Pixel_figure_Preview(Pinceau_X,Pinceau_Y,Couleur);
|
||||
|
||||
if ((Config.Coords_rel) && (Menu_visible))
|
||||
Print_dans_menu("X:ñ 0 Y:ñ 0",0);
|
||||
Print_dans_menu("X:± 0 Y:± 0",0);
|
||||
|
||||
Operation_PUSH(Mouse_K | 0x80);
|
||||
Operation_PUSH(Couleur);
|
||||
@ -586,7 +586,7 @@ void K_Ligne_0_6(void)
|
||||
Operation_POP(&Direction);
|
||||
|
||||
if ((Config.Coords_rel) && (Menu_visible))
|
||||
Print_dans_menu("X:ñ 0 Y:ñ 0",0);
|
||||
Print_dans_menu("X:± 0 Y:± 0",0);
|
||||
|
||||
Pixel_figure_Preview (Debut_X,Debut_Y,Lit_pixel_dans_ecran_courant(Debut_X,Debut_Y));
|
||||
Effacer_ligne_Preview (Debut_X,Debut_Y,Fin_X,Fin_Y);
|
||||
@ -1082,7 +1082,7 @@ void Ellipse_12_0(void)
|
||||
}
|
||||
|
||||
if ((Config.Coords_rel) && (Menu_visible))
|
||||
Print_dans_menu("X:ñ 0 Y:ñ 0",0);
|
||||
Print_dans_menu("X:± 0 Y:± 0",0);
|
||||
|
||||
Operation_PUSH(Pinceau_X);
|
||||
Operation_PUSH(Pinceau_Y);
|
||||
@ -1519,7 +1519,7 @@ void Courbe_34_points_1_0(void)
|
||||
Pixel_figure_Preview(Pinceau_X,Pinceau_Y,Fore_color);
|
||||
|
||||
if ((Config.Coords_rel) && (Menu_visible))
|
||||
Print_dans_menu("X:ñ 0 Y:ñ 0",0);
|
||||
Print_dans_menu("X:± 0 Y:± 0",0);
|
||||
|
||||
Operation_PUSH(Fore_color);
|
||||
Operation_PUSH(Pinceau_X);
|
||||
@ -1546,7 +1546,7 @@ void Courbe_34_points_2_0(void)
|
||||
Pixel_figure_Preview(Pinceau_X,Pinceau_Y,Back_color);
|
||||
|
||||
if ((Config.Coords_rel) && (Menu_visible))
|
||||
Print_dans_menu("X:ñ 0 Y:ñ 0",0);
|
||||
Print_dans_menu("X:± 0 Y:± 0",0);
|
||||
|
||||
Operation_PUSH(Back_color);
|
||||
Operation_PUSH(Pinceau_X);
|
||||
@ -2061,7 +2061,7 @@ void Polygone_12_0(void)
|
||||
Pixel_figure_Preview(Pinceau_X,Pinceau_Y,Couleur);
|
||||
|
||||
if ((Config.Coords_rel) && (Menu_visible))
|
||||
Print_dans_menu("X:ñ 0 Y:ñ 0",0);
|
||||
Print_dans_menu("X:± 0 Y:± 0",0);
|
||||
|
||||
Operation_PUSH(Pinceau_X);
|
||||
Operation_PUSH(Pinceau_Y);
|
||||
@ -2167,7 +2167,7 @@ void Polyfill_12_0(void)
|
||||
Pixel_figure_Preview_xor(Pinceau_X,Pinceau_Y,0);
|
||||
|
||||
if ((Config.Coords_rel) && (Menu_visible))
|
||||
Print_dans_menu("X:ñ 0 Y:ñ 0",0);
|
||||
Print_dans_menu("X:± 0 Y:± 0",0);
|
||||
|
||||
Operation_PUSH(Pinceau_X);
|
||||
Operation_PUSH(Pinceau_Y);
|
||||
@ -2203,7 +2203,7 @@ void Polyfill_0_8(void)
|
||||
Operation_POP(&Direction);
|
||||
|
||||
if ((Config.Coords_rel) && (Menu_visible))
|
||||
Print_dans_menu("X:ñ 0 Y:ñ 0",0);
|
||||
Print_dans_menu("X:± 0 Y:± 0",0);
|
||||
|
||||
Tracer_ligne_Preview_xor(Debut_X,Debut_Y,Fin_X,Fin_Y,0);
|
||||
|
||||
@ -3567,7 +3567,7 @@ void Scroll_12_0(void)
|
||||
Cacher_curseur_avant_scroll=Cacher_curseur;
|
||||
Cacher_curseur=1;
|
||||
if ((Config.Coords_rel) && (Menu_visible))
|
||||
Print_dans_menu("X:ñ 0 Y:ñ 0",0);
|
||||
Print_dans_menu("X:± 0 Y:± 0",0);
|
||||
}
|
||||
|
||||
|
||||
@ -3916,7 +3916,7 @@ void Ellipse_degradee_12_0(void)
|
||||
Pixel_figure_Preview(Pinceau_X,Pinceau_Y,Couleur);
|
||||
|
||||
if ((Config.Coords_rel) && (Menu_visible))
|
||||
Print_dans_menu("X:ñ 0 Y:ñ 0",0);
|
||||
Print_dans_menu("X:± 0 Y:± 0",0);
|
||||
|
||||
Operation_PUSH(Mouse_K);
|
||||
Operation_PUSH(Couleur);
|
||||
@ -4121,7 +4121,7 @@ void Lignes_centrees_12_0(void)
|
||||
Shade_Table=(Mouse_K==A_GAUCHE)?Shade_Table_gauche:Shade_Table_droite;
|
||||
|
||||
if ((Config.Coords_rel) && (Menu_visible))
|
||||
Print_dans_menu("X:ñ 0 Y:ñ 0",0);
|
||||
Print_dans_menu("X:± 0 Y:± 0",0);
|
||||
|
||||
Operation_PUSH(Mouse_K);
|
||||
Operation_PUSH(Pinceau_X);
|
||||
|
||||
30
palette.c
30
palette.c
@ -576,9 +576,9 @@ void Afficher_les_jauges(struct Fenetre_Bouton_scroller * Jauge_rouge,
|
||||
|
||||
if (Bloc_selectionne)
|
||||
{
|
||||
Palette_Modifier_jauge(Jauge_rouge,127,63,"ñ 0",176);
|
||||
Palette_Modifier_jauge(Jauge_verte,127,63,"ñ 0",203);
|
||||
Palette_Modifier_jauge(Jauge_bleue,127,63,"ñ 0",230);
|
||||
Palette_Modifier_jauge(Jauge_rouge,127,63,"± 0",176);
|
||||
Palette_Modifier_jauge(Jauge_verte,127,63,"± 0",203);
|
||||
Palette_Modifier_jauge(Jauge_bleue,127,63,"± 0",230);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -608,15 +608,15 @@ void Palette_Reafficher_jauges(struct Fenetre_Bouton_scroller * Jauge_rouge,
|
||||
// Dans le cas d'un bloc, tout … 0.
|
||||
Jauge_rouge->Position =63;
|
||||
Fenetre_Dessiner_jauge(Jauge_rouge);
|
||||
Print_dans_fenetre(176,172,"ñ 0",CM_Noir,CM_Clair);
|
||||
Print_dans_fenetre(176,172,"± 0",CM_Noir,CM_Clair);
|
||||
|
||||
Jauge_verte->Position =63;
|
||||
Fenetre_Dessiner_jauge(Jauge_verte);
|
||||
Print_dans_fenetre(203,172,"ñ 0",CM_Noir,CM_Clair);
|
||||
Print_dans_fenetre(203,172,"± 0",CM_Noir,CM_Clair);
|
||||
|
||||
Jauge_bleue->Position =63;
|
||||
Fenetre_Dessiner_jauge(Jauge_bleue);
|
||||
Print_dans_fenetre(230,172,"ñ 0",CM_Noir,CM_Clair);
|
||||
Print_dans_fenetre(230,172,"± 0",CM_Noir,CM_Clair);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -940,7 +940,7 @@ void Bouton_Palette(void)
|
||||
else
|
||||
{
|
||||
// Jauge nulle:
|
||||
strcpy(Chaine,"ñ 0");
|
||||
strcpy(Chaine,"± 0");
|
||||
}
|
||||
Print_dans_fenetre(176,172,Chaine,CM_Noir,CM_Clair);
|
||||
}
|
||||
@ -977,7 +977,7 @@ void Bouton_Palette(void)
|
||||
else
|
||||
{
|
||||
// Jauge nulle:
|
||||
strcpy(Chaine,"ñ 0");
|
||||
strcpy(Chaine,"± 0");
|
||||
}
|
||||
Print_dans_fenetre(203,172,Chaine,CM_Noir,CM_Clair);
|
||||
}
|
||||
@ -1014,7 +1014,7 @@ void Bouton_Palette(void)
|
||||
else
|
||||
{
|
||||
// Jauge nulle:
|
||||
strcpy(Chaine,"ñ 0");
|
||||
strcpy(Chaine,"± 0");
|
||||
}
|
||||
Print_dans_fenetre(230,172,Chaine,CM_Noir,CM_Clair);
|
||||
}
|
||||
@ -1331,7 +1331,7 @@ void Bouton_Palette(void)
|
||||
else
|
||||
{
|
||||
// Jauge nulle:
|
||||
strcpy(Chaine,"ñ 0");
|
||||
strcpy(Chaine,"± 0");
|
||||
}
|
||||
Print_dans_fenetre(176,172,Chaine,CM_Noir,CM_Clair);
|
||||
|
||||
@ -1352,7 +1352,7 @@ void Bouton_Palette(void)
|
||||
else
|
||||
{
|
||||
// Jauge nulle:
|
||||
strcpy(Chaine,"ñ 0");
|
||||
strcpy(Chaine,"± 0");
|
||||
}
|
||||
Print_dans_fenetre(203,172,Chaine,CM_Noir,CM_Clair);
|
||||
|
||||
@ -1373,7 +1373,7 @@ void Bouton_Palette(void)
|
||||
else
|
||||
{
|
||||
// Jauge nulle:
|
||||
strcpy(Chaine,"ñ 0");
|
||||
strcpy(Chaine,"± 0");
|
||||
}
|
||||
Print_dans_fenetre(230,172,Chaine,CM_Noir,CM_Clair);
|
||||
}
|
||||
@ -1453,7 +1453,7 @@ void Bouton_Palette(void)
|
||||
else
|
||||
{
|
||||
// Jauge nulle:
|
||||
strcpy(Chaine,"ñ 0");
|
||||
strcpy(Chaine,"± 0");
|
||||
}
|
||||
Print_dans_fenetre(176,172,Chaine,CM_Noir,CM_Clair);
|
||||
|
||||
@ -1474,7 +1474,7 @@ void Bouton_Palette(void)
|
||||
else
|
||||
{
|
||||
// Jauge nulle:
|
||||
strcpy(Chaine,"ñ 0");
|
||||
strcpy(Chaine,"± 0");
|
||||
}
|
||||
Print_dans_fenetre(203,172,Chaine,CM_Noir,CM_Clair);
|
||||
|
||||
@ -1495,7 +1495,7 @@ void Bouton_Palette(void)
|
||||
else
|
||||
{
|
||||
// Jauge nulle:
|
||||
strcpy(Chaine,"ñ 0");
|
||||
strcpy(Chaine,"± 0");
|
||||
}
|
||||
Print_dans_fenetre(230,172,Chaine,CM_Noir,CM_Clair);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user