CT – Template
Jump to navigation
Jump to search
(renamed start argument to intro) |
(renamed "abc" and "stop" to "abc start" and "abc end") |
||
Line 23: | Line 23: | ||
{{#tag:syntaxhighlight|#define {{{macro}}} {{{value}}}|lang=cpp}} | {{#tag:syntaxhighlight|#define {{{macro}}} {{{value}}}|lang=cpp}} | ||
|abc = {{Cfg ref|abc}} | |abc start = {{Cfg ref|abc}} | ||
|attribute = ==== {{{name}}} ==== | |attribute = ==== {{{name}}} ==== | ||
{{#if: {{{mandatory|}}} |{{Important|This attribute is mandatory for the control to work!}}}} | {{#if: {{{mandatory|}}} |{{Important|This attribute is mandatory for the control to work!}}}} | ||
Line 34: | Line 34: | ||
}}|lang=cpp}} | }}|lang=cpp}} | ||
| | |abc end = {{Cfg ref|end}} | ||
|examples = = Default Classes = | |examples = = Default Classes = | ||
Line 58: | Line 58: | ||
}} | }} | ||
{{CT|abc}} | {{CT|abc start}} | ||
=== T === | === T === | ||
{{CT|attribute | {{CT|attribute | ||
Line 80: | Line 80: | ||
| description=This is a test class to test classes. | | description=This is a test class to test classes. | ||
}} | }} | ||
{{CT| | {{CT|abc end}} | ||
{{CT|examples}} | {{CT|examples}} |
Revision as of 12:44, 6 November 2020
Usage
Template:Navbox control types
Template:Cfg ref
Introduction
Informative text about this control type.
Related commands
- General
- command group CT
Related User Interface Eventhandlers
- Generic events
- event1
- event2
Alphabetical Order
#define CT_TREE 1234
T
testArray
- Type
- Array
- Description
- This is a test array to test arrays.
testArray[] = {1,0,0,1};
testAttribute
- Type
- String
- Description
- This is a test attribute to test things.
testAttribute = "test";
testClass
- Type
- Class
- Description
- This is a test class to test classes.
class testClass {};
Default Classes
The following classes are part of the export that is generated with "Default" call BIS_fnc_exportGUIBaseClasses
RscExample
class RscExample
{
deletable = 0;
fade = 0;
access = 0;
type = CT_TYPEMACRO;
style = SL_HORZ;
color[] = {1,1,1,0.8};
colorActive[] = {1,1,1,1};
shadow = 0;
x = 0;
y = 0;
w = 0.3;
h = 0.025;
};