Mapping pop-up windows

FSSC, Airport 2.*, CfgEdit, etc. Get to grips with designing Scenery & Panels here!

Re: Mapping pop-up windows

Postby H » Wed Feb 01, 2006 4:59 am

I'm still wondering whether what you're trying to do is necessary.
Only for the fact that he wants the window selectable rather than permanently displayed; he should also be able to reposition it on the screen with his mouse.
Last edited by H on Wed Feb 01, 2006 5:08 am, edited 1 time in total.
H
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5525
Joined: Fri May 27, 2005 1:27 am
Location: NH, USA

Re: Mapping pop-up windows

Postby dsdawson » Sun Feb 12, 2006 6:35 pm

size x,y and postion x,y.  Now, those figures are always whole numbers like 1-999 for instance.  Now, when youy look at the size and postion co-ordinates of a pop-up window, they ARE different.  How?  They are in a decimal notation. IE:
window_size= 0.xxx, 0.xxx
window_pos= 0.xxx, 0,xxx  


These fractional values are relative to the main panel window.  For instance:
window_size= 0.25, 0.30
window_pos= 0.4, 0,45
With these values, your popup window will be 25% of the width and 30% of the height of the screen.
It will be positioned at  point (measured at its upper left corner) 40% of the way across the screen (from left) and 45% of the way down the screen.

Doug
dsdawson
Ground hog
Ground hog
 
Posts: 26
Joined: Sun Feb 12, 2006 6:33 pm

Previous

Return to Scenery & Panel Design

Who is online

Users browsing this forum: No registered users and 528 guests