diff --git a/Aircraft AH-64D Plugin/Gauges/CMWS/CMWSDisplay.cs b/Aircraft AH-64D Plugin/Gauges/CMWS/CMWSDisplay.cs index c4ad166b..f030dfb5 100644 --- a/Aircraft AH-64D Plugin/Gauges/CMWS/CMWSDisplay.cs +++ b/Aircraft AH-64D Plugin/Gauges/CMWS/CMWSDisplay.cs @@ -46,9 +46,8 @@ public CMWSDisplay() _displayBackgroundPanel.DrawBorder = false; AddCMWSPart("Threat Display", new Point(326d, 29d), new Size(110d, 110d), _interfaceDeviceName, "CMWS Threat Display"); - AddTextDisplay("Line 1", new Point(206d, 29d), new Size(144d, 55d), _interfaceDeviceName, "Line 1", 26, "F OUT", TextHorizontalAlignment.Left, ""); - AddTextDisplay("Line 2", new Point(206d, 84d), new Size(144d, 55d), _interfaceDeviceName, "Line 2", 26, "C OUT", TextHorizontalAlignment.Left, ""); - + AddTextDisplay("Line 1", new Point(206d, 29d), new Size(180d, 55d), _interfaceDeviceName, "Line 1", 26, "FOUT", TextHorizontalAlignment.Left, @"0={;6=|;9=}"); + AddTextDisplay("Line 2", new Point(206d, 84d), new Size(180d, 55d), _interfaceDeviceName, "Line 2", 26, "COUT", TextHorizontalAlignment.Left, @"0={;6=|;9=}"); _frameGlassPanel = AddPanel("CMWS Glass", new Point(206, 29), new Size(230d, 110d), "{AH-64D}/Images/MFD/MFD_glass.png", _interfaceDeviceName); _frameGlassPanel.Opacity = 0.3d; _frameGlassPanel.DrawBorder = false; diff --git a/Aircraft AH-64D Plugin/Interfaces/ExportFunctions.lua b/Aircraft AH-64D Plugin/Interfaces/ExportFunctions.lua index c0f19f86..cf51f729 100644 --- a/Aircraft AH-64D Plugin/Interfaces/ExportFunctions.lua +++ b/Aircraft AH-64D Plugin/Interfaces/ExportFunctions.lua @@ -26,8 +26,8 @@ function driver.processLowImportance(mainPanelDevice) li = helios.parseIndication(24) -- 24 CMWS Unit if li then if li["#83#"] and li["#83#"] ~= "" then -- Chaff & Flares - helios.send(2082, string.format("%1s %s", helios.ensureString(li["#83#"]), helios.ensureString(li["#85#"]))) - helios.send(2083, string.format("%1s %s", helios.ensureString(li["#84#"]), helios.ensureString(li["#86#"]))) + helios.send(2082, string.format("%1s%-3s", helios.ensureString(li["#83#"]), helios.ensureString(li["#85#"]))) + helios.send(2083, string.format("%1s%-3s", helios.ensureString(li["#84#"]), helios.ensureString(li["#86#"]))) -- The CMWS flags are held in variables which either are declared or not, and when the exist, they are an empty string helios.send(2084, string.format("%0.1f", li["#87#"] and 1 or 0)) -- Ready (this seems to have an inverse which is #89#) helios.send(2085, string.format("%0.1f", li["#88#"] and 1 or 0)) -- Dispense (this seems to have an inverse which is #90#) diff --git a/Helios/Fonts/A-10C_ALQ_213.ttf b/Helios/Fonts/A-10C_ALQ_213.ttf index 390c41e8..c9b09ab5 100644 Binary files a/Helios/Fonts/A-10C_ALQ_213.ttf and b/Helios/Fonts/A-10C_ALQ_213.ttf differ