Mercurial > dwindows
view makefile.wpm @ 909:c092eab43ae3
Experimental change to pixmap rendering. Switch from using NSImage to NSBitmapImageRef to store the image.
This is closer to the core backing store used to display images. Using this I was able to avoid using lockFocus
on the images and instead set the graphics context manually allowing us to draw directly on the backing image.
However NSBitmapImageRef is a more simple format and didn't work with the flipped Y axis... so...
I had to perform some voodoo to get the flipping to work with the graphics context. Not sure it is 100% right.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 20 Apr 2011 14:09:00 +0000 |
parents | 75bf3051235f |
children | 56f311dc23f6 |
line wrap: on
line source
#=================================================================== # # Auto-dependency information # #=================================================================== OS22_H = $(%WATCOM)\h\os2 CFLAGS = -i=os2 -i=$(OS22_H) -bt=OS2 -zq -d2 -bd .SUFFIXES: .SUFFIXES: .obj .c .c.obj: .AUTODEPEND wcc386 $(CFLAGS) $*.c all: dw.dll dwcompat.dll dwcompat.dll: compat.obj wlink name dwcompat.dll system os2v2_pm d a library so32dll,tcp32dll option symf f $[@ dw.dll: dw.obj wlink name dw.dll system os2v2_pm d a option symf f $[@ dw.obj: os2\dw.c wcc386 $(CFLAGS) os2\dw.c