Program now remembers favorite mode layers/anim, based on last time you switched in splash screen or toolbar. Fixed graphic behavior when mode 5 is enabled/disabled, and added a safety (colors <4).
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2014 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -987,6 +987,13 @@ int Load_INI(T_Config * conf)
|
||||
conf->Use_virtual_keyboard=values[0];
|
||||
}
|
||||
|
||||
conf->Default_mode_layers=0;
|
||||
// Optional, remembers if the user last chose layers or anim (>=2.4)
|
||||
if (!Load_INI_get_values (file,buffer,"Default_mode_layers",1,values))
|
||||
{
|
||||
conf->Default_mode_layers=(values[0]!=0);
|
||||
}
|
||||
|
||||
// Insert new values here
|
||||
|
||||
fclose(file);
|
||||
|
||||
Reference in New Issue
Block a user