BIS fnc displayColorSet: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= |p2=" to "|Parameter1= |p2=") |
Lou Montana (talk | contribs) m (Text replacement - "|= |p4=" to "|PARAMETER3= |p4=") |
||
Line 17: | Line 17: | ||
|p2= display: [[Display]]|Parameter2= | |p2= display: [[Display]]|Parameter2= | ||
|p3= commitTime (Optional): [[Number]] - Commit time |= | |p3= commitTime (Optional): [[Number]] - Commit time |PARAMETER3= | ||
|p4= code (Optional): [[Code]] - Code executed for every control element (which is passed as _this) |= | |p4= code (Optional): [[Code]] - Code executed for every control element (which is passed as _this) |= | ||
Revision as of 23:04, 20 December 2019
Description
- Description:
- Applies custom color settings to given Display. Display must be already using color macros, function will just refresh the values according to current color settings.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [displayClass,display,commitTime,code] call BIS_fnc_displayColorSet;
- Parameters:
- displayClass: Config - Display classname
- display: Display
- commitTime (Optional): Number - Commit time
- code (Optional): Code - Code executed for every control element (which is passed as _this)
- Return Value:
- Boolean
Examples
- Example 1:
[configFile >> (GUI_classes select _foreachindex),_x] call bis_fnc_displayColorSet;
- Example 2:
[ configfile >> _class, _display, 0, { _this ctrlSetFade 0; _this ctrlCommit 0.5; } ] call bis_fnc_displayColorSet;
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note