« Shared FileMaker Serv… | Home | My Case Study »

Toolbars with retina icons in Xojo

For next prerelease we got a nice example to show how to get an image with retina awareness in the toolbar:


We put two images together in one NSImage. The green one is retina (2x) and the blue one is the normal one (1x). Depending on the screen, the icon will switch automatically. The example uses different colors to show the change. Of course you should use the same icon in different resolutions.
23 10 15 - 19:40