CT CONTROLS GROUP: Difference between revisions
Killzone Kid (talk | contribs) (Redirected page to DialogControls-ControlsGroup) |
(page overhaul) Tag: Removed redirect |
||
Line 1: | Line 1: | ||
# | {{CT|intro | ||
|macro = CT_CONTROLS_GROUP | |||
|value = 15 | |||
|description = Container control for other controls. The child controls have to be defined in the '''controls''' subclass. The child controls' positions are calculated relatively to the control group, so x = 0 and y = 0 moves the child control to the top left corner of the controls group. If the position or height/width of any child controls cause any part of the child control to fall outside the dimensions of the controls group then scrollbars will become visible. This allows for the creation of scrollable text controls for example. Control groups are not visible by themselves, therefore most of the common attributes, eg. colorBackground, do not apply. | |||
{{Important|*A generalised screw-up occurs in Arrowhead rscControlGroup where color is not specified for V and H scrollbars and shadow should not have been specified. As a result any deriving class: | |||
**a) cannot inherit the existing scrollbar | |||
**b) must repeat the entire thing with the addition of color.}} | |||
|gallery= | |||
|commands = | |||
|events = | |||
}} | |||
{{DoLater|Find out which attributes actually work because most of them have no effect}} | |||
{{CT|abc start}} | |||
=== A === | |||
{{CT|attribute | |||
|name=adminOnly | |||
|type1=Number | |||
|value1=1 | |||
|description= | |||
}} | |||
=== C === | |||
{{CT|attribute | |||
|name=controls | |||
|type1=Class | |||
|value1=class controls | |||
{ | |||
class Subcontrol: RscText | |||
{ | |||
text = "This is a sub control"; | |||
x = 0; | |||
y = 0; | |||
w = 10 * GUI_GRID_W; | |||
h = 1 * GUI_GRID_H; | |||
}; | |||
}; | |||
|description=Any user added [[Arma: GUI Configuration#Controls|controls]] to be contained within the controls group. | |||
}} | |||
=== D === | |||
{{CT|attribute | |||
|name=disableCustomColors | |||
|type1=Number | |||
|value1=1 | |||
|description= | |||
}} | |||
=== G === | |||
{{CT|attribute | |||
|name=gunH | |||
|type1=Number | |||
|value1=0.15 | |||
|description= | |||
}} | |||
{{CT|attribute | |||
|name=gunW | |||
|type1=Number | |||
|value1=0.113 | |||
|description= | |||
}} | |||
=== H === | |||
{{CT|attribute | |||
|name=highlightAnimLength | |||
|type1=Number | |||
|value1=1.2 | |||
|description= | |||
}} | |||
{{CT|attribute | |||
|name=highlightColorFrom | |||
|type1=Array | |||
|value1={1,1,1,0.25} | |||
|description= | |||
}} | |||
{{CT|attribute | |||
|name=highlightColorTo | |||
|type1=Array | |||
|value1={1,1,1,0.5} | |||
|description= | |||
}} | |||
{{CT|attribute | |||
|name=HScrollbar | |||
|type1=Class | |||
|value1=class HScrollbar | |||
{ | |||
height = 0; | |||
color[] = {1,1,1,1}; | |||
colorActive[] = {1,1,1,1}; | |||
colorDisabled[] = {1,1,1,0.3}; | |||
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa"; | |||
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa"; | |||
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa"; | |||
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa"; | |||
shadow = 0; | |||
scrollSpeed = 0.06; | |||
width = 0; | |||
autoScrollEnabled = 0; | |||
autoScrollSpeed = -1; | |||
autoScrollDelay = 5; | |||
autoScrollRewind = 0; | |||
}; | |||
|description=Settings relatied to the horizontal (↔) scrollbar. | |||
All available properties of '''VScrollbar''' and '''HScrollbar'''. Not all available properties make sense for each of these as outlined below. | |||
{{{!}}class="wikitable" border="1" align="left" cellpadding="3" cellspacing="0" {{!}} | |||
! colspan="6" bgcolor="#bbbbff" {{!}} Properties | |||
{{!}}- | |||
! bgcolor="#ddddff" {{!}} Name | |||
! bgcolor="#ddddff" {{!}} Type | |||
! bgcolor="#ddddff" {{!}} Remark | |||
! bgcolor="#ddddff" {{!}} Scrollbar | |||
! bgcolor="#ddddff" {{!}} VScrollbar | |||
! bgcolor="#ddddff" {{!}} HScrollbar | |||
{{!}}- | |||
{{!}} '''color''' | |||
{{!}} [[Color{{!}}color array]] | |||
{{!}} Color of thumb and arrow heads, also arrow backgrounds when pressed. | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}}- | |||
{{!}} '''colorActive''' | |||
{{!}} [[Color{{!}}color array]] | |||
{{!}} Color when the scrollbar is focused. | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}}- | |||
{{!}} '''colorDisabled''' | |||
{{!}} [[Color{{!}}color array]] | |||
{{!}} Color when the scrollbar is deactivated. | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}}- | |||
{{!}} '''width''' | |||
{{!}} [[Number]] | |||
{{!}} Width of the controlsGroup's scroll bars in [[GUI_Coordinates{{!}}screen space dimensions]]. Setting to 0 will cause no scrollbar to be shown even if a child falls outside the controlsGroup's dimensions | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}} | |||
{{!}}- | |||
{{!}} '''height''' | |||
{{!}} [[Number]] | |||
{{!}} Height of the controlsGroup's scroll bars in [[GUI_Coordinates{{!}}screen space dimensions]]. Setting to 0 will cause no scrollbar to be shown even if a child falls outside the controlsGroup's dimensions | |||
{{!}} <center>x</center> | |||
{{!}} | |||
{{!}} <center>x</center> | |||
{{!}}- | |||
{{!}} '''autoScrollEnabled''' | |||
{{!}} [[Number]] | |||
{{!}} 1 - enabled, 0 - disabled, Does not work if there a interactive controls within the controlsGroup e.g Buttons | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}} | |||
{{!}}- | |||
{{!}} '''autoScrollSpeed''' | |||
{{!}} [[Number]] | |||
{{!}} Default -1, smaller numbers scroll faster, '''cannot''' be forced to scroll backwards by supplying negative numbers | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}} | |||
{{!}}- | |||
{{!}} '''autoScrollDelay''' | |||
{{!}} [[Number]] | |||
{{!}} Time in seconds before autoScroll starts, restarts after user input and time before rewind happens when the end has been reached | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}} | |||
{{!}}- | |||
{{!}} '''autoScrollRewind''' | |||
{{!}} [[Number]] | |||
{{!}} 0 - disable, 1 - enabled : If autoScroll reaches the bottom of the controlsGroup it will wait '''autoScrollDelay''' then fade out, scroll back to the top, fade back in, wait '''autoScrollDelay''' before proceeding to start auto scrolling again. | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}} | |||
{{!}}- | |||
{{!}} '''thumb''' | |||
{{!}} [[String]] | |||
{{!}} Path to texture or [[Procedural_Textures#color{{!}}Procedural Texture]] "#(argb,8,8,3)color(1,1,1,1)"; | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}}- | |||
{{!}} '''arrowEmpty/Full''' | |||
{{!}} [[String]] | |||
{{!}} Path to texture or [[Procedural_Textures#color{{!}}Procedural Texture]] "#(argb,8,8,3)color(1,1,1,1)"; | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}}- | |||
{{!}} '''border''' | |||
{{!}} [[String]] | |||
{{!}} Path to texture or [[Procedural_Textures#color{{!}}Procedural Texture]] "#(argb,8,8,3)color(1,1,1,1)"; | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}}- | |||
{{!}} '''shadow''' | |||
{{!}} [[Number]] | |||
{{!}} | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}}- | |||
{{!}} '''scrollSpeed''' | |||
{{!}} [[Number]] | |||
{{!}} Default 0.06 : Speed of user vertical scroll input when using the mouse wheel, can be set to 0 to disable the user from being able to scroll, can be set to negative number to reverse scroll direction. | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}} <center>x</center> | |||
{{!}}- | |||
{{!}}}<br clear="all"> | |||
}} | |||
=== L === | |||
{{CT|attribute | |||
|name=lineHeight | |||
|type1=String | |||
|value1="1.2 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)" | |||
|description= | |||
}} | |||
=== M === | |||
{{CT|attribute | |||
|name=magH | |||
|type1=Number | |||
|value1=0.074 | |||
|description= | |||
}} | |||
{{CT|attribute | |||
|name=magW | |||
|type1=Number | |||
|value1=0.055 | |||
|description= | |||
}} | |||
=== S === | |||
{{CT|attribute | |||
|name=scriptName | |||
|type1=String | |||
|value1="RscHorizontalCompass" | |||
|description= | |||
}} | |||
{{CT|attribute | |||
|name=scriptPath | |||
|type1=String | |||
|value1="EnochCommon" | |||
|description= | |||
}} | |||
{{CT|attribute | |||
|name=soundClick | |||
|type1=Array | |||
|value1={"",0.1,1} | |||
|description= | |||
}} | |||
{{CT|attribute | |||
|name=soundDoubleClick | |||
|type1=Array | |||
|value1={"",0.1,1} | |||
|description= | |||
}} | |||
{{CT|attribute | |||
|name=soundPush | |||
|type1=Array | |||
|value1={"",0.1,1} | |||
|description= | |||
}} | |||
{{CT|attribute | |||
|name=spacing | |||
|type1=Number | |||
|value1=0.002 | |||
|description= | |||
}} | |||
=== V === | |||
{{CT|attribute | |||
|name=VScrollbar | |||
|type1=Class | |||
|value1=class VScrollbar | |||
{ | |||
width = 0; | |||
color[] = {1,1,1,1}; | |||
autoScrollEnabled = 1; | |||
colorActive[] = {1,1,1,1}; | |||
colorDisabled[] = {1,1,1,0.3}; | |||
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa"; | |||
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa"; | |||
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa"; | |||
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa"; | |||
shadow = 0; | |||
scrollSpeed = 0.06; | |||
height = 0; | |||
autoScrollSpeed = -1; | |||
autoScrollDelay = 5; | |||
autoScrollRewind = 0; | |||
}; | |||
|description=Settings relatied to the vertical (↕) scrollbar. For details see [[#HScrollbar]] | |||
}} | |||
=== W === | |||
{{CT|attribute | |||
|name=weaponH | |||
|type1=Number | |||
|value1=0.15 | |||
|description= | |||
}} | |||
{{CT|attribute | |||
|name=weaponW | |||
|type1=Number | |||
|value1=0.226 | |||
|description= | |||
}} | |||
{{CT|abc end}} | |||
{{CT|examples}} | |||
=== RscControlsGroup === | |||
<syntaxhighlight lang="cpp"> | |||
class RscControlsGroup | |||
{ | |||
deletable = 0; | |||
fade = 0; | |||
class VScrollbar: ScrollBar | |||
{ | |||
color[] = {1,1,1,1}; | |||
width = 0.021; | |||
autoScrollEnabled = 1; | |||
}; | |||
class HScrollbar: ScrollBar | |||
{ | |||
color[] = {1,1,1,1}; | |||
height = 0.028; | |||
}; | |||
class Controls | |||
{ | |||
}; | |||
type = CT_CONTROLS_GROUP; | |||
idc = -1; | |||
x = 0; | |||
y = 0; | |||
w = 1; | |||
h = 1; | |||
shadow = 0; | |||
style = ST_MULTI; | |||
}; | |||
</syntaxhighlight> | |||
== Other examples == | |||
<syntaxhighlight lang="cpp">class Dialog | |||
{ | |||
idd = -1; | |||
class Controls | |||
{ | |||
class _CT_CONTROLS_GROUP | |||
{ | |||
type = 15; | |||
idc = -1; | |||
style = 16; | |||
x = 0; | |||
y = 0; | |||
w = 1; | |||
h = 1; | |||
shadow = 0; | |||
class ScrollBar | |||
{ | |||
color[] = {1,1,1,0.6}; | |||
colorActive[] = {1,1,1,1}; | |||
colorDisabled[] = {1,1,1,0.3}; | |||
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa"; | |||
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa"; | |||
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa"; | |||
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa"; | |||
}; | |||
class VScrollbar: ScrollBar | |||
{ | |||
width = 0.021; | |||
autoScrollSpeed = -1; | |||
autoScrollDelay = 5; | |||
autoScrollRewind = 0; | |||
shadow = 0; | |||
}; | |||
class HScrollbar: ScrollBar | |||
{ | |||
height = 0.028; | |||
shadow = 0; | |||
}; | |||
class Controls | |||
{ | |||
class _CT_EDIT | |||
{ | |||
idc = -1; | |||
onLoad = "params ['_ctrl']; _ctrl ctrlSetText loadFile 'A3\functions_f\Actions\fn_packStaticWeapon.sqf'"; | |||
type = 2; | |||
style = 16; | |||
autocomplete = ""; | |||
canModify = 1; | |||
colorBackground[] = {0,0,0,0.5}; | |||
colorText[] = {1,1,1,1}; | |||
colorDisabled[] = {1,1,1,0.25}; | |||
colorSelection[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.77])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.51])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.08])",1}; | |||
text = ""; | |||
x = 0; | |||
y = 0; | |||
w = 2; | |||
h = 2; | |||
sizeEx = 0.05; | |||
font = "RobotoCondensedLight"; | |||
}; | |||
}; | |||
}; | |||
}; | |||
};</syntaxhighlight> |
Revision as of 13:28, 29 November 2020
Control Types / MACRO (TYPE VALUE) | |
---|---|
Text/Image/Video |
CT_STATIC (0) | CT_EDIT (2) | CT_HTML (9) | CT_STRUCTURED_TEXT (13) |
Buttons |
CT_BUTTON (1) | CT_ACTIVETEXT (11) | CT_SHORTCUTBUTTON (16) | CT_CHECKBOX (77) | CT_XBUTTON (41) |
Lists |
CT_COMBO (4) | CT_TOOLBOX (6) | CT_CHECKBOXES (7) | CT_TREE (12) | CT_CONTROLS_TABLE (19) | CT_XCOMBO (44) | CT_LISTBOX (5) | CT_LISTNBOX (102) | CT_LISTNBOX_CHECKABLE (104) | CT_XLISTBOX (45) |
3D Objects |
CT_OBJECT (80) | CT_OBJECT_ZOOM (81) | CT_OBJECT_CONTAINER (82) | CT_OBJECT_CONT_ANIM (83) |
Maps |
CT_MAP (100) | CT_MAP_MAIN (101) |
Meta |
CT_SLIDER (3) | CT_XSLIDER (43) | CT_PROGRESS (8) | CT_CONTROLS_GROUP (15) | CT_WEBBROWSER (106) | CT_EXTENSION (107) |
Menu |
CT_CONTEXT_MENU (14) | CT_MENU (46) | CT_MENU_STRIP (47) |
Unknown |
CT_STATIC_SKEW (10) | CT_HITZONES (17) | CT_VEHICLETOGGLES (18) | CT_XKEYDESC (40) | CT_ANIMATED_TEXTURE (45) | CT_LINEBREAK (98) | CT_USER (99) | CT_ITEMSLOT (103) | CT_VEHICLE_DIRECTION (105) |
Introduction
Container control for other controls. The child controls have to be defined in the controls subclass. The child controls' positions are calculated relatively to the control group, so x = 0 and y = 0 moves the child control to the top left corner of the controls group. If the position or height/width of any child controls cause any part of the child control to fall outside the dimensions of the controls group then scrollbars will become visible. This allows for the creation of scrollable text controls for example. Control groups are not visible by themselves, therefore most of the common attributes, eg. colorBackground, do not apply.
Related commands & functions
Related User Interface Eventhandlers
Alphabetical Order
#define CT_CONTROLS_GROUP 15
A
adminOnly
- Type
- Number
- Description
- n/a
adminOnly = 1;
C
controls
class controls
{
class Subcontrol: RscText
{
text = "This is a sub control";
x = 0;
y = 0;
w = 10 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
};
D
disableCustomColors
- Type
- Number
- Description
- n/a
disableCustomColors = 1;
G
gunH
- Type
- Number
- Description
- n/a
gunH = 0.15;
gunW
- Type
- Number
- Description
- n/a
gunW = 0.113;
H
highlightAnimLength
- Type
- Number
- Description
- n/a
highlightAnimLength = 1.2;
highlightColorFrom
- Type
- Array
- Description
- n/a
highlightColorFrom[] = {1,1,1,0.25};
highlightColorTo
- Type
- Array
- Description
- n/a
highlightColorTo[] = {1,1,1,0.5};
HScrollbar
- Type
- Class
- Description
- Settings relatied to the horizontal (↔) scrollbar.
All available properties of VScrollbar and HScrollbar. Not all available properties make sense for each of these as outlined below.
Properties | |||||
---|---|---|---|---|---|
Name | Type | Remark | Scrollbar | VScrollbar | HScrollbar |
color | color array | Color of thumb and arrow heads, also arrow backgrounds when pressed. | |||
colorActive | color array | Color when the scrollbar is focused. | |||
colorDisabled | color array | Color when the scrollbar is deactivated. | |||
width | Number | Width of the controlsGroup's scroll bars in screen space dimensions. Setting to 0 will cause no scrollbar to be shown even if a child falls outside the controlsGroup's dimensions | |||
height | Number | Height of the controlsGroup's scroll bars in screen space dimensions. Setting to 0 will cause no scrollbar to be shown even if a child falls outside the controlsGroup's dimensions | |||
autoScrollEnabled | Number | 1 - enabled, 0 - disabled, Does not work if there a interactive controls within the controlsGroup e.g Buttons | |||
autoScrollSpeed | Number | Default -1, smaller numbers scroll faster, cannot be forced to scroll backwards by supplying negative numbers | |||
autoScrollDelay | Number | Time in seconds before autoScroll starts, restarts after user input and time before rewind happens when the end has been reached | |||
autoScrollRewind | Number | 0 - disable, 1 - enabled : If autoScroll reaches the bottom of the controlsGroup it will wait autoScrollDelay then fade out, scroll back to the top, fade back in, wait autoScrollDelay before proceeding to start auto scrolling again. | |||
thumb | String | Path to texture or Procedural Texture "#(argb,8,8,3)color(1,1,1,1)"; | |||
arrowEmpty/Full | String | Path to texture or Procedural Texture "#(argb,8,8,3)color(1,1,1,1)"; | |||
border | String | Path to texture or Procedural Texture "#(argb,8,8,3)color(1,1,1,1)"; | |||
shadow | Number | ||||
scrollSpeed | Number | Default 0.06 : Speed of user vertical scroll input when using the mouse wheel, can be set to 0 to disable the user from being able to scroll, can be set to negative number to reverse scroll direction. |
class HScrollbar
{
height = 0;
color[] = {1,1,1,1};
colorActive[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.3};
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
shadow = 0;
scrollSpeed = 0.06;
width = 0;
autoScrollEnabled = 0;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
};
L
lineHeight
- Type
- String
- Description
- n/a
lineHeight = "1.2 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
M
magH
- Type
- Number
- Description
- n/a
magH = 0.074;
magW
- Type
- Number
- Description
- n/a
magW = 0.055;
S
scriptName
- Type
- String
- Description
- n/a
scriptName = "RscHorizontalCompass";
scriptPath
- Type
- String
- Description
- n/a
scriptPath = "EnochCommon";
soundClick
- Type
- Array
- Description
- n/a
soundClick[] = {"",0.1,1};
soundDoubleClick
- Type
- Array
- Description
- n/a
soundDoubleClick[] = {"",0.1,1};
soundPush
- Type
- Array
- Description
- n/a
soundPush[] = {"",0.1,1};
spacing
- Type
- Number
- Description
- n/a
spacing = 0.002;
V
VScrollbar
- Type
- Class
- Description
- Settings relatied to the vertical (↕) scrollbar. For details see #HScrollbar
class VScrollbar
{
width = 0;
color[] = {1,1,1,1};
autoScrollEnabled = 1;
colorActive[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.3};
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
shadow = 0;
scrollSpeed = 0.06;
height = 0;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
};
W
weaponH
- Type
- Number
- Description
- n/a
weaponH = 0.15;
weaponW
- Type
- Number
- Description
- n/a
weaponW = 0.226;
Default Classes
RscControlsGroup
class RscControlsGroup
{
deletable = 0;
fade = 0;
class VScrollbar: ScrollBar
{
color[] = {1,1,1,1};
width = 0.021;
autoScrollEnabled = 1;
};
class HScrollbar: ScrollBar
{
color[] = {1,1,1,1};
height = 0.028;
};
class Controls
{
};
type = CT_CONTROLS_GROUP;
idc = -1;
x = 0;
y = 0;
w = 1;
h = 1;
shadow = 0;
style = ST_MULTI;
};
Other examples
class Dialog
{
idd = -1;
class Controls
{
class _CT_CONTROLS_GROUP
{
type = 15;
idc = -1;
style = 16;
x = 0;
y = 0;
w = 1;
h = 1;
shadow = 0;
class ScrollBar
{
color[] = {1,1,1,0.6};
colorActive[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.3};
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
};
class VScrollbar: ScrollBar
{
width = 0.021;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
shadow = 0;
};
class HScrollbar: ScrollBar
{
height = 0.028;
shadow = 0;
};
class Controls
{
class _CT_EDIT
{
idc = -1;
onLoad = "params ['_ctrl']; _ctrl ctrlSetText loadFile 'A3\functions_f\Actions\fn_packStaticWeapon.sqf'";
type = 2;
style = 16;
autocomplete = "";
canModify = 1;
colorBackground[] = {0,0,0,0.5};
colorText[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.25};
colorSelection[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.77])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.51])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.08])",1};
text = "";
x = 0;
y = 0;
w = 2;
h = 2;
sizeEx = 0.05;
font = "RobotoCondensedLight";
};
};
};
};
};