Changeset 155 for trunk/Components


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/Components/ScreenTools.pas

    r144 r155  
    920920begin
    921921  dst.BeginUpdate;
     922  DstPtr.Init(dst, x0, y0);
    922923  for y := -GlowRange + 1 to Height - 1 + GlowRange - 1 do
    923924  begin
    924925    for x := -GlowRange + 1 to Width - 1 + GlowRange - 1 do
    925926    begin
    926       DstPtr.Init(dst, x0 + x, y0 + y);
     927      DstPtr.SetXY(x, y);
    927928      if x < 0 then
    928929        if y < 0 then
Note: See TracChangeset for help on using the changeset viewer.