how to get AUTOSCALE to work right from beginning

Discuss any general programming issues here
Post Reply
Bugala
Posts: 1400
Joined: Sun Feb 14, 2010 7:11 pm

how to get AUTOSCALE to work right from beginning

Post by Bugala »

heres the problem:

I can set autoscale on, and it works.

However if i right at start of program try to open 1920x1080 with @DISPLAY, then even i set it to AUTOSCALE, it refuses to open it.

I can easily get round this problem by opening first 800x600 @DISPLAY and then loadin 1920x1080 picxture at which point it autoimatically changes display to 1920x1080 and fits it to the screen usin autoscale if i dont have that big screen available.

But it would be much more handy if i could just open the 1920x1080 with autoscale already at beginning and it would itself scale to the right size if that option is not available.

And athough this is designer problem, i mention this one here too:

For when i had this program that is planning to open 1920x1080 display when clicking some certain button in program,. When i try to run this program designer starts already complaining about that part that there is no such screen available, even i am usin autoscale on it.

Is it possible to get over these problems somehow?
User avatar
airsoftsoftwair
Posts: 5887
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: how to get AUTOSCALE to work right from beginning

Post by airsoftsoftwair »

It's possible. Simply use the -autoscale, -scalewidth and -scaleheight console arguments instead of the tags in @DISPLAY. Then it should work.
Post Reply