Changeset 622 for trunk/Back.pas
- Timestamp:
- Sep 15, 2024, 10:04:45 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Back.pas
r468 r622 18 18 procedure FormShow(Sender: TObject); 19 19 procedure FormCreate(Sender: TObject); 20 procedure FormClose(Sender: TObject; var Action: TCloseAction);21 20 private 22 21 Img: TBitmap; … … 54 53 begin 55 54 if Assigned(Img) then 56 BitBltCanvas(Canvas, Screen. Width - Img.Width - (Screen.Width - 800) *57 3 div 8, (Screen. Height - 600) div 3, Img.Width, Img.Height,55 BitBltCanvas(Canvas, Screen.PrimaryMonitor.Width - Img.Width - (Screen.PrimaryMonitor.Width - 800) * 56 3 div 8, (Screen.PrimaryMonitor.Height - 600) div 3, Img.Width, Img.Height, 58 57 Img.Canvas, 0, 0); 59 end;60 61 procedure TBackground.FormClose(Sender: TObject; var Action: TCloseAction);62 begin63 58 end; 64 59 … … 68 63 begin 69 64 if FullScreen then begin 65 BoundsRect := Screen.PrimaryMonitor.BoundsRect; 70 66 WindowState := TWindowState.wsFullScreen; 71 67 if not Assigned(Img) then begin
Note:
See TracChangeset
for help on using the changeset viewer.