Changeset 565 for trunk/Settings.pas


Ignore:
Timestamp:
May 1, 2024, 12:08:20 PM (7 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/Settings.pas

    r524 r565  
    203203procedure TSettingsDlg.FormPaint(Sender: TObject);
    204204begin
    205   PaintBackground(Self, 3, 3, ClientWidth - 6, ClientHeight - 6);
     205  PaintBackground(Canvas, 3, 3, ClientWidth - 6, ClientHeight - 6,
     206    ClientWidth, ClientHeight);
    206207  Frame(Canvas, 0, 0, ClientWidth - 1, ClientHeight - 1, 0, 0);
    207208  Frame(Canvas, 1, 1, ClientWidth - 2, ClientHeight - 2,
Note: See TracChangeset for help on using the changeset viewer.