Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Retina graphics and related fixes #17
As a little (split) weekend project I’ve updated all images used in the GUI of CoRD for HiDPI/retina. As I did not find the original artwork until way to late I have re-created each image (except the clock image which I just scaled as I couldn’t manage to get it to show in the UI). I tried to make the new images somewhat similair to the old but they do deviate.
I also changed the next/previous standalone buttons into a single segmented button with template images.
Furthermore I’ve made a new application icon which contains all the sizes required of an icon on OS X and then used this as a base for the new document icons. The new application and document icons use the new iconset format which means that Xcode 4.4 will probably be required to compile the project. Xcode 4.3 might work but I haven’t tested.
It should probably be noted that this does not fix all issues with HiDPI I’ve encountered (such as moving an active session to a HiDPI screen and then back again, the window shrinks :-))
- No need to append ".png", NSImage will do this (or any other extension, such as .tiff) by itself if needed. Signed-off-by: Aron Cedercrantz <email@example.com>
- Changed the field to be bordered which solved the issue. Signed-off-by: Aron Cedercrantz <firstname.lastname@example.org>
- As no PSD were available I had to remake it from scratch, will have to do the same with all other images. Signed-off-by: Aron Cedercrantz <email@example.com>
- This meant not just replacing the old images but also re-creating the buttons in Interface Builder. They are now inside a segmented button instead of two separate butcons. Signed-off-by: Aron Cedercrantz <firstname.lastname@example.org>
- The new icon works with HiDPI. - Now uses the modern `.iconset` format, which I believe requires Xcode 4.4. - Xcode also decided that almost all key-value paris had to be re-arranged… Signed-off-by: Aron Cedercrantz <email@example.com>
The @1x images have been optimised a slight bit (the shapes were snapped to pixels during the output phase). I haven’t checked how it looks with just the @2x images (rescaled by Cocoa) though so that might look better? (Hope not, as that would mean I wasted time re-scaling images :-))
Glad you liked them and seeing them merged!