PNG format now saves the pixel ratio if the program is in /wide or /tall mode.
The ratio is also reloaded, but not used yet. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@615 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -3347,6 +3347,8 @@ void Load_picture(byte Image)
|
||||
}
|
||||
|
||||
Nouveau_mode=Meilleur_mode_video();
|
||||
// TODO : Utiliser içi Ratio_image_chargee pour passer dans la
|
||||
// bonne taille de pixels.
|
||||
if ((Config.Auto_set_res) && (Nouveau_mode!=Resolution_actuelle))
|
||||
{
|
||||
Initialiser_mode_video(
|
||||
@@ -3435,6 +3437,8 @@ void Bouton_Reload(void)
|
||||
}
|
||||
|
||||
Nouveau_mode=Meilleur_mode_video();
|
||||
// TODO : Utiliser içi Ratio_image_chargee pour passer dans la
|
||||
// bonne taille de pixels.
|
||||
if ( ((Config.Auto_set_res) && (Nouveau_mode!=Resolution_actuelle)) &&
|
||||
(!Une_resolution_a_ete_passee_en_parametre) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user