Changeset 468 for trunk/Back.pas
- Timestamp:
- Dec 3, 2023, 11:28:08 AM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Back.pas
r422 r468 5 5 6 6 uses 7 LCLIntf, LCLType, SysUtils, Classes, Graphics, Forms, Controls; 7 LCLIntf, LCLType, SysUtils, Classes, 8 {$IFDEF DPI}Dpi.Graphics, Dpi.Forms, Dpi.Controls{$ELSE} 9 Graphics, Forms, Controls{$ENDIF}; 8 10 9 11 type … … 25 27 var 26 28 Background: TBackground; 29 27 30 28 31 implementation … … 65 68 begin 66 69 if FullScreen then begin 67 WindowState := wsFullScreen;70 WindowState := TWindowState.wsFullScreen; 68 71 if not Assigned(Img) then begin 69 72 FileName := GetGraphicsDir + DirectorySeparator + 'Background.png'; … … 75 78 end; 76 79 end else begin 77 if WindowState <> wsMaximized then begin78 WindowState := wsNormal;79 WindowState := wsFullScreen;80 if WindowState <> TWindowState.wsMaximized then begin 81 WindowState := TWindowState.wsNormal; 82 WindowState := TWindowState.wsFullScreen; 80 83 end; 81 WindowState := wsNormal;84 WindowState := TWindowState.wsNormal; 82 85 BoundsRect := Bounds(StartDlg.Left - 8, StartDlg.Top - 8, 83 86 StartDlg.Width + 16, StartDlg.Height + 16);
Note:
See TracChangeset
for help on using the changeset viewer.