예제 #1
0
void FontsRestoreDefaults(void)
{
   FontsDestroy();
   FontsCreate(True);
   MainChangeFont();

   ModuleEvent(EVENT_FONTCHANGED, -1, NULL);
}
예제 #2
0
/* 
 * LoadSettings:  Load all user's settings from INI file.
 */
void LoadSettings(void)
{
   FontsCreate(False);
   ColorsCreate(False);
   CommLoadSettings();
   ConfigLoad();
   LoadProfaneTerms();

   // Restore defaults if they've changed from previous version
   if (config.ini_version != INI_VERSION)
   {
     ColorsRestoreDefaults();
     FontsRestoreDefaults();
     config.ini_version = INI_VERSION;
   }
}