BIN fnc bezierEditor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: Contact)
m (Text replacement - "↵↵{{Wiki|placeholder}} {{Feature|arma3contact}} ↵↵|s1= <!--" to " </pre> {{Wiki|placeholder}} {{Feature|arma3contact}} |s1= <!--")
 
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.94


| arma3 |= Game name
|gr1= Interpolation


|1.00|= Game version
|descr= <pre>#define POINT_W (0.03)
____________________________________________________________________________________________
 
| <pre>#define POINT_W (0.03)
#define POINT_H (POINT_W / 0.75)
#define POINT_H (POINT_W / 0.75)
#define RESOLUTION 50
#define RESOLUTION 50
Line 35: Line 33:
POINT_H\
POINT_H\
]
]
</pre>


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
{{Wiki|placeholder}} {{Feature|arma3contact}}
____________________________________________________________________________________________


| <!-- [] call [[BIN_fnc_bezierEditor]]; --> |= Syntax
|s1= <!-- [] call [[BIN_fnc_bezierEditor]] -->


|p1= |= Parameter 1
|p1=


| |= Return value
|r1=
____________________________________________________________________________________________


|x1= <code></code> |=
|x1= <!-- <sqf>[] call BIN_fnc_bezierEditor;</sqf> -->
____________________________________________________________________________________________
 
| |= See also


|seealso=
}}
}}
<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: Misc|{{uc:bezierEditor}}]]
[[Category:Functions|{{uc:bezierEditor}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:bezierEditor}}]]

Latest revision as of 16:24, 17 April 2024

Hover & click on the images for description

Description

Description:
#define POINT_W			(0.03)
#define POINT_H			(POINT_W / 0.75)
#define RESOLUTION		50
#define MAX_POINTS		16
#define GRIDS			10
#define REFRESH			([_ctrlParent] call (_ctrlArea getvariable "fnc_draw"))
#define POINTS			(_ctrlArea getvariable "points")
#define LINES			(_ctrlArea getvariable "lines")
#define CURVE			(_ctrlArea getvariable "curve")
#define BUTTONS			(_ctrlArea getvariable "buttons")
#define HOVER			(_ctrlArea getvariable "hover")
#define SELECTED		(_ctrlArea getvariable "selected")
#define SET_HOVER(CTRL)		_ctrlArea setvariable ["hover",CTRL]; CTRL ctrlsettextcolor COLOR_SELECTED
#define SET_SELECTED(CTRL)	_ctrlArea setvariable ["selected",CTRL]
#define COLOR_BACKGROUND	[0.4,0.4,0.4,1]
#define COLOR			[0,0,0,1]
#define COLOR_SELECTED		[1,1,1,1]
#define COLOR_CURVE		[1,0,0,1]
#define COLOR_LINE		[0,0,0,0.2]
#define COLOR_TIMELINE		[1,1,1,1]
#define COLOR_GRID		[1,1,1,0.3]
#define POINT_POS		[\
					(_posX - POINT_W / 2) max 0 min ((ctrlposition _ctrlArea select 2) - POINT_W),\
					(_posY - POINT_H / 2) max 0 min ((ctrlposition _ctrlArea select 3) - POINT_H),\
					POINT_W,\
					POINT_H\
				]
🏗
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
enoch icon ca.png
This content is exclusive to the Arma 3 Contact Expansion.
Execution:
call
Groups:
Interpolation

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Examples:
Example needed

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