|
@@ -224,8 +224,8 @@ end;
|
|
|
|
|
|
procedure RegisterBitmapImage_C(Cl: TPSPascalCompiler);
|
|
procedure RegisterBitmapImage_C(Cl: TPSPascalCompiler);
|
|
begin
|
|
begin
|
|
- cl.AddTypeS('TAlphaFormat', '(afIgnored, afDefined, afPremultiplied)');
|
|
|
|
- with Cl.AddClassN(CL.FindClass('TBitmap'),'TAlphaBitmap') do
|
|
|
|
|
|
+ Cl.AddTypeS('TAlphaFormat', '(afIgnored, afDefined, afPremultiplied)');
|
|
|
|
+ with Cl.FindClass('TBitmap') do
|
|
begin
|
|
begin
|
|
RegisterProperty('AlphaFormat', 'TAlphaFormat', iptrw);
|
|
RegisterProperty('AlphaFormat', 'TAlphaFormat', iptrw);
|
|
end;
|
|
end;
|
|
@@ -234,7 +234,7 @@ begin
|
|
RegisterProperty('AutoSize', 'Boolean', iptrw);
|
|
RegisterProperty('AutoSize', 'Boolean', iptrw);
|
|
RegisterProperty('BackColor', 'TColor', iptrw);
|
|
RegisterProperty('BackColor', 'TColor', iptrw);
|
|
RegisterProperty('Center', 'Boolean', iptrw);
|
|
RegisterProperty('Center', 'Boolean', iptrw);
|
|
- RegisterProperty('Bitmap', 'TAlphaBitmap', iptrw); //TBitmapImage.Bitmap property is actually published as a TBitmap but in reality it always returns a TAlphaBitmap
|
|
|
|
|
|
+ RegisterProperty('Bitmap', 'TBitmap', iptrw);
|
|
RegisterProperty('ReplaceColor', 'TColor', iptrw);
|
|
RegisterProperty('ReplaceColor', 'TColor', iptrw);
|
|
RegisterProperty('ReplaceWithColor', 'TColor', iptrw);
|
|
RegisterProperty('ReplaceWithColor', 'TColor', iptrw);
|
|
RegisterProperty('Stretch', 'Boolean', iptrw);
|
|
RegisterProperty('Stretch', 'Boolean', iptrw);
|