Has anyone hacked the VM yet to include scalable/better looking graphics for the dock icons on Mac OS X? Any pointers would be greatly appreciated. _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Michael Lucas Smith made a nice png http://tinyurl.com/5re8ce a while ago, but it doesn't have transparency, so I took it, and made a mask for it you can use. Open the visual.app app bundle, go to the resources folder and edit the MainIcons.icns file with Icon Composer (I think it installs with the xcode stuff). Drop vw.png on the 256 size box and let Icon Composer scale it for the rest. Switch to the mask tab, and drop mask.png on the 256 size box and let Icon Composer scale it for the rest. Save the file and you are done.
Mike On May 2, 2008, at 9:33 PM, Boris Popov wrote:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Okay, that gets me half way there, as per attached, the application icon is now updated and looks great, thanks. The next issue is that minimized windows are using some other resource (probably in-image), but thought I'd ask again in case someone knows the answer before poking around myself. See attached dock.png for a screenshot. _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc dock.png (134K) Download Attachment |
If you have an .icns file, you don't need anything more than the info
viewer on the .app file. Just drop the icns file on the little icon on the top left of the file info viewer (cmd-i to open). -- Travis Griggs Objologist "You A students, you'll be back soon teaching here with me. You B students, you'll actually go on to be real engineers. You C students, you'll go into management and tell the A and B students what to do." - My Fluid Dynamics Professor whom I have yet to disprove _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Yea, I figured as much, but didn't have nicer icons to start with. If you have icns file you can also just copy and paste icons between info screens. Now I want to make minimized windows to look decent but am away for a few hours. _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Boris Popov, DeepCove Labs (SNN)
hah - I notice you have the same issue of inverted docked icons I reported earlier.
2008/5/3 Boris Popov <[hidden email]>:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Boris Popov, DeepCove Labs (SNN)
It is using the icon installed on the window (upside down), which by default are crappy 32x32 icons. You can override Icon class>>defaultIcon and Icon class>>defaultIconMask then call Icon initialize and it will use your new icons. Or if your application installs its own, just install good ones. I have no idea why they're updside down though.
Mike On May 3, 2008, at 11:11 AM, Boris Popov wrote: The next issue is that minimized windows are using some other resource (probably in-image) _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Did exactly that - however I refrained from installing 128x128 (or other sized) icons on the window because I am not sure what that will do to my app on other platforms like windows which doesn't want anything bigger than 32x32. Does anybody know?
And I would like to have some response from Cincom about the upside down issue, at least an acknowledgement the issue is known and maybe AR-ed. Please? As it is it looks unprofessional. 2008/5/3 Mike Hales <[hidden email]>:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
I would recommend to have minimized icons provided by Cocoa/Aqua automatically, which is more helpful for the user (see attached screenshot). In order to make this happen, simply do /not/ set an icon for the window: ScheduledWindow>>icon: anIcon "Set the icon for the receiver to be anIcon." Screen default rendererName == #MacOSX ifTrue:[ ^self ]. "Let OSX create the image itself" icon := anIcon. super icon: anIcon Enjoy. Andre _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Andre,
This is exactly the kind of fix I was looking for, only makes me wonder how such a simple change wouldn't already be in base and make Mac experience so much nicer together with a good looking VM icon.
Again, thanks Andre, Travis, Mike, Rob and all others who had helped me along.
Cheers!
-Boris -- +1.604.689.0322 DeepCove Labs Ltd. 4th floor 595 Howe Street Vancouver, Canada V6C 2T5 [hidden email] CONFIDENTIALITY NOTICE This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments. Thank you. From: [hidden email] on behalf of Andre Schnoor Sent: Sun 5/4/2008 4:56 AM To: Rob Vens Cc: VW NC Subject: Re: [vwnc] [7.6][MacOSX] Better dock icons? I would recommend to have minimized icons provided by Cocoa/Aqua automatically, which is more helpful for the user (see attached screenshot). In order to make this happen, simply do /not/ set an icon for the window:
ScheduledWindow>>icon: anIcon
"Set the icon for the receiver to be anIcon."
Screen default rendererName == #MacOSX
ifTrue:[ ^self ]. "Let OSX create the image itself"
icon := anIcon.
super icon: anIcon
Enjoy.
Andre
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |