I tried SDL's CPS code, but aparently it only works with Cocoa. I tries searching the internet for c programs that used it, and I only found one which also didn't work. I'd be fine to use Cocoa (there'd probably be fewer name conflicts), but I couldn't get the Obj-C files to build.
On Sun, 22 Aug 2004 13:11:17 +0200, Pierre d'Herbemont stegefin@free.fr wrote:
Rib,
If you want to get Docking support see the SDL code for it [1], especially the CPS (docking) related code. SDL can set up a dock item without using the .app bundle. I think it will be enough to have get window focus.
I sent the patch you were talking about to then wine-patches [Support for disabling symbols import in WineBuild based on a prefix.]
Pierre.
[1] http://www.libsdl.org/cgi/cvsweb.cgi/SDL12/src/main/macosx/SDLMain.m? rev=1.11&content-type=text/x-cvsweb-markup
Le 22 août 04, à 09:57, Rib Rdb a écrit :
Attached is a very preliminary driver for native graphics on OS X. So far all it does is let you make windows. No events or drawing work yet (I was baffled by the GetDC function. It looked like the existing drivers only call windows functions, and I didn't see any way for setting the window's context.) To compile this requires a patch by Pierre d'Herbemont to deal with conflicting function names in windows and Carbon. He said he will send it here. Also, to get the windows to focus, you have to place the executable in an application bundle. I just took one I had sitting around, copied the wine binary over the executable in the bundle and ran it from the commandline like so: /Users/ribrdb/Desktop/winemine.app/Contents/MacOS/CarbonTest winemine
Things are getting busy with work, so I'm not sure when I'll have more time to work on this. <quartzdrv.tar.gz>