BIS fnc GUIbackground: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2")
 
(35 intermediate revisions by 4 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=Creates GUI background.


Description:
|s1= [position] call [[BIS_fnc_GUIbackground]]
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>
2: - Width<br>
3: - Height


Returns:
|r1= [[Display]]
DISPLAY
*/


#define DISPLAY_CLASS "RscCommonBackground"
|x1= <sqf>[1,1,1,1] call BIS_fnc_GUIbackground;</sqf>
#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
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[GUI Coordinates]] [[allDisplays]]
}}
}}
<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:GUIbackground}}]]
[[Category:Functions|{{uc:GUIbackground}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:GUIbackground}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:GUIbackground}}]]

Latest revision as of 15:33, 8 November 2023

Hover & click on the images for description

Description

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

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 Coordinates allDisplays

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