Jump to content

Window positions in instrument panel


beroun
 Share

Recommended Posts

Hi, can someone please remind me which numbers represent which position in in regular 2D instrument panel windows.

Got the below throttles in bottom center (position=7) and want to see how it looks elsewhere.

 

[Window13]

file=THROTTLES.bmp

position=7

 

I know the info is somewhere, but did not have enough patience to search thoroughly. Apologies!

Many Thanks

Peter

Peter Bendl

ex. British Airways

Link to comment
Share on other sites

The box is numbered as:

 

012

345

678

 

You can also use the following to both size and accurately position a window anywhere you like. You just have to play with the numbers, but once you get the hang of it you can do a lot.

 

window_size= 0.480, 0.380

window_pos= 0.520, 0.620

Larry
Link to comment
Share on other sites

The box is numbered as:

 

012

345

678

 

You can also use the following to both size and accurately position a window anywhere you like. You just have to play with the numbers, but once you get the hang of it you can do a lot.

 

window_size= 0.480, 0.380

window_pos= 0.520, 0.620

 

Thanks, Larry! I always forget to start with Zero!

Still thinking about a new flightsim only computer!  ✈️

Link to comment
Share on other sites

You can also use the following to both size and accurately position a window anywhere you like. You just have to play with the numbers, but once you get the hang of it you can do a lot.

 

window_size= 0.480, 0.380

window_pos= 0.520, 0.620

 

You don't really have to play with the numbers, you can calculate it to the pixel. Say you're gauge background is 533px x 214px and you're running 1920 x 1080 screen resolution. Take the width (533) divided by 1920 and you get 0.2776041666666667. Now take the height (214) divided by 1080 and you get 0.1981481481481481. You can then use window_size=0.278, 0.198, it will come out plenty close enough.

 

Obviously if you're placing multiple gauges on a particular window (like a radio stack for example) you'll need to use the total width & height of all the gauges combined to do these calculations.

 

For the position you need to take a screenshot of your panel at the full 1920 x 1080 resolution. (I think you can even do this in MS Paint) Then make a selection box 533px wide and 214px tall. Move it around on the screenshot, put it where you want it, then fill it with a color (or just paste the gauge background as a layer if you're doing this in PhotoShop, Gimp, PSP, etc.) Now make another selection from the top left corner of the fill rectangle all the way up to the top left corner of your background screenshot. Note the selection's size. Say it comes out 1154px x 793px. Do the math again, 1154/1920=0.6010416666666667 and 793/1080=0.7342592592592593. Use window_pos=0.60, 0.734.

 

Saves a lot of guesswork, trial & error, you can nail it on the first try.

 

Jim

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...