CAPTAIN SIM FORUM
CS Weather Radar >> CS Weather Radar >> weather radar on top
https://www.captainsim.org/forum/csf.pl?num=1295184160

Message started by Tessel on Jan 16th, 2011 at 1:22pm

Title: weather radar on top
Post by Tessel on Jan 16th, 2011 at 1:22pm
Hello,
Is there a way to put the weather radar on top op the panel? (another company)
I have to undock the window all the time to get it visual.

Regards,
tessel

Title: Re: weather radar on top
Post by Markoz on Jan 16th, 2011 at 5:43pm
Hi tessel

I'm not quite sure what I follow what you mean, but I'll try. You can change the location on the screen that it will appear by editing the panel.cfg. Here is the entry for the CS Weather Radar in the default C172:

[Window07]
size_mm=525,386
window_size=0.44
position=2
background_color=1,1,1
visible=0
ident=11223
zorder=1
gauge00=WXR!wr_display, 81,32,364,279
gauge01=Captain_Sim.r001.P04!P04_radar, 0,0,525,386


The line you edit is position=2 And the location is as listed:

0 = Top left corner,      1 = Top center,     2 = Top right corner
3 = Center left side,     4 = Center,           5 = Center right side
6 = Bottom left corner, 7 = Bottom center, 8 = Bottom right corner

Always backup the file you are going to make modifications to FIRST!

Hope this helps.

Mark

Title: Re: weather radar on top
Post by Tessel on Jan 23rd, 2011 at 11:36pm
Hello Marc

Here is a screenshot how it is:


As you see its behind the main panel of the LD767
And i would like it on top op the main window.

Here are my current settings:
[Window41]
size_mm=525,386
window_size=0,44
position=2
background_color=1,1,1
visible=1
ident=11223
zorder=1
gauge00=WXR!wr_display, 81,32,364,279
gauge01=Captain_Sim.r001.P04!P04_radar, 0,0,525,386

Regards,
Nico

Title: Re: weather radar on top
Post by Markoz on Jan 24th, 2011 at 4:30am

Tessel wrote on Jan 23rd, 2011 at 11:36pm:
As you see its behind the main panel of the LD767
And i would like it on top op the main window.

Here are my current settings:
[Window41]
size_mm=525,386
window_size=0,44
position=2
background_color=1,1,1
visible=1
ident=11223
zorder=1
gauge00=WXR!wr_display, 81,32,364,279
gauge01=Captain_Sim.r001.P04!P04_radar, 0,0,525,386

Regards,
Nico

Hi Nico.

I tested it in my "Other" 767. I changed the zorder value to 100. Like this:

[Window11]
size_mm=525,386
window_size=0.44
position=2
background_color=1,1,1
visible=0
ident=11223
zorder=100
gauge00=WXR!wr_display, 81,32,364,279
gauge01=Captain_Sim.r001.P04!P04_radar, 0,0,525,386


The higher the value of the zorder, the more important, and so it gets precedence over the lower values.

From the SDK help file:   zorder - Determines the order of appearance of the panels on the screen. Takes values from 0 (bottom) to 100 (top).

This should make the CS WxR appear ON TOP of the Main 2D Panel. Like it has in mine:


Hope this helps.

Mark

CAPTAIN SIM FORUM » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.