Skip to content

Commit

Permalink
File formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Migoyan committed Apr 14, 2022
1 parent 447a387 commit 7ae445d
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion gdc_marker_filter/functions/fn_restoreCtrlState.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
//restore BtnMrkFilter state
_btn = uiNamespace getVariable "BtnMrkFilter";
_btnTextColor = uiNamespace getVariable "BtnState";
_btnTextColor = _btn ctrlSetTextColor _btnTextColor;
_btnTextColor = _btn ctrlSetTextColor _btnTextColor;
2 changes: 1 addition & 1 deletion gdc_marker_filter/functions/fn_saveCtrlState.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ tbCtrlStateA = [];
//save BtnMrkFilter state
_btn = uiNamespace getVariable "BtnMrkFilter";
_btnTextColor = ctrlTextColor _btn;
uiNamespace setVariable ["BtnState", _btnTextColor];
uiNamespace setVariable ["BtnState", _btnTextColor];
2 changes: 0 additions & 2 deletions gdc_marker_filter/functions/fn_setBtnState.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ if (_isFilterActive) then {
} else {
_btn ctrlSetTextColor [1,1,1,1];
}


2 changes: 1 addition & 1 deletion gdc_marker_filter/functions/fn_setChkState.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ private _chk = objNull;
{
_chk = uiNameSpace getVariable _x;
_chk cbSetChecked _state
} forEach _tbChk;
} forEach _tbChk;
2 changes: 1 addition & 1 deletion gdc_marker_filter/functions/index.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ class gdc_mrkFilter
class saveCtrlState {};
class restoreCtrlState {};
class setBtnState {};
};
};
2 changes: 1 addition & 1 deletion gdc_marker_filter/ui/gdc_btnMrkFilter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ class gdc_btnMrkFilter: RscActiveText
tooltip = "Filtrer les marqueurs";
onButtonClick = "";
onLoad = "";
};
};
2 changes: 1 addition & 1 deletion gdc_marker_filter/ui/gdc_ctrlMrkFilter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,4 @@ class gdc_MrkFilter_grp: RscControlsGroup
onCheckedChanged = "[tbMrkPlayer, cbChecked (_this#0)] call gdc_fnc_filterMarker;";
};
};
};
};

0 comments on commit 7ae445d

Please sign in to comment.