Removed deprecated settings 'Mouse correction factor' (issue 23)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1128 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
b2feccc039
commit
1f7da7c525
5
global.h
5
global.h
@ -112,11 +112,6 @@ GFX2_GLOBAL dword Key_ANSI;
|
|||||||
/// Boolean set to true when the OS/window manager requests the application to close. ie: [X] button
|
/// Boolean set to true when the OS/window manager requests the application to close. ie: [X] button
|
||||||
GFX2_GLOBAL byte Quit_is_required;
|
GFX2_GLOBAL byte Quit_is_required;
|
||||||
|
|
||||||
/// Divisor for the mouse coordinates recieved. No target currently needs it, should be left at 1.
|
|
||||||
GFX2_GLOBAL byte Mouse_fix_factor_X;
|
|
||||||
/// Divisor for the mouse coordinates recieved. No target currently needs it, should be left at 1.
|
|
||||||
GFX2_GLOBAL byte Mouse_fix_factor_Y;
|
|
||||||
|
|
||||||
///
|
///
|
||||||
/// This boolean is true when the current operation allows changing the
|
/// This boolean is true when the current operation allows changing the
|
||||||
/// foreground or background color.
|
/// foreground or background color.
|
||||||
|
|||||||
@ -469,13 +469,13 @@ int Load_INI(T_Config * conf)
|
|||||||
goto Erreur_Retour;
|
goto Erreur_Retour;
|
||||||
if ((values[0]<0) || (values[0]>4))
|
if ((values[0]<0) || (values[0]>4))
|
||||||
goto Erreur_ERREUR_INI_CORROMPU;
|
goto Erreur_ERREUR_INI_CORROMPU;
|
||||||
conf->Mouse_fix_factor_X=Mouse_fix_factor_X=values[0];
|
// Deprecated setting, unused
|
||||||
|
|
||||||
if ((return_code=Load_INI_get_values (file,buffer,"Y_correction_factor",1,values)))
|
if ((return_code=Load_INI_get_values (file,buffer,"Y_correction_factor",1,values)))
|
||||||
goto Erreur_Retour;
|
goto Erreur_Retour;
|
||||||
if ((values[0]<0) || (values[0]>4))
|
if ((values[0]<0) || (values[0]>4))
|
||||||
goto Erreur_ERREUR_INI_CORROMPU;
|
goto Erreur_ERREUR_INI_CORROMPU;
|
||||||
conf->Mouse_fix_factor_Y=Mouse_fix_factor_Y=values[0];
|
// Deprecated setting, unused
|
||||||
|
|
||||||
if ((return_code=Load_INI_get_values (file,buffer,"Cursor_aspect",1,values)))
|
if ((return_code=Load_INI_get_values (file,buffer,"Cursor_aspect",1,values)))
|
||||||
goto Erreur_Retour;
|
goto Erreur_Retour;
|
||||||
|
|||||||
@ -445,11 +445,11 @@ int Save_INI(T_Config * conf)
|
|||||||
if ((return_code=Save_INI_set_values (Ancien_fichier,Nouveau_fichier,buffer,"Y_sensitivity",1,values,0)))
|
if ((return_code=Save_INI_set_values (Ancien_fichier,Nouveau_fichier,buffer,"Y_sensitivity",1,values,0)))
|
||||||
goto Erreur_Retour;
|
goto Erreur_Retour;
|
||||||
|
|
||||||
values[0]=conf->Mouse_fix_factor_X;
|
values[0]=0;
|
||||||
if ((return_code=Save_INI_set_values (Ancien_fichier,Nouveau_fichier,buffer,"X_correction_factor",1,values,0)))
|
if ((return_code=Save_INI_set_values (Ancien_fichier,Nouveau_fichier,buffer,"X_correction_factor",1,values,0)))
|
||||||
goto Erreur_Retour;
|
goto Erreur_Retour;
|
||||||
|
|
||||||
values[0]=conf->Mouse_fix_factor_Y;
|
values[0]=0;
|
||||||
if ((return_code=Save_INI_set_values (Ancien_fichier,Nouveau_fichier,buffer,"Y_correction_factor",1,values,0)))
|
if ((return_code=Save_INI_set_values (Ancien_fichier,Nouveau_fichier,buffer,"Y_correction_factor",1,values,0)))
|
||||||
goto Erreur_Retour;
|
goto Erreur_Retour;
|
||||||
|
|
||||||
|
|||||||
2
struct.h
2
struct.h
@ -285,8 +285,6 @@ typedef struct
|
|||||||
byte Max_undo_pages; ///< Number of steps to memorize for Undo/Redo.
|
byte Max_undo_pages; ///< Number of steps to memorize for Undo/Redo.
|
||||||
byte Mouse_sensitivity_index_x; ///< Mouse sensitivity in X axis
|
byte Mouse_sensitivity_index_x; ///< Mouse sensitivity in X axis
|
||||||
byte Mouse_sensitivity_index_y; ///< Mouse sensitivity in Y axis
|
byte Mouse_sensitivity_index_y; ///< Mouse sensitivity in Y axis
|
||||||
byte Mouse_fix_factor_X; ///< Mouse correction factor in X axis.
|
|
||||||
byte Mouse_fix_factor_Y; ///< Mouse correction factor in Y axis.
|
|
||||||
byte Mouse_merge_movement; ///< Number of SDL mouse events that are merged into a single change of mouse coordinates.
|
byte Mouse_merge_movement; ///< Number of SDL mouse events that are merged into a single change of mouse coordinates.
|
||||||
byte Delay_left_click_on_slider; ///< Delay (in 1/100s) between two activations of a repeatable button when you hold left-click.
|
byte Delay_left_click_on_slider; ///< Delay (in 1/100s) between two activations of a repeatable button when you hold left-click.
|
||||||
byte Delay_right_click_on_slider; ///< Delay (in 1/100s) between two activations of a repeatable button when you hold left-click.
|
byte Delay_right_click_on_slider; ///< Delay (in 1/100s) between two activations of a repeatable button when you hold left-click.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user