BIS fnc GUIbackground: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
|Creates GUI background.|= Description
____________________________________________________________________________________________


Description:
| [position] call [[BIS_fnc_GUIbackground]] |= Syntax
Creates GUI background
____________________________________________________________________________________________


Parameter(s):
|p1= position: [[Array]] - In format:<br>
_this select 0: ARRAY - background position in format [x,y,w,h]
0: - Position in X<br>
 
1: - Position in Y<br>
Returns:
2: - Width<br>
DISPLAY
3: - Height|= Parameter 1
*/
 
#define DISPLAY_CLASS "RscCommonBackground"
#define DISPLAY _display
#define DISPLAY_UI (uinamespace getvariable DISPLAY_CLASS)
#define CONTROL (DISPLAY displayctrl _idc)
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_GUIbackground]]; --> |= Syntax
| [[Display]] |= Return value
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[1,1,1,1] [[call]] [[BIS_fnc_GUIbackground]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[GUI Coordinates]], [[allDisplays]] |= See also
 
}}
}}



Revision as of 14:01, 30 May 2018

Hover & click on the images for description

Description

Description:
Creates GUI background.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[position] call BIS_fnc_GUIbackground
Parameters:
position: Array - In format:
0: - Position in X
1: - Position in Y
2: - Width
3: - Height
Return Value:
Display

Examples

Example 1:
[1,1,1,1] call BIS_fnc_GUIbackground;

Additional Information

See also:
GUI CoordinatesallDisplays

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

Notes

Bottom Section