BIS fnc GUIgrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (rollback)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2")
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| tkoh |= Game name
|game2= arma3
|version2= 0.50


|1.00|= Game version
|gr1= GUI
____________________________________________________________________________________________


| <pre>/*
|descr= Returns grid params and stores it into [[uiNamespace]].
Author: Karel Moricky


Description:
|s1= [category, grid] call [[BIS_fnc_GUIgrid]]
Returns grid params and stores it into uiNameSpace


Parameter(s):
|p1= category: [[String]] - (Optional, default "GUI") category name
_this select 0: STRING - category name
_this select 1: STRING - grid name


Returns:
|p2= grid: [[String]] - (Optional, default "GRID") grid name
ARRAY - format [[x,y,w,h],gridW,gridH]
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|r1= [[Array]] - in format [<nowiki/>[x,y,w,h],gridW,gridH]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_GUIgrid]]; --> |= Syntax
|x1= <sqf>call BIS_fnc_GUIgrid; //[-0.452381,0.214286,1.2,1]</sqf>
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[BIS_fnc_GUIgridToProfile]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: GUI|{{uc:GUIgrid}}]]
[[Category:Functions|{{uc:GUIgrid}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:GUIgrid}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:GUIgrid}}]]

Latest revision as of 15:33, 8 November 2023

Hover & click on the images for description

Description

Description:
Returns grid params and stores it into uiNamespace.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[category, grid] call BIS_fnc_GUIgrid
Parameters:
category: String - (Optional, default "GUI") category name
grid: String - (Optional, default "GRID") grid name
Return Value:
Array - in format [[x,y,w,h],gridW,gridH]

Examples

Example 1:
call BIS_fnc_GUIgrid; //[-0.452381,0.214286,1.2,1]

Additional Information

See also:
BIS_fnc_GUIgridToProfile

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