mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Move onButton EHs to config, remove placeholder stats func
This commit is contained in:
parent
9b980f06b9
commit
1be5d92426
@ -17,7 +17,6 @@ PREP(fillRightPanel);
|
||||
PREP(handleMouse);
|
||||
PREP(handleScrollWheel);
|
||||
PREP(handleSearchbar);
|
||||
PREP(handleStats);
|
||||
PREP(initBox);
|
||||
PREP(itemInfo);
|
||||
PREP(loadoutsChangeTab);
|
||||
@ -27,8 +26,6 @@ PREP(onArsenalOpen);
|
||||
PREP(onKeyDown);
|
||||
PREP(onLoadoutsClose);
|
||||
PREP(onLoadoutsOpen);
|
||||
PREP(onMouseButtonDown);
|
||||
PREP(onMouseButtonUp);
|
||||
PREP(onSelChangedLeft);
|
||||
PREP(onSelChangedLoadouts);
|
||||
PREP(onSelChangedRight);
|
||||
@ -42,4 +39,4 @@ PREP(showItem);
|
||||
PREP(sortPanel);
|
||||
PREP(updateCamPos);
|
||||
PREP(updateRightPanel);
|
||||
PREP(verifyLoadout);
|
||||
PREP(verifyLoadout);
|
||||
|
@ -1 +0,0 @@
|
||||
#include "script_component.hpp"
|
@ -1,6 +0,0 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
params ["", "_args"];
|
||||
_args params ["", "_buttonPressed", "_xPos", "_yPos"];
|
||||
|
||||
GVAR(mouseButtonState) set [_buttonPressed, [_xPos, _yPos]];
|
@ -1,6 +0,0 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
params ["", "_args"];
|
||||
_args params ["", "_buttonPressed"];
|
||||
|
||||
GVAR(mouseButtonState) set [_buttonPressed, []];
|
@ -8,8 +8,8 @@ class GVAR(display) {
|
||||
onUnload = QUOTE([ARR_3('onUnload', _this, QQGVAR(display))] call FUNC(onArsenalClose));
|
||||
onKeyDown = QUOTE([ARR_3('onKeyDown', _this, QQGVAR(display))] call FUNC(onKeyDown));
|
||||
onKeyUp = QUOTE(GVAR(shiftState) = _this select 2);
|
||||
onMouseButtonDown = QUOTE([ARR_3('onMouseButtonDown', _this, QQGVAR(display))] call FUNC(onMouseButtonDown));
|
||||
onMouseButtonUp = QUOTE([ARR_3('onMouseButtonUp', _this, QQGVAR(display))] call FUNC(onMouseButtonUp));
|
||||
onMouseButtonDown = QUOTE(GVAR(mouseButtonState) set [ARR_2(_this select 1, [ARR_2(_this select 2, _this select 3)])]);
|
||||
onMouseButtonUp = QUOTE(GVAR(mouseButtonState) set [ARR_2(_this select 1, [])]);
|
||||
icon="\A3\Ui_f\data\Logos\a_64_ca.paa";
|
||||
logo="\A3\Ui_f\data\Logos\arsenal_1024_ca.paa";
|
||||
class ControlsBackground {
|
||||
|
Loading…
Reference in New Issue
Block a user