Page 1 of 1

Detect hidpi (retina)

Posted: Thu Dec 27, 2018 1:18 pm
by Krzysztof
Hello,

is there a way to detect whether the program has been launched on Retina (HiDPI) screen? I'm interested in solution for Hollywood 7.1 on macOS. I think I could prepare a plugin to get backingScaleFactor property of NSWindow class, but is there any ready solution in Hollywood?

Re: Detect hidpi (retina)

Posted: Thu Dec 27, 2018 2:37 pm
by airsoftsoftwair
Yes, you can get this information from #ATTRHOSTSCALEX and #ATTRHOSTSCALEY for #DISPLAY.

Re: Detect hidpi (retina)

Posted: Thu Dec 27, 2018 3:19 pm
by Krzysztof
Thanks!