mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-27 11:32:18 -05:00
Exported LoadFromTBitmap; untested.
I have not been able to verify that it works yet, because PascalScript on Linux fails. Will see if the new autobuild system works. :-)
This commit is contained in:
parent
5a886fd6bd
commit
3ee1d74427
@ -44,6 +44,7 @@ begin
|
||||
RegisterMethod('procedure Free');
|
||||
RegisterMethod('function SaveToFile(const FileName : string) :boolean;');
|
||||
RegisterMethod('procedure LoadFromFile(const FileName : string);');
|
||||
RegisterMethod('procedure LoadFromTBitmap(bmp: TBitmap);');
|
||||
RegisterProperty('Width','Integer',iptR);
|
||||
RegisterProperty('Height','Integer',iptR);
|
||||
RegisterProperty('Index','Integer',iptR);
|
||||
|
@ -142,6 +142,7 @@ begin
|
||||
RegisterMethod(@TMufasaBitmap.free,'FREE');
|
||||
RegisterMethod(@TMufasaBitmap.SaveToFile, 'SAVETOFILE');
|
||||
RegisterMethod(@TMufasaBitmap.LoadFromFile, 'LOADFROMFILE');
|
||||
RegisterMethod(@TMufasaBitmap.LoadFromTBitmap, 'LOADFROMTBITMAP');
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user