Quote:For example i want to open an radar window (window 04 ID 99 ) What i need to change in the code ?
Here's snippets of one of my panel.cfg files for a B757 which
uses an existing "IFR" icon to toggle a window to display the
F16 radar gauge. You should be able to find the "cpt.icons.cab"
file online if you don't already have it in you "gauges" folder.
//---------------------------------------------------------
[Window Titles]
Window00=Main-Panel
Window01=GPS
Window02=OVERHEAD
Window03=RADAR //<---- ID's the added RADAR window
[Window00]
file=757main.bmp
............
gauge76=cpt.icons!IFR, 950,584,19,19 //<--- ICON to toggle the RADAR window
..........
[Window03]
file=RADAR.bmp
file_1024=RADAR.bmp
size_mm=264
window_size_ratio=1.000
position=0
visible=0
ident=IFR_MAIN_PANEL //<--- the "IFR" icon relates to this ident
window_size= 0.170, 0.230
window_pos= 0.750, 0.640
gauge00=F16!Radar, 12,26,244,187
gauge01=F16!Radar Mode, 41,251,59,20
gauge02=F16!Radar Range, 156,251,59,20
//------------------------------------------------------
Hope this helps. I also have created my own icons to toggle the
radar and TCAS windows, among others, using different IDENT
codes. If the above method doesn't suit your needs I can give
you the xml code/bmp files to do it.
Paul