Page 1 of 1

Display in native resolution on Android

Posted: Sat Sep 17, 2016 12:01 am
by zylesea
I am looking for a solution to open a display in the actual device's native resolution.
I tried with getattributes to read out the resolution and open a display with according values then. But this does not seem to work (@DISPLAY does not like variables (preprocessor...) and with createdisplay it doesn't work, too).
A tag "native" for height and width would be handy.

Re: Display in native resolution on Android

Posted: Sun Sep 18, 2016 3:54 pm
by airsoftsoftwair
I agree that a #NATIVE constant for Width and Height would be really handy. I'll think about it. Until then, just follow the steps described here:
http://forums.hollywood-mal.com/viewtop ... =10&t=1386

Re: Display in native resolution on Android

Posted: Tue Sep 20, 2016 8:46 pm
by airsoftsoftwair

Code: Select all

- New: @DISPLAY, CreateDisplay(), ChangeDisplaySize() and SetDisplayAttributes() accept the new
  special constant #NATIVE now for their Width/Height/ScaleWidth/ScaleHeight parameters; if this
  constant is used, Hollywood will use the width or height of the display's monitor as the display
  width/height; this is especially useful on Android