mirror of
https://github.com/Bjanski/ExAd.git
synced 2024-08-30 16:52:14 +00:00
commit
f60fe7f5e8
@ -1,4 +1,4 @@
|
|||||||
eventHandler !="ExAd_ACTION_PARACHUTE_DETACH = (findDisplay 46) displayAddEventHandler ["KeyDown",{"
|
eventHandler !="ExAd_ACTION_PARACHUTE_DETACH = (findDisplay 46) displayAddEventHandler [\"KeyDown\",{"
|
||||||
compile !="call compile format[\"_messageParameters call ExAd_fnc_%1;\",_messageName]" !="call compile format['%1 = if(isLocalized \"%1\")then{localize \"%1\"}else{\"%3"
|
compile !="call compile format[\"_messageParameters call ExAd_fnc_%1;\",_messageName]" !="call compile format['%1 = if(isLocalized \"%1\")then{localize \"%1\"}else{\"%3"
|
||||||
createVehicle !="_parachuteObject = createVehicle [\"Steerable_Parachute_F\", getPosATL player, [], 0, \"CAN_COLLIDE\"]"
|
createVehicle !="_parachuteObject = createVehicle [\"Steerable_Parachute_F\", getPosATL player, [], 0, \"CAN_COLLIDE\"]"
|
||||||
addAction !="ExAd_ACTION_PARACHUTE = player addaction [format"
|
addAction !="ExAd_ACTION_PARACHUTE = player addaction [format"
|
||||||
|
@ -1,6 +1,13 @@
|
|||||||
#<img src="logo.png" alt="ExAd" width="200" />
|
#<img src="logo.png" alt="ExAd" width="200" />
|
||||||
# Changelog:
|
# Changelog:
|
||||||
|
|
||||||
|
## 1607330 11:00 . v0.7.11
|
||||||
|
### Fixed
|
||||||
|
* Modified fn_addApps. (XM8)
|
||||||
|
|
||||||
|
### Added
|
||||||
|
* New App function , fn_createCombo (XM8)
|
||||||
|
|
||||||
## 160726 17:15 . v0.7.10
|
## 160726 17:15 . v0.7.10
|
||||||
### Fixed
|
### Fixed
|
||||||
* Apply custom functions to "More" app buttons. (XM8)
|
* Apply custom functions to "More" app buttons. (XM8)
|
||||||
|
@ -23,6 +23,7 @@ file = "ExAdClient\XM8\Functions";
|
|||||||
class createBackgroundGUI {};
|
class createBackgroundGUI {};
|
||||||
class createButton {};
|
class createButton {};
|
||||||
class createCheckBox {};
|
class createCheckBox {};
|
||||||
|
class createCombo {};
|
||||||
class createCtrlGrp {};
|
class createCtrlGrp {};
|
||||||
class createEdit {};
|
class createEdit {};
|
||||||
class createExtraApps {};
|
class createExtraApps {};
|
||||||
|
@ -42,12 +42,12 @@ while {_title != ""} do
|
|||||||
|
|
||||||
_display = uiNameSpace getVariable ["RscExileXM8", displayNull];
|
_display = uiNameSpace getVariable ["RscExileXM8", displayNull];
|
||||||
_pW = 0.025; _pH = 0.04;
|
_pW = 0.025; _pH = 0.04;
|
||||||
|
_slide = ctrlParentControlsGroup (_display displayCtrl _count2);
|
||||||
|
|
||||||
{
|
{
|
||||||
private["_ctrl","_pos","_logo"];
|
private["_ctrl","_pos","_logo","_function"];
|
||||||
_ctrl = (_display displayCtrl _count2);
|
_ctrl = _display displayCtrl _count2;
|
||||||
_pos = ctrlPosition _ctrl;
|
_pos = ctrlPosition _ctrl;
|
||||||
_slide = ctrlParentControlsGroup _ctrl;
|
|
||||||
|
|
||||||
_logo = if(isText(missionConfigFile >> "CfgXM8" >> _x >> "logo"))then{getText(missionConfigFile >> "CfgXM8" >> _x >> "logo")}else{"ExAdClient\Core\Img\logo.paa"};
|
_logo = if(isText(missionConfigFile >> "CfgXM8" >> _x >> "logo"))then{getText(missionConfigFile >> "CfgXM8" >> _x >> "logo")}else{"ExAdClient\Core\Img\logo.paa"};
|
||||||
[_display,_slide,([_x,format["AppIcon%1",_count2]] call ExAd_fnc_getNextIDC),[(_pos select 0) + 1.5 * _pW, (_pos select 1) + 0.625 * _pH, 3 * _pW, 3 * _pH],_logo,[1,1,1,1],false,true,""] call ExAd_fnc_createPicture;
|
[_display,_slide,([_x,format["AppIcon%1",_count2]] call ExAd_fnc_getNextIDC),[(_pos select 0) + 1.5 * _pW, (_pos select 1) + 0.625 * _pH, 3 * _pW, 3 * _pH],_logo,[1,1,1,1],false,true,""] call ExAd_fnc_createPicture;
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
params ["_display","_parent","_idc","_position","_actionOnSelChanged","_tooltip","_ctrl"];
|
||||||
|
|
||||||
|
_ctrl = _display ctrlCreate ["RscCombo",_idc,_parent];
|
||||||
|
_ctrl ctrlSetPosition _position;
|
||||||
|
_ctrl ctrlSetEventHandler ["LBSelChanged",_actionOnSelChanged];
|
||||||
|
_ctrl ctrlSetTooltip _tooltip;
|
||||||
|
_ctrl ctrlCommit 0;
|
||||||
|
|
||||||
|
_ctrl
|
Loading…
Reference in New Issue
Block a user