Changeset 327 for trunk/Forms/FormMain.pas
- Timestamp:
- Jul 16, 2024, 10:58:45 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormMain.pas
r319 r327 90 90 FormActivated: Boolean; 91 91 FormShown: Boolean; 92 FullScreen: Boolean;93 92 procedure ApplicationStart(Ptr: IntPtr); 94 93 procedure UpdateClientForms; … … 99 98 FormUnitMoves: TFormUnitMoves; 100 99 FormCharts: TFormCharts; 100 FullScreen: Boolean; 101 101 procedure LoadConfig(Config: TXmlConfig; Path: string); 102 102 procedure SaveConfig(Config: TXmlConfig; Path: string); 103 103 procedure ReloadView; 104 procedure ToggleFullscreen; 104 105 end; 105 106 … … 167 168 end; 168 169 ToolBar1.Visible := AToolBarVisible.Checked; 170 end; 171 172 procedure TFormMain.ToggleFullscreen; 173 begin 174 FullScreen := not FullScreen; 175 TFormEx.PersistentForm.Form := Self; 176 TFormEx.PersistentForm.SetFullScreen(FullScreen); 169 177 end; 170 178 … … 287 295 AUnitShapeVisible.Checked := Core.Core.UnitShapeVisible; 288 296 Core.Core.ScaleDPI; 297 Core.Core.PersistentForm1.Load(Self); 289 298 FullScreen := Core.Core.PersistentForm1.FormFullScreen; 290 299 Core.Core.Init;
Note:
See TracChangeset
for help on using the changeset viewer.