Changeset 157 for trunk/Core.pas


Ignore:
Timestamp:
Aug 19, 2024, 10:58:23 AM (3 months ago)
Author:
chronos
Message:
  • Added: Allow to hide main toolbar.
  • Fixed: Update cursor position in status bar.
  • Fixed: Memory leak in target code form.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Core.pas

    r156 r157  
    4949    OptionsFormTabIndex: Integer;
    5050    Optimizations: TOptimizations;
     51    ShowToolbar: Boolean;
    5152    procedure Init;
    5253    procedure AddItemToLastOpenedList(FileName: string);
     
    179180      ReadIntegerWithDefault('DPIY', 96));
    180181    ScaleDPI1.AutoDetect := ReadBoolWithDefault('DPIAuto', True);
     182    ShowToolbar := ReadBoolWithDefault('ShowToolbar', True);
    181183    OptimizationLevel := TCompilerOptimization(ReadIntegerWithDefault('OptimizationLevel', Integer(coNormal)));
    182184    MemorySize := ReadIntegerWithDefault('MemorySize', 30000);
     
    212214    WriteBool('OpenProjectOnStart', OpenProjectOnStart);
    213215    WriteBool('DPIAuto', ScaleDPI1.AutoDetect);
     216    WriteBool('ShowToolbar', ShowToolbar);
    214217    WriteInteger('DPIX', ScaleDPI1.DPI.X);
    215218    WriteInteger('DPIY', ScaleDPI1.DPI.Y);
Note: See TracChangeset for help on using the changeset viewer.