Matt:  It's great to see Mac FLTK-1.3 becoming cocoa-only!

I have two remarks:

- You've added a comment file in src/gl_draw.cxx
FIXME: no OpenGL Font Selection in Cocoa!
The present code draws openGL text by using the current fl_font, drawing
text to a bitmap, converting this bitmap into a texture, and pasting
this texture on the scene. Any UTF8 string can be drawn in any font
and size. So, I don't think font selection in Cocoa has to be fixed.
All of this code is in function gl_draw_cocoa at the end of the file.

- Two precompiler variables are now in use __APPLE__ and
__APPLE_QUARTZ__. It's much better than before when USE_QUARTZ and
__APPLE_COCOA__ were also in use. But wouldn't just __APPLE__
be enough ? Or would you like to distinguish __APPLE_QUARTZ__
that would be full Mac OS X from __APPLE__ that would be Darwin ?
Or something else ?
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to