Real Software Forums
http://forums.realsoftware.com/

Killer Toolbar with Retina Support
http://forums.realsoftware.com/viewtopic.php?f=20&t=46053
Page 1 of 1

Author:  OnlyMac [ Tue Nov 27, 2012 5:34 am ]
Post subject:  Killer Toolbar with Retina Support

Hi,

is there anyone using Killer Toolbar and had success using it with Retina Display?

I'm not sure how to change the code to use doubled scaled garphics if Retina is true

i tried:

if ScalingFactor>1 then // Retina
KillerToolBar1.CreateButton("1","New","",icon_64pix,icon_64pix.Mask,icon_64pix,icon_64pix.Mask,true,true,nil)
else
KillerToolBar1.CreateButton("1","New","",icon_32pix,icon_32pix.Mask,icon_32pix,icon_32pix.Mask,true,true,nil)
end if

but it schales the icon dows

Thanks


Stefan

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/