Someone could help me programming cocoa events for mouse tracking.
Johannes
mouse events for cocoa event handling guide
Re: mouse events for cocoa event handling guide
PB for OSx uses the Carbon framework, so you won't be able to access the Cocoa framework within PB.
Also Cocoa relies on Objective-C an therefore its not procedural orientated.
Also Cocoa relies on Objective-C an therefore its not procedural orientated.
Check out OOP support for PB here!
Re: mouse events for cocoa event handling guide
Oh, that is bad. All 8 bit does not work?
Re: mouse events for cocoa event handling guide
Hi,inc. wrote:PB for OSx uses the Carbon framework, so you won't be able to access the Cocoa framework within PB.
Also Cocoa relies on Objective-C an therefore its not procedural orientated.
You have a cocoa plugin in development (10.6 Intel), a beta version may be available this week.
Many more works, lack of documentation.
You can use full cocoa controls (pathcontrol, segmented controls), sheet windows, drawers,...
It's not the same philosophy of purebasic events, no message, use only callbacks.
You cannot mix carbon and cocoa api.
You can include the framework inside the executable for publish to mac app store.
Thanks,
Re: mouse events for cocoa event handling guide
Many thanks,
now I am waiting.......
Johannes
now I am waiting.......
Johannes
Re: mouse events for cocoa event handling guide
Hi devulder, (don´t know, whether is name the real)
can you give me a link?
Johannes
can you give me a link?
Johannes
Re: mouse events for cocoa event handling guide
Hi,
Sorry i'm late !
before install need to have PB 4.51,OSX Intel 10.6
the link is here: link
Extract the zip file on /Applications directory !!! (elsewhere the examples doesn't work)
the "PB DEMO" contains
all small demos,
the include file pnheader.pbi
the dynamic library named Untitled.dylib (incredible name
The html doc file is obsolete.
it's the first beta, just for testing examples works for some computers
the final version is a shareware available of end of feb 2011.
thanks,
if you have questions, bugs reports, write me.
Sorry i'm late !
before install need to have PB 4.51,OSX Intel 10.6
the link is here: link
Extract the zip file on /Applications directory !!! (elsewhere the examples doesn't work)
the "PB DEMO" contains
all small demos,
the include file pnheader.pbi
the dynamic library named Untitled.dylib (incredible name

The html doc file is obsolete.
it's the first beta, just for testing examples works for some computers
the final version is a shareware available of end of feb 2011.
thanks,
if you have questions, bugs reports, write me.
Re: mouse events for cocoa event handling guide
Hi,
many thanks, I will try it and post it.
Johannes
many thanks, I will try it and post it.
Johannes
-
- New User
- Posts: 1
- Joined: Sun Jan 30, 2011 1:38 pm
Re: mouse events for cocoa event handling guide
hi devulder,
Thanks for your work on a cocoa ui library for purebasic.
I tried the examples in your beta release and found several problems:
1.) The compiled executable requires the Untitled.dylib to be present in /Users/rgbrgb/Desktop.
Is there a compiler option or other configuration setting needed to load the dylib from another location ?
2.) The tree example loads but the tree control is empty.
3.) The divider control is dark grey instead of the "normal" grey of the window backgrounds.
All in all i am vey pleased with the library and plan to buy/use it for my mac development using purebasic in the near future.
My configuration is as follows:
Intel Mac Mini 2GB RAM
Snow Leopard 10.6.6
PureBasic 4.51 Mac X86
Thanks,
Alex
Thanks for your work on a cocoa ui library for purebasic.
I tried the examples in your beta release and found several problems:
1.) The compiled executable requires the Untitled.dylib to be present in /Users/rgbrgb/Desktop.
Is there a compiler option or other configuration setting needed to load the dylib from another location ?
2.) The tree example loads but the tree control is empty.
3.) The divider control is dark grey instead of the "normal" grey of the window backgrounds.
All in all i am vey pleased with the library and plan to buy/use it for my mac development using purebasic in the near future.
My configuration is as follows:
Intel Mac Mini 2GB RAM
Snow Leopard 10.6.6
PureBasic 4.51 Mac X86
Thanks,
Alex
Re: mouse events for cocoa event handling guide
Thanks for all testers,
I have many many bugs
I contact in private for next version.
I have many many bugs

I contact in private for next version.