Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
panel design questions (Read 229 times)
Jul 10th, 2003 at 2:45pm
wish_bear   Guest

 
I have been reading through the SDK on panels & gauges- I have a couple questions:

example
BMP_ATTITUDE-SMALL-BACKGROUND          0X1100
BMP_ATTITUDE-SMALL-CARD1                     0X1101
I know that the 1101 file is the mask-  what are the masks used for and how do you create them?

example
gauge04=FAF.tgt!TGT, 949, 732, 83, 79
gauge15=HW_DME,   101, 787, 127
Where do you get the X, Y, W, H numbers from? Why do some gauges use only 3 numbers- I am assuming it is X, Y- but what is the third number?

Could someone explain what a callback is?

I have more questions to come Smiley as I want to be able top make my own panels from scratch...
Thanks
Wish_bear
 
IP Logged
 
Reply #1 - Jul 10th, 2003 at 6:25pm

fisharno   Offline
Colonel
Your basic Forum Rat
Reno, Nv

Gender: male
Posts: 626
*****
 
W_B;

I think what the "mask" is refering to is the frame around the gauge, called the Bezel. Normally, they're simply drawn in a paint program in an 8 bit, 256 color format, and used with the gauge.
It is possible to "borrow" one from another panel and edit it to change the color or texture. But, this must be done in whatever paint program you use.

The x, y numbers are referenced at the bottom of the FS Panel Studio, or CfgEdit window. These are the coordinances that the program plots to show where on your panel a gauge is placed. Normally 2 numbers, x=vertical placement and y=horizontal placement. (Hopefully, I don't have that backwards). Embarrassed
I think your W, H, numbers are the width and height of your gauge, in pixels.
The third number is the size of the gauge, as it's displayed on your panel.

And, I'm not sure what you mean by "callback". I can't say I've ever seen that.

What panel editor are you using? I use FS Panel Studio.
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print