mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
25 lines
490 B
Plaintext
25 lines
490 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: mharis001
|
|
* Handles the mouse button up event for an intel control.
|
|
*
|
|
* Arguments:
|
|
* 0: Header control <CONTROL>
|
|
* 1: Button <NUMBER>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [CONTROL, 0] call ace_intelitems_fnc_onMouseButtonUp
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["_ctrlHeader", "_button"];
|
|
|
|
if (_button != 0) exitWith {};
|
|
|
|
private _controlsGroup = ctrlParentControlsGroup _ctrlHeader;
|
|
_controlsGroup setVariable [QGVAR(clickPos), nil];
|