Changeset 565 for trunk/Direct.pas


Ignore:
Timestamp:
May 1, 2024, 12:08:20 PM (5 months ago)
Author:
chronos
Message:
  • Modified: Start form changed to use Offscreen bitmap for drawing as Qt5 doesn't support copying from form canvas.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Direct.pas

    r544 r565  
    278278procedure TDirectDlg.FormPaint(Sender: TObject);
    279279begin
    280   PaintBackground(Self, 3, 3, ClientWidth - 6, ClientHeight - 6);
     280  PaintBackground(Canvas, 3, 3, ClientWidth - 6, ClientHeight - 6,
     281    ClientWidth, ClientHeight);
    281282  Frame(Canvas, 0, 0, ClientWidth - 1, ClientHeight - 1, 0, 0);
    282283  Frame(Canvas, 1, 1, ClientWidth - 2, ClientHeight - 2,
Note: See TracChangeset for help on using the changeset viewer.