Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Dec 14, 2017 11:39 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Killer Toolbar with Retina Support
PostPosted: Tue Nov 27, 2012 5:34 am 
Offline

Joined: Mon Jan 09, 2006 12:34 pm
Posts: 59
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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group