Changeset 64 for trunk/UCore.pas
- Timestamp:
- Dec 4, 2014, 2:59:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r61 r64 25 25 Targets: TTargetList; 26 26 OpenProjectOnStart: Boolean; 27 OptimizationLevel: TCompilerOptimization; 27 28 procedure LoadFromRegistry(Root: HKEY; Key: string); 28 29 procedure SaveToRegistry(Root: HKEY; Key: string); … … 80 81 ReadIntegerWithDefault('DPIY', 96)); 81 82 ScaleDPI.AutoDetect := ReadBoolWithDefault('DPIAuto', True); 83 OptimizationLevel := TCompilerOptimization(ReadIntegerWithDefault('OptimizationLevel', Integer(coNormal))); 82 84 finally 83 85 Free; … … 99 101 WriteInteger('DPIX', ScaleDPI.DPI.X); 100 102 WriteInteger('DPIY', ScaleDPI.DPI.Y); 103 WriteInteger('OptimizationLevel', Integer(OptimizationLevel)); 101 104 if Assigned(CoolTranslator1.Language) and (CoolTranslator1.Language.Code <> '') then 102 105 WriteString('LanguageCode', CoolTranslator1.Language.Code)
Note:
See TracChangeset
for help on using the changeset viewer.