Make voice level icons in radar independent from other voice level icons

Ansariel 2014-09-03 16:23:21 +02:00
parent 25f05442d0
commit 50ca9f552f
2 changed files with 11 additions and 5 deletions

View File

@ -558,19 +558,19 @@ void FSRadar::updateRadarList()
switch (power_level)
{
case VPL_PTT_Off:
entry["voice_level_icon"] = "VoicePTT_Off";
entry["voice_level_icon"] = "Radar_VoicePTT_Off";
break;
case VPL_PTT_On:
entry["voice_level_icon"] = "VoicePTT_On";
entry["voice_level_icon"] = "Radar_VoicePTT_On";
break;
case VPL_Level1:
entry["voice_level_icon"] = "VoicePTT_Lvl1";
entry["voice_level_icon"] = "Radar_VoicePTT_Lvl1";
break;
case VPL_Level2:
entry["voice_level_icon"] = "VoicePTT_Lvl2";
entry["voice_level_icon"] = "Radar_VoicePTT_Lvl2";
break;
case VPL_Level3:
entry["voice_level_icon"] = "VoicePTT_Lvl3";
entry["voice_level_icon"] = "Radar_VoicePTT_Lvl3";
break;
default:
break;

View File

@ -805,6 +805,12 @@ with the same filename but different name
<texture name="VoicePTT_On_Dark" file_name="bottomtray/VoicePTT_On_Dark.png" preload="false" />
<!-- END FS:Ansariel [FS communication UI] -->
<texture name="Radar_VoicePTT_Lvl1" file_name="bottomtray/VoicePTT_Lvl1.png" preload="false" />
<texture name="Radar_VoicePTT_Lvl2" file_name="bottomtray/VoicePTT_Lvl2.png" preload="false" />
<texture name="Radar_VoicePTT_Lvl3" file_name="bottomtray/VoicePTT_Lvl3.png" preload="false" />
<texture name="Radar_VoicePTT_Off" file_name="bottomtray/VoicePTT_Off.png" preload="false" />
<texture name="Radar_VoicePTT_On" file_name="bottomtray/VoicePTT_On.png" preload="false" />
<texture name="Wearables_Divider" file_name="windows/Wearables_Divider.png" preload="false" />
<texture name="Web_Profile_Off" file_name="icons/Web_Profile_Off.png" preload="false" />