Skip to content
Snippets Groups Projects
Commit d7990567 authored by Miller's avatar Miller
Browse files

make sizemarker visible in bft

change the sizemarker in bft with white version
parent a1c090ec
Branches
Tags
No related merge requests found
...@@ -96,7 +96,9 @@ if ( _button == 0 ) exitWith { ...@@ -96,7 +96,9 @@ if ( _button == 0 ) exitWith {
(GVAR(DeviceNamespace) getVariable _target) params ["", "", "", "", "_typeMarker", "_sizeMarker", "_SetUnitName", "", "_SetSR", "_SetLR", "", "", "", "", "", "", "", "", "", "_upperAddMarker", "_lowerAddMarker"]; (GVAR(DeviceNamespace) getVariable _target) params ["", "", "", "", "_typeMarker", "_sizeMarker", "_SetUnitName", "", "_SetSR", "_SetLR", "", "", "", "", "", "", "", "", "", "_upperAddMarker", "_lowerAddMarker"];
(_display getVariable QGVAR(MBFT_unit)) ctrlSetText (getText (configFile >> "CfgMarkers" >> _typeMarker >> "icon")); (_display getVariable QGVAR(MBFT_unit)) ctrlSetText (getText (configFile >> "CfgMarkers" >> _typeMarker >> "icon"));
(_display getVariable QGVAR(MBFT_unit)) ctrlSetTextColor COLOR_BLUEFOR; (_display getVariable QGVAR(MBFT_unit)) ctrlSetTextColor COLOR_BLUEFOR;
(_display getVariable QGVAR(MBFT_unitSize)) ctrlSetText (getText (configFile >> "CfgMarkers" >> _sizeMarker >> "icon")); private _sizeMarkerFile = (getText (configFile >> "CfgMarkers" >> _sizeMarker >> "icon"));
if (!("placeholder" in _sizeMarkerFile)) then {_sizeMarkerFile = _sizeMarkerFile insert [(count _sizeMarkerFile - 7), "_i"]};
(_display getVariable QGVAR(MBFT_unitSize)) ctrlSetText _sizeMarkerFile;
(_display getVariable QGVAR(MBFT_upperAdd)) ctrlSetText (getText (configFile >> "CfgMarkers" >> _upperAddMarker >> "icon")); (_display getVariable QGVAR(MBFT_upperAdd)) ctrlSetText (getText (configFile >> "CfgMarkers" >> _upperAddMarker >> "icon"));
(_display getVariable QGVAR(MBFT_lowerAdd)) ctrlSetText (getText (configFile >> "CfgMarkers" >> _lowerAddMarker >> "icon")); (_display getVariable QGVAR(MBFT_lowerAdd)) ctrlSetText (getText (configFile >> "CfgMarkers" >> _lowerAddMarker >> "icon"));
(_display getVariable QGVAR(MBFT_unitName)) ctrlSetText _SetUnitName; (_display getVariable QGVAR(MBFT_unitName)) ctrlSetText _SetUnitName;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment