DialogControls-Menu: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added all three menu types (14,46,47))
Line 3: Line 3:
'''TokenNames common to most controls, such as x,y,w,h,text,idc... are not listed here. '''
'''TokenNames common to most controls, such as x,y,w,h,text,idc... are not listed here. '''


Control with unknown application. It is used for the waypoint editing in the UAV terminal but is not reproducable in other displays.
{| border="1" align="left" cellpadding="3" cellspacing="0" |
{| border="1" align="left" cellpadding="3" cellspacing="0" |
! colspan="3" bgcolor="#bbbbff" | Properties
! colspan="3" bgcolor="#bbbbff" | Properties
Line 9: Line 10:
! bgcolor="#ddddff" | Type
! bgcolor="#ddddff" | Type
! bgcolor="#ddddff" | Remark
! bgcolor="#ddddff" | Remark
|-
| colorBorder
| color array
|
|-
| colorSeperator
| color array
|
|-
| colorSelectBackground
| color array
|
|-
| colorChecked
| color array
|
|-
|}<br clear="all">
|}<br clear="all">
* '''Example:'''
<code><nowiki>
class RscDisplayUavTerminalWaypointMenu
{
idc=108;
type=CT_CONTEXT_MENU;
font="RobotoCondensed";
sizeEx="0.028*SafezoneH";
style=0;
colorBackground[]={0,0,0,0.5};
colorBorder[]={0,0,0,0};
colorSeparator[]={0.94999999,0.94999999,0.94999999,1};
colorSelectBackground[]={1,1,1,0.30000001};
colorChecked[]=
{
"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])",
"(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])",
"(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])",
"(profilenamespace getvariable ['GUI_BCG_RGB_A',0.8])"
};
colorEnabled[]={1,1,1,1};
colorDisabled[]={1,1,1,0.25};
x=0;
y=0;
w=0;
h=0;
};
</nowiki></code>


==CT_MENU=46==
==CT_MENU=46==

Revision as of 22:28, 1 April 2019

Template:Stub

CT_CONTEXT_MENU=14

TokenNames common to most controls, such as x,y,w,h,text,idc... are not listed here.

Control with unknown application. It is used for the waypoint editing in the UAV terminal but is not reproducable in other displays.

Properties
Name Type Remark
colorBorder color array
colorSeperator color array
colorSelectBackground color array
colorChecked color array


  • Example:

class RscDisplayUavTerminalWaypointMenu { idc=108; type=CT_CONTEXT_MENU; font="RobotoCondensed"; sizeEx="0.028*SafezoneH"; style=0; colorBackground[]={0,0,0,0.5}; colorBorder[]={0,0,0,0}; colorSeparator[]={0.94999999,0.94999999,0.94999999,1}; colorSelectBackground[]={1,1,1,0.30000001}; colorChecked[]= { "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.8])" }; colorEnabled[]={1,1,1,1}; colorDisabled[]={1,1,1,0.25}; x=0; y=0; w=0; h=0; };

CT_MENU=46

TokenNames common to most controls, such as x,y,w,h,text,idc... are not listed here.

Properties
Name Type Remark


  • Example:


CT_MENU_STRIP=47

TokenNames common to most controls, such as x,y,w,h,text,idc... are not listed here.

Properties
Name Type Remark


  • Example: