Changeset 96 for trunk/UCore.pas
- Timestamp:
- Aug 2, 2018, 10:41:11 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r93 r96 8 8 Classes, SysUtils, FileUtil, UApplicationInfo, ULastOpenedList, UProject, 9 9 UCoolTranslator, UTarget, URegistry, Registry, Graphics, Controls, UScaleDPI, 10 UPersistentForm, U BFTarget;10 UPersistentForm, UTheme, UBFTarget; 11 11 12 12 type … … 21 21 PersistentForm1: TPersistentForm; 22 22 ScaleDPI1: TScaleDPI; 23 ThemeManager: TThemeManager; 23 24 procedure DataModuleCreate(Sender: TObject); 24 25 procedure DataModuleDestroy(Sender: TObject); … … 109 110 MemorySize := ReadIntegerWithDefault('MemorySize', 30000); 110 111 CellSize := ReadIntegerWithDefault('CellSize', 256); 112 ThemeManager.Theme := ThemeManager.Themes.FindByName(ReadStringWithDefault('Theme', 'System')); 111 113 finally 112 114 Free; … … 134 136 WriteString('LanguageCode', CoolTranslator1.Language.Code) 135 137 else DeleteValue('LanguageCode'); 138 WriteString('Theme', ThemeManager.Theme.Name); 136 139 finally 137 140 Free;
Note:
See TracChangeset
for help on using the changeset viewer.