Whoops! I forgot two things:
First, one more 'issue' I noticed. I played with the Mac's language
setting ("System Preferences" -> "International" -> "Language"),
but Tux Paint seemed to ignore them. Do Macs use a different way
(not $LANG or $LANGUAGE environment variable) to tell applications what
language to display in? If so, I'm more than happy to add code to
Tux Paint (and do "#ifdef __APPLE__"/"#endif" around it) to get it working.
Secondly, regarding the mouse pointers... I use 32x32 pointers, which
work fine under Linux and Windows, but not under OS X. In the past,
Darrell Walliser apparently used some Quartz code to scale them down to 16x16,
but I guess I never got the code from him.
So, what I did last night was create a whole set of 16x16 pointers to help
speed up the OS X release. They're in "src/mouse/16x16/".
Under Linux, you can get them by building Tux Paint with:
make MOUSEDIR=mouse/16x16 CURSOR_SHAPES=SMALL
This ends up setting "src/mouse/16x16" as an #include directory,
and then lines like: '#include "paintbrush.xbm"' are used to include the XBMs.
It also ends up causing "SMALL_CURSOR_SHAPES" to be defined ("gcc -D..."),
which makes Tux Paint scale the pointer hotspots by 1/2, so they'll work
correctly with the smaller shapes.
Thanks! :)
-bill!
(I'll send one more mail in a moment, regarding 'tuxpaint-config',
the FLTK-based app that we also need built for Mac OS X!)
_______________________________________________
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev