Changeset 323 for trunk/LocalPlayer/MessgEx.pas
- Timestamp:
- Mar 23, 2021, 2:46:42 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/MessgEx.pas
r318 r323 292 292 293 293 // paint 294 // TODO: Explicitly clear background to black but in fact BitBlt SRCCOPY should do it 295 LogoBuffer.Canvas.FillRect(0, 0, LogoBuffer.Width, LogoBuffer.Height); 294 UnshareBitmap(LogoBuffer); 296 295 BitBltCanvas(LogoBuffer.Canvas, 0, 0, BookRect.Width, BookRect.Height, ca, x, y); 297 296 … … 374 373 begin 375 374 p1 := MyRO.Wonder[IconIndex].EffectiveOwner; 376 // TODO: Explicitly clear background to black but in fact BitBlt SRCCOPY should do it 377 Buffer.Canvas.FillRect(0, 0, 1, 1); 375 UnshareBitmap(Buffer); 378 376 BitBltCanvas(Buffer.Canvas, 0, 0, xSizeBig + 2 * GlowRange, 379 377 ySizeBig + 2 * GlowRange, Canvas,
Note:
See TracChangeset
for help on using the changeset viewer.