Ignore:
Timestamp:
Feb 24, 2024, 8:04:26 PM (9 months ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Draft.pas

    r471 r530  
    238238  // assemble background from 2 texture tiles
    239239  begin
    240     BitBltCanvas(Back.Canvas, 0, 0, ClientWidth, 64,
    241       MainTexture.Image.Canvas, (MainTexture.Width - ClientWidth) div 2,
     240    BitBltBitmap(Back, 0, 0, ClientWidth, 64,
     241      MainTexture.Image, (MainTexture.Width - ClientWidth) div 2,
    242242      MainTexture.Height - 64);
    243     BitBltCanvas(Back.Canvas, 0, 64, ClientWidth, ClientHeight - 64,
    244       MainTexture.Image.Canvas, (MainTexture.Width - ClientWidth) div 2,
     243    BitBltBitmap(Back, 0, 64, ClientWidth, ClientHeight - 64,
     244      MainTexture.Image, (MainTexture.Width - ClientWidth) div 2,
    245245      0);
    246246  end
    247247  else
    248     BitBltCanvas(Back.Canvas, 0, 0, ClientWidth, ClientHeight,
    249       MainTexture.Image.Canvas, (MainTexture.Width - ClientWidth) div 2,
     248    BitBltBitmap(Back, 0, 0, ClientWidth, ClientHeight,
     249      MainTexture.Image, (MainTexture.Width - ClientWidth) div 2,
    250250      (MainTexture.Height - ClientHeight) div 2);
    251251  ImageOp_B(Back, Template, 0, 0, 0, 0, Template.Width, 64);
     
    253253    Template.Height - 64 - Cut);
    254254
    255   BitBltCanvas(Offscreen.Canvas, 0, 0, ClientWidth, ClientHeight,
    256     Back.Canvas, 0, 0);
     255  BitBltBitmap(Offscreen, 0, 0, ClientWidth, ClientHeight, Back, 0, 0);
    257256
    258257  Offscreen.Canvas.Font.Assign(UniFont[ftCaption]);
Note: See TracChangeset for help on using the changeset viewer.