Page 1 of 1

Guages panel question?

PostPosted: Mon Aug 30, 2004 4:56 pm
by codered
I am a novist when it comes to editing panels.  I am able to add gauges and remove them just fine.  However, there is a set of numbers after the guage name that does not make sense to me.  For example
Gauge01= C172adi, 123, 456, 789, 012

What do the last set of four numbers mean in the series above. and how do I use them?  I am sure it is size of the gauge and location.  I am not sure which is which.  Would you please tell me?

Thank you very much. ;D

Re: Guages panel question?

PostPosted: Mon Aug 30, 2004 5:29 pm
by WebbPA
In the example you used:

C172adi = name of gauge file

123 = location of left edge of gauge in pixels from the left edge of the screen

456 = location of upper edge of gauge in pixels from the top of the screen

(for both of these values, just think "upper left corner")

789 = width of gauge in pixels

012 = height of gauge in pixels

You might want to get http://www.cfgedit.com to help with panel design.

Re: Guages panel question?

PostPosted: Tue Aug 31, 2004 10:52 am
by codered
Thanks Webb.  That really helps out... ;D

Re: Guages panel question?

PostPosted: Tue Aug 31, 2004 1:13 pm
by CaptKeltic
The numbers following the gauge file name are parameters passed to main program.

The first two sets of numbers are the location (x,y) of the gauges upper left corner in relation to the panels bmp ( from its upper left corner)

The second two sets tell the progam what size you want the gauge to be, again in x,y format

any addingtion numbers are specific to the gauge itself.  They might be the engine or fueltank number the gauge referances.  On a airspeed gauge it might set the redline. It could be almost anything.  If there is not documentation on the gauge about all you do is install it and play around with the numbers to see what effect they have