Sample Carbon application extended
I extended my sample Carbon application (as described here
). The new application contains
one resource in two languages (see Bundle
for more details) - the OpenOffice.org intro bitmap for English language and
the same bitmap with the additional text "German" drawn over it for German language.
shows the bitmap
resource according to the language of the user interface (the picture shows "English" version
without drawn text) and draws black rectangle in the bottom part of the image just to test drawing
over image in the same graphic context (see Quartz
2D Programming Guide
for more details on drawing).
contains also target
that prepares bundle and run the
application from within the bundle but still in your terminal so you can watch stderr messages in
the terminal instead of the console log which is very convenient for debugging.
I'd like to thank Tino who pointed me at the right direction. From now on, I'll always search
quartz-dev list first ;-)