ACE3/TO_MERGE/cse/gui/radialmenu/fn_openRadialMenu_gui.sqf
Thomas Kooi db6f30fcc9 Added cse_gui source
Does not include the Icon pack. When using the UI it may throw up some missing .paa file errors. Replacements will need to be found if we want to use those.
2015-01-12 23:23:51 +01:00

22 lines
614 B
Plaintext

/**
* fn_openRadialMenu_gui.sqf
* @Descr: N/A
* @Author: Glowbal
*
* @Arguments: []
* @Return:
* @PublicAPI: false
*/
private ["_entries", "_menuName","_target"];
disableSerialization;
createDialog "CSE_RADIAL_MENU";
CSE_RADIAL_SUB_MENU_GUI = [];
_menuName = [_this, 0, "Main Menu", [""]] call BIS_fnc_Param;
_entries = [_this, 1, [], [[]]] call BIS_fnc_Param;
_target = [_this, 2, ObjNull, [ObjNull]] call BIS_fnc_Param;
setMousePosition [ 0.5, 0.6 ];
[_menuName,_entries, _target] call cse_fnc_openRadialSubMenu_GUI;
[[_menuName, _entries, _target],"openRadialMenu"] call cse_fnc_customEventHandler_F;