Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.

Danger area infill, Label background


Konstantin Gordeev
 Share

Recommended Posts

Konstantin Gordeev
Posted
Posted

Jake, hello!

Could you clarify some questions, please:
1. Is it possible to assign background color for Label?
2. Is it possible to infill danger/restricted area inside RestrictedAreas.xml?
3. Is it possible to assign custom color for radar track?

Thank you!

Link to comment
Share on other sites

Jake Saw
Posted
Posted

Hi!

1. Individual Label Items may have a background colour set using the attribute `BackgroundColour`

2. Yes, set the RestrictedArea `InfillType` attribute to "Normal" (the other option is "Background")

3. It is possible in a plugin (see here)

Jake

Developer - vatSys

image.png.3cc3dde479bc419c580ca959161ce25e.png

Link to comment
Share on other sites

Konstantin Gordeev
Posted
Posted (edited)
On 11/8/2022 at 10:50 PM, Jake Saw said:

Hi!

2. Yes, set the RestrictedArea `InfillType` attribute to "Normal" (the other option is "Background")

Should it be like this? If so, it doesn't work...

<RestrictedArea Type="Restricted" Name="UHP564" AltitudeFloor="0" AltitudeCeiling="56000" DAIWEnabled="true" LinePattern="Solid" InfillType="Normal">
<Area>.....</Area>
</RestrictedArea>

 

On 11/8/2022 at 10:50 PM, Jake Saw said:

Hi!

1. Individual Label Items may have a background colour set using the attribute `BackgroundColour`

Roger. But is it possible to create translucent rectangle for the whole label? 

 

33153_html_m496f9ebe.png

Edited by Konstantin Gordeev
Link to comment
Share on other sites

Jake Saw
Posted
Posted
Quote

InfillType="Normal"

Is correct and should work (provided the restricted area is active)

 

5 hours ago, Konstantin Gordeev said:

Roger. But is it possible to create translucent rectangle for the whole label? 

No

Jake

Developer - vatSys

image.png.3cc3dde479bc419c580ca959161ce25e.png

Link to comment
Share on other sites

Konstantin Gordeev
Posted
Posted (edited)
On 11/11/2022 at 1:03 AM, Jake Saw said:

Is correct and should work (provided the restricted area is active)

I've checked it several times, but there is no infill. Area is active. 

And one more question: is it possible to change link color (line between track symbol and label) and track color?

I've checked AuroraLabelItemsPlugin. It returns Text for LabelItem and CustomColor for the whole label. Can I get an access to the function rendering Track symbol and a line between track and lable? 

Edited by Konstantin Gordeev
Link to comment
Share on other sites

Jake Saw
Posted
Posted
18 hours ago, Konstantin Gordeev said:

I've checked it several times, but there is no infill. Area is active. 

Do you have a border line type selected eg. Solid? I have tested and it definitely works but requires a border line or else the area is not drawn

 

18 hours ago, Konstantin Gordeev said:

And one more question: is it possible to change link color (line between track symbol and label) and track color?

At the moment it’s not possible, I don’t have a timeframe for additions to the plug-in environment since I’m working on vatSysServer at the moment 

Jake

Developer - vatSys

image.png.3cc3dde479bc419c580ca959161ce25e.png

Link to comment
Share on other sites

Konstantin Gordeev
Posted
Posted (edited)
On 11/14/2022 at 6:45 AM, Jake Saw said:

Do you have a border line type selected eg. Solid? I have tested and it definitely works but requires a border line or else the area is not drawn

It seems to me I was unaware how it works. A played with "Normal" and "BackgroundColour" attributes and reveal that all is works good. But I expected it will infill area to the border line color. As I see, it doesn't work so?

 

On 11/14/2022 at 6:45 AM, Jake Saw said:

At the moment it’s not possible, I don’t have a timeframe for additions to the plug-in environment since I’m working on vatSysServer at the moment 

 Watching for this! vatSys is the best solution among ATC clients, Thank you for your work!

P. S. By the way, when do you plan to release vatSysServer? 

Edited by Konstantin Gordeev
Link to comment
Share on other sites

 Share