-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b37266
commit 0b8a3d9
Showing
13 changed files
with
181 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#include "..\script_component.hpp" | ||
/* | ||
* Author: tcvm | ||
* Initialises LWS display, given the state of some LWS | ||
* | ||
* Arguments: | ||
* 0: Display <DISPLAY> | ||
* | ||
* Return Value: | ||
* None | ||
* | ||
* Example: | ||
* [displayNull] call ace_laser_warning_fnc_ui_initDisplay | ||
* | ||
* Public: No | ||
*/ | ||
params ["_display"]; | ||
|
||
private _object = _display getVariable [QGVAR(object), objNull]; | ||
if (isNull _object) exitWith {}; | ||
|
||
private _boxState = _object getVariable [QGVAR(state_box), false call FUNC(default_boxState)]; | ||
_boxState params ["_powerState", "", "_menuState"]; | ||
[_display] call FUNC(ui_initScreen); | ||
if (_powerState != POWER_STATE_OFF) then { | ||
private _box = _display displayCtrl 100; | ||
_box ctrlAnimateModel ["PowerSwitch", 1.0]; | ||
[_display] call FUNC(ui_initMenu); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#include "..\script_component.hpp" | ||
/* | ||
* Author: tcvm | ||
* Initialises LWS menu page. Called on state change | ||
* | ||
* Arguments: | ||
* 0: Display <DISPLAY> | ||
* | ||
* Return Value: | ||
* None | ||
* | ||
* Example: | ||
* [displayNull] call ace_laser_warning_fnc_ui_initMenu | ||
* | ||
* Public: No | ||
*/ | ||
params ["_display"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#include "..\script_component.hpp" | ||
/* | ||
* Author: tcvm | ||
* Initialises LWS screen; usually just blacks out or turns on elements | ||
* | ||
* Arguments: | ||
* 0: Display <DISPLAY> | ||
* | ||
* Return Value: | ||
* None | ||
* | ||
* Example: | ||
* [displayNull] call ace_laser_warning_fnc_ui_initScreen | ||
* | ||
* Public: No | ||
*/ | ||
params ["_display"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,5 @@ | |
*/ | ||
params ["_args", "_pfhId"]; | ||
_args params ["_display"]; | ||
private _screen = _display displayCtrl 300; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters