Ignore:
Timestamp:
Nov 10, 2018, 7:47:29 PM (6 years ago)
Author:
chronos
Message:
  • Fixed: Wrong drawing of wonders dialog.
  • Modified: Use separate offscreen bitmap for each TBufferedDrawDlg dialog.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r152 r155  
    275275    procedure OnEOT(var Msg: TMessage); message WM_EOT;
    276276  public
     277    UsedOffscreenWidth, UsedOffscreenHeight: integer;
     278    Offscreen: TBitmap;
     279    OffscreenUser: TForm;
    277280    procedure CreateParams(var p: TCreateParams); override;
    278281    procedure Client(Command, NewPlayer: integer; var Data);
     
    34053408  i, j: integer;
    34063409begin
     3410  BaseWin.CreateOffscreen(Offscreen);
     3411
    34073412   // define which menu settings to save
    34083413  SaveOption[0] := mAlEffectiveMovesOnly.Tag;
     
    35413546    if AILogo[i] <> nil then
    35423547      FreeAndNil(AILogo[i]);
     3548  FreeAndNil(Offscreen);
    35433549end;
    35443550
Note: See TracChangeset for help on using the changeset viewer.