Ignore:
Timestamp:
Apr 9, 2015, 9:58:36 PM (10 years ago)
Author:
chronos
Message:
  • Fixed: Use csOpaque control style also to Image, PaintBox and OpenGLControl.
  • Modified: Change size of test frame with SpinEdits as delayed using timer.
  • Updated: BRGABitmap package to version 8.1.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest/Packages/bgrabitmap/bgradnetdeserial.pas

    r452 r472  
    155155    procedure LoadFromStream(Stream: TStream);
    156156    procedure LoadFromFile(filename: string);
     157    procedure LoadFromFileUTF8(filenameUTF8: string);
    157158    function ToString: string; override;
    158159    constructor Create;
     
    182183
    183184implementation
     185
     186uses lazutf8classes;
    184187
    185188const
     
    859862begin
    860863  stream := TFileStream.Create(filename, fmOpenRead);
     864  try
     865    LoadFromStream(stream);
     866  finally
     867    stream.Free;
     868  end;
     869end;
     870
     871procedure TDotNetDeserialization.LoadFromFileUTF8(filenameUTF8: string);
     872var
     873  stream: TFileStreamUTF8;
     874begin
     875  stream := TFileStreamUTF8.Create(filenameUTF8, fmOpenRead);
    861876  try
    862877    LoadFromStream(stream);
Note: See TracChangeset for help on using the changeset viewer.