Changeset 474 for trunk/Packages
- Timestamp:
- Dec 4, 2023, 7:18:18 PM (12 months ago)
- Location:
- trunk/Packages
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/ScreenTools.pas
r473 r474 1795 1795 end; 1796 1796 1797 LogoBuffer := TBitmap.Create; 1798 LogoBuffer.PixelFormat := TPixelFormat.pf24bit; 1799 LogoBuffer.SetSize(BigBook.Width, BigBook.Height); 1797 if not Assigned(LogoBuffer) then begin 1798 LogoBuffer := TBitmap.Create; 1799 LogoBuffer.PixelFormat := TPixelFormat.pf24bit; 1800 LogoBuffer.SetSize(BigBook.Width, BigBook.Height); 1801 end; 1800 1802 1801 1803 LoadGraphicFile(Colors, GetGraphicsDir + DirectorySeparator + 'Colors.png'); -
trunk/Packages/DpiControls/Dpi.Graphics.pas
r468 r474 245 245 public 246 246 constructor Create; override; 247 destructor Destroy; override; 247 248 procedure BeginUpdate(ACanvasOnly: Boolean = False); 248 249 procedure EndUpdate(AStreamIsValid: Boolean = False); … … 630 631 end; 631 632 633 destructor TRasterImage.Destroy; 634 begin 635 FreeAndNil(FCanvas); 636 inherited; 637 end; 638 632 639 procedure TRasterImage.BeginUpdate(ACanvasOnly: Boolean); 633 640 begin
Note:
See TracChangeset
for help on using the changeset viewer.