Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Dumb newbie question (Read 1434 times)
Mar 14th, 2003 at 3:04am

WebbPA   Ex Member
I Like Flight Simulation!

*
 
Would a kind panel designer whiz mind educating me?  I want to move the Lear default GPS window from the right (covering up all the buttons, etc.) to here.  The original coordinates (default) are :

[Window02]
size_mm=150,250
position=8
BACKGROUND_COLOR=16,16,16
VISIBLE=0
ident=GPS_PANEL

gauge00=gps!gps,0,0,150,250

which is pretty much gibberish to me.  Any help would be appreciated.


Hmmm... can't figure out how to insert the picture, anyway, what I want to do is move it and resize it so it covers up the engine gauges in the middle. More simply, what do

size_mm=150,250
position=8

do?  I have a vague idea of bitmapping coordinates.
 
IP Logged
 
Reply #1 - Mar 14th, 2003 at 3:19am

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
The secret is in the position= line.
This can be numbered from 0 thru 8. The pop-up window will display like this.

0      1       2

3      4       5

6      7       8

To resize the pop-up window + gauge add this line

windowsize_ratio=

The default value is 1.0. Use any ratio you wish. 0.5 will reduce it by half, 2.0 will double it.

http://www.simviation.com/lair/AddGPS.htm
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Reply #2 - Mar 14th, 2003 at 3:41am

WebbPA   Ex Member
I Like Flight Simulation!

*
 
Thanks, I'll poke around with that and see what I can do.  But a picture is worth a thousand words - how can I upload a picture?  Do I have to post it on my own site then link to it?
 
IP Logged
 
Reply #3 - Mar 14th, 2003 at 3:45am

BFMF   Offline
Colonel
Pacific Northwest

Gender: male
Posts: 19820
*****
 
Just click on 'Upload Images' at the top of the forum webpage under the banners where you can upload your images, then you can link to them Wink
 
IP Logged
 
Reply #4 - Mar 14th, 2003 at 3:58am

WebbPA   Ex Member
I Like Flight Simulation!

*
 
There we go. ...

So how do I make it permanent?
 
IP Logged
 
Reply #5 - Mar 14th, 2003 at 5:06am

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
Well I thought my description + the little tute would explain it. It's really not difficult. Try this.

[Window02]
size_mm=150,250
windowsize_ratio=2.0

position=
7

BACKGROUND_COLOR=16,16,16
VISIBLE=0
ident=GPS_PANEL

gauge00=gps!gps,0,0,150,250

I marked the modified Panel.cfg entries/values in
red
. You will need to experiment with the ratio.
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Reply #6 - Mar 14th, 2003 at 2:05pm

WebbPA   Ex Member
I Like Flight Simulation!

*
 
Thanks.  I'lll let you know how it works out.
 
IP Logged
 
Reply #7 - Mar 14th, 2003 at 2:21pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
I showed you the "quick & dirty" method. It usually does the trick. An exact fit as in your shot is a tad more complicated. The size of the window is defined in the size_mm= line. This matches the size of the gauge. The values are in pixels, horizontally & vertically.
You can change the depth of the gauge + window like this. Again, you will need to experiment with the value.

[Window02] 
size_mm=150,
200

windowsize_ratio=2.0 
position=7
BACKGROUND_COLOR=16,16,16 
VISIBLE=0 
ident=GPS_PANEL 
 
gauge00=gps!gps,0,0,150,
200
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Reply #8 - Mar 14th, 2003 at 3:52pm

WebbPA   Ex Member
I Like Flight Simulation!

*
 
I futzed around for a few minutes and was able to produce this.  2.0 ratio was way too big.  Position 7 seems to leave it in the middle of the screen no matter what else I do.  Since I accomplished my original goal of moving it so it doesn't cover the buttons I should be happy.

[Window02]   
size_mm=224,247 
windowsize_ratio=.85   
position=7 
BACKGROUND_COLOR=16,16,16   
VISIBLE=0   
ident=GPS_PANEL   
   
gauge00=gps!gps,0,0,224,247

...
 
IP Logged
 
Reply #9 - Mar 14th, 2003 at 4:03pm

WebbPA   Ex Member
I Like Flight Simulation!

*
 
Here's the picture.

...
 
IP Logged
 
Reply #10 - Mar 14th, 2003 at 4:24pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
OK. As long as you're happy.  Wink
The position= line is actually a left-over from FS98 still used on the M$ default panels. The positions are left right or centre as I tried to show in the little table in my first reply. That's what I meant by "quick & dirty".

It is possible to position a pop-up window more accurately but that's much more complicated. If you wished to do that it would be easier to use a panel design program.
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print