7erra – User

From Bohemia Interactive Community
Jump to navigation Jump to search
(→‎Possible Template(s)?: template for attributes)
(template implemented)
Line 88: Line 88:
|}
|}


=== Base wiki code for CT pages ===
=== Template for page generation ===
<pre>
[[Template:CT]]
= Introduction =
GIVE_INTRODUCTION_TO_THIS_CONTROL_TYPE
 
= Alphabetical Order =
{{Informative|TokenNames common to most controls, such as x, y, w, h, text, idc... can be found [[Arma:_GUI_Configuration#Common_Properties|'''here''']].}}
 
<syntaxhighlight lang="cpp">#define CT_NAME 1234</syntaxhighlight>
{{Cfg ref|start}}
{{Cfg ref|abc}}
 
ATTRIBUTES_GO_HERE
 
{{Cfg ref|end}}
 
= Default Classes =
The following classes are part of the export that is generated with <code>"Default" call [[BIS_fnc_exportGUIBaseClasses]]</code>
{{Informative|In order for the classes below to work you need to have them exported with the function above.}}
 
== RscClassname==
<syntaxhighlight lang="cpp">
 
</syntaxhighlight>
 
[[Category: Dialogs]]
</pre>
 
=== Possible Template(s)? ===
Template call:
<pre>
{{CT|start|
Introduction text |
CT_NAME |
NUMBER
}}
</pre>
 
Translates to:
<pre>
= Introduction =
Introduction text
 
= Alphabetical Order =
{{Informative|TokenNames common to most controls, such as x, y, w, h, text, idc... can be found [[Arma:_GUI_Configuration#Common_Properties|'''here''']].}}
 
<syntaxhighlight lang="cpp">#define CT_NAME NUMBER</syntaxhighlight>
{{Cfg ref|start}}
{{Cfg ref|abc}}
</pre>
 
 
Template call:
<pre>
{{CT|attribute|
name |
type |
description |
value
}}
</pre>
 
Translates to:
<pre>
==== color ====
;Type: [[TokenNameValueTypes|type]]
;Description: description .
<syntaxhighlight lang="cpp">
name = value; //OR in case of a config array: name[] = value;
</syntaxhighlight>
</pre>
 
 
Template call:
<pre>
{{CT|stop}}
</pre>
 
Translates to:
<pre>
{{Cfg ref|end}}
</pre>
(basically an alias)
 
 
Template call:
<pre>
{{CT|examples}}
</pre>
 
Translates to:
<pre>
= Default Classes =
The following classes are part of the export that is generated with <code>"Default" call [[BIS_fnc_exportGUIBaseClasses]]</code>
{{Informative|In order for the classes below to work you need to have them exported with the function above.}}
</pre>


= About Me =
= About Me =

Revision as of 14:16, 7 November 2020

BIKI Related

Overhaul of the control types pages

Status of each CT

New page Old page Decimal Status
CT_STATIC CT_STATIC 0 Pre-Release
CT_BUTTON CT_BUTTON 1 Pre-Release
CT_EDIT CT_EDIT 2 Pre-Release
CT_SLIDER CT_SLIDER 3 Pre-Release
CT_COMBO CT_COMBO 4 WIP
CT_LISTBOX CT_LISTBOX 5 To-Do
CT_TOOLBOX CT_TOOLBOX 6 To-Do
CT_CHECKBOXES CT_CHECKBOXES 7 To-Do
CT_PROGRESS CT_PROGRESS 8 To-Do
CT_HTML CT_HTML 9 To-Do
CT_STATIC_SKEW CT_STATIC_SKEW 10 To-Do
CT_ACTIVETEXT CT_ACTIVETEXT 11 To-Do
CT_TREE CT_TREE 12 To-Do
CT_STRUCTURED_TEXT CT_STRUCTURED_TEXT 13 To-Do
CT_CONTEXT_MENU CT_CONTEXT_MENU 14 To-Do
CT_CONTROLS_GROUP CT_CONTROLS_GROUP 15 To-Do
CT_SHORTCUTBUTTON CT_SHORTCUTBUTTON 16 To-Do
CT_HITZONES CT_HITZONES 17 To-Do
CT_VEHICLETOGGLES CT_VEHICLETOGGLES 18 To-Do
CT_CONTROLS_TABLE CT_CONTROLS_TABLE 19 To-Do
CT_XKEYDESC CT_XKEYDESC 40 To-Do
CT_XBUTTON CT_XBUTTON 41 To-Do
CT_XLISTBOX CT_XLISTBOX 42 To-Do
CT_XSLIDER CT_XSLIDER 43 To-Do
CT_XCOMBO CT_XCOMBO 44 To-Do
CT_ANIMATED_TEXTURE CT_ANIMATED_TEXTURE 45 To-Do
CT_MENU CT_MENU 46 To-Do
CT_MENU_STRIP CT_MENU_STRIP 47 To-Do
CT_CHECKBOX CT_CHECKBOX 77 To-Do
CT_OBJECT CT_OBJECT 80 To-Do
CT_OBJECT_ZOOM CT_OBJECT_ZOOM 81 To-Do
CT_OBJECT_CONTAINER CT_OBJECT_CONTAINER 82 To-Do
CT_OBJECT_CONT_ANIM CT_OBJECT_CONT_ANIM 83 To-Do
CT_LINEBREAK CT_LINEBREAK 98 To-Do
CT_USER CT_USER 99 To-Do
CT_MAP CT_MAP 100 To-Do
CT_MAP_MAIN CT_MAP_MAIN 101 To-Do
CT_LISTNBOX CT_LISTNBOX 102 To-Do
CT_ITEMSLOT CT_ITEMSLOT 103 To-Do
CT_LISTNBOX_CHECKABLE CT_LISTNBOX_CHECKABLE 104 To-Do
CT_VEHICLE_DIRECTION CT_VEHICLE_DIRECTION 105 To-Do

Template for page generation

Template:CT

About Me

Template:User de
Template:User en-3

ArmA player since ArmA2. Scripting since A3. Fluent in German, English and sqf.

Connect with me!

My Content

My abominations creations:

Useful Links

Links which I abuse a lot:

(づ。◕‿‿◕。)づ

(づ。◕‿‿◕。)づ