Changeset 219 for trunk/LocalPlayer/Term.pas
- Timestamp:
- May 11, 2020, 10:06:08 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Term.pas
r207 r219 287 287 Offscreen: TBitmap; 288 288 OffscreenUser: TForm; 289 procedure CreateParams(var p: TCreateParams); override;290 289 procedure Client(Command, NewPlayer: integer; var Data); 291 290 procedure SetAIName(p: integer; Name: string); … … 3398 3397 3399 3398 { *** main part *** } 3400 3401 procedure TMainScreen.CreateParams(var p: TCreateParams);3402 begin3403 inherited;3404 if FullScreen then begin3405 p.Style := $87000000;3406 BorderStyle := bsNone;3407 BorderIcons := [];3408 end;3409 end;3410 3399 3411 3400 procedure TMainScreen.FormCreate(Sender: TObject); … … 7805 7794 procedure TMainScreen.FormShow(Sender: TObject); 7806 7795 begin 7807 Timer1.Enabled := true; 7808 Left := 0; 7809 Top := 0; 7796 if FullScreen then begin 7797 WindowState := wsMaximized; 7798 BorderStyle := bsNone; 7799 BorderIcons := []; 7800 end else begin 7801 WindowState := wsMaximized; 7802 BorderStyle := bsSizeable; 7803 BorderIcons := [biSystemMenu, biMinimize, biMaximize]; 7804 end; 7805 Timer1.Enabled := True; 7810 7806 end; 7811 7807
Note:
See TracChangeset
for help on using the changeset viewer.