[[ ResIndependence ]] and Mac retina displays

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, LCMark

Post Reply
trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 919
Joined: Sat Apr 08, 2006 3:06 pm
Location: Overland Park, Kansas
Contact:

[[ ResIndependence ]] and Mac retina displays

Post by trevordevore » Thu Sep 12, 2013 2:40 pm

I was happy to see that the graphics and resindependence branches were merged into develop. The big question I have is whether or not we will get support for Mac laptop retina displays and Windows desktops set to scale to 150%?

I see in the source that OS X always returns 1.0 for MCResGetDeviceScale() and after testing a couple of things it doesn't look like support is there yet.

Browsing through the Carbon mailing list archives I see that Carbon apps can specify support for retina displays by means of the kHIWindowBitFrameworkScaled window attribute and the NSHighResolutionCapable attribute in the Info.plist.

http://lists.apple.com/archives/carbon- ... 00003.html

So is the RunRev team attempting to add support under carbon (I don't know how much work it is) or is the plan to wait for Cocoa? I'm nearing beta testing for a new product and retina support is very important.

--
Trevor DeVore
Blue Mango Learning Systems
www.clarify-it.com - www.screensteps.com
Trevor DeVore
ScreenSteps - http://www.screensteps.com

Levure Application Framework: https://github.com/trevordevore/levure
LiveCode Resources for Developers: http://livecode.bluemangolearning.com

trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 919
Joined: Sat Apr 08, 2006 3:06 pm
Location: Overland Park, Kansas
Contact:

Re: [[ ResIndependence ]] and Mac retina displays

Post by trevordevore » Thu Sep 12, 2013 8:06 pm

I see that the release notes for 6.5 dp-1 address this. The answer is no desktop retain support yet, but it is coming.
Trevor DeVore
ScreenSteps - http://www.screensteps.com

Levure Application Framework: https://github.com/trevordevore/levure
LiveCode Resources for Developers: http://livecode.bluemangolearning.com

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6236
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: [[ ResIndependence ]] and Mac retina displays

Post by FourthWorld » Thu Sep 12, 2013 8:28 pm

Yes, very exciting, esp. how this enables support for image rendering in the server engine down the road.

But there is one notable absence from the notes: right now all scaling options appear to affect the entire card - any plans to allow us to have independently-scalable groups?

If we could employ the scaling engine to groups, we could easily add zoomable canvases for custom layout and drawing apps, leaving other controls in the window at their native size.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1561
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: [[ ResIndependence ]] and Mac retina displays

Post by monte » Thu Sep 12, 2013 10:05 pm

@FourthWorld I asked recently if we would have the possibility to apply a affine transformation to any object and the answer was no so I suspect groups fall into that category, however, seeing as I assume it's the contents you want to scale not the group itself it may be a different scenario to what I was proposing.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 919
Joined: Sat Apr 08, 2006 3:06 pm
Location: Overland Park, Kansas
Contact:

Re: [[ ResIndependence ]] and Mac retina displays

Post by trevordevore » Thu Sep 12, 2013 11:49 pm

Being able to set a scaling factor for a group would be fantastic. I could definitely use that.
Trevor DeVore
ScreenSteps - http://www.screensteps.com

Levure Application Framework: https://github.com/trevordevore/levure
LiveCode Resources for Developers: http://livecode.bluemangolearning.com

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1561
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: [[ ResIndependence ]] and Mac retina displays

Post by monte » Fri Sep 13, 2013 12:20 am

We all could, I was hoping affine transformations on fields, images and graphics would bring us much better scaling and rotation options. Here's my question and the response: http://forums.runrev.com/viewtopic.php?f=66&t=16617
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Post Reply

Return to “Engine Contributors”