Improves the PasCocoa bindings. Adds a script to parse appkit. NSWindow and NSButton are already taken from the parser.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@447 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
sekelsenmat
2008-05-09 19:51:36 +00:00
parent 81763fac6a
commit bc7c85f132
21 changed files with 3184 additions and 887 deletions

View File

@@ -53,7 +53,7 @@ const
NSImage = class(NSObject) // <NSCopying, NSCoding>
public
{ Extra binding functions }
function getClass: objc.id; override;
class function getClass: objc.id; override;
public
{
+ (id)imageNamed:(NSString *)name; /* If this finds & creates the image, only name is saved when archived */
@@ -167,7 +167,7 @@ const
{$endif}
{$ifdef IMPLEMENTATION}
function NSImage.getClass: objc.id;
class function NSImage.getClass: objc.id;
begin
Result := objc_getClass(Str_NSImage);
end;