From b0624b17acd0177549e4d2fcf9909bc5b8bd957c Mon Sep 17 00:00:00 2001 From: Yves Rizoud Date: Sun, 30 Sep 2012 17:58:59 +0000 Subject: [PATCH] Default settings: 20 undo pages, 16x4 vertical palette git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2022 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- share/grafx2/gfx2def.ini | 8 ++++---- src/readini.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/share/grafx2/gfx2def.ini b/share/grafx2/gfx2def.ini index 75063708..6e842615 100644 --- a/share/grafx2/gfx2def.ini +++ b/share/grafx2/gfx2def.ini @@ -181,7 +181,7 @@ ; Number of pages stored in memory | Nombre de pages stockées en mémoire ; for "undoing". | destinées à annuler les dernières ; Values are between 1 and 99. | modifications. Valeurs entre 1 et 99. - Undo_pages = 10 ; (default 10) + Undo_pages = 20 ; (default 20) ; Speed of the scroll-bars (in VBLs | Vitesse des barre de défilement (en ; waited) while clicking with the | VBLs attendus) lorsque l'un des @@ -282,12 +282,12 @@ ; columns. But your preference will be kept, and as soon as there is more ; space in the screen, more columns will be shown. ; - Palette_Cells_X = 8; (Default 8) + Palette_Cells_X = 16; (Default 16) ; Number of lines in the palette of the menu. Can be any number from ; 1 to 16. The menu can always display the number of lines you request. ; - Palette_Cells_Y = 8; (Default 8) + Palette_Cells_Y = 4; (Default 4) ; Bookmarked directories. Leave the directory blank for unused ones. ; @@ -307,7 +307,7 @@ ; right. If you prefer the colors ordered top to bottom, set this option ; to YES. ; - Palette_vertical = NO; (Default NO) + Palette_vertical = YES; (Default YES) ; The program remembers the last window position, if the ; OS isn't able to do it by itself. (ie: Windows) diff --git a/src/readini.c b/src/readini.c index 347ff791..0f0f0ac2 100644 --- a/src/readini.c +++ b/src/readini.c @@ -750,7 +750,7 @@ int Load_INI(T_Config * conf) conf->Mouse_merge_movement=values[0]; } - conf->Palette_cells_X=8; + conf->Palette_cells_X=16; // Optionnel, nombre de colonnes dans la palette (>98.0%) if (!Load_INI_get_values (file,buffer,"Palette_cells_X",1,values)) { @@ -758,7 +758,7 @@ int Load_INI(T_Config * conf) goto Erreur_ERREUR_INI_CORROMPU; conf->Palette_cells_X=values[0]; } - conf->Palette_cells_Y=8; + conf->Palette_cells_Y=4; // Optionnel, nombre de lignes dans la palette (>98.0%) if (!Load_INI_get_values (file,buffer,"Palette_cells_Y",1,values)) { @@ -801,7 +801,7 @@ int Load_INI(T_Config * conf) else break; } - conf->Palette_vertical=0; + conf->Palette_vertical=1; // Optional, vertical palette option (>98.0%) if (!Load_INI_get_values (file,buffer,"Palette_vertical",1,values)) {