DialogControls-XKey: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Created page with "'''TokenNames common to most controls, such as x,y,w,h,text,idc... are not listed here.''' ===CT_XKEYDESC=40=== {| border="1" align="left" cellpadding="3" cellspacing="0" | ! co...")
 
m (visual tweaks)
Line 1: Line 1:
'''TokenNames common to most controls, such as x,y,w,h,text,idc... are not listed here.'''
{{Informative|TokenNames common to most controls, such as x, y, w, h, text, idc... are not listed here.}}
===CT_XKEYDESC=40===
===CT_XKEYDESC=40===
 
{| class="wikitable" 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 23: Line 22:
|}<br clear="all">
|}<br clear="all">


* '''Example:'''
* '''Example Config:'''
<code><nowiki>class RscXKey
<syntaxhighlight lang="cpp">class RscXKey
{
{
type = 40;
  type = 40;
idc = -1;
  idc = -1;
style = ST_LEFT;
  style = ST_LEFT;
h = 0.06;
  h = 0.06;
size = "( 21 / 408 )";
  size = "( 21 / 408 )";
shadow = 0;
  shadow = 0;
key = "0x00050000 + 1";
  key = "0x00050000 + 1";
class Attributes
  class Attributes
{
  {
  font = "Zeppelin32";
    font = "Zeppelin32";
  color = "#E5E5E5";
    color = "#E5E5E5";
  align = "left";
    align = "left";
};
  };
class AttributesImage
  class AttributesImage
{
  {
  color = "#E5E5E5";
    color = "#E5E5E5";
};
  };
};</nowiki></code>
};</syntaxhighlight>
[[Category: Dialogs]]
[[Category: Dialogs]]

Revision as of 18:10, 18 February 2020

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

CT_XKEYDESC=40

Properties
Name Type Remark
Attributes class
AttributesImage class
key argb key = "0x00050000 + 1";


  • Example Config:
class RscXKey
{
  type = 40;
  idc = -1;
  style = ST_LEFT;
  h = 0.06;
  size = "( 21 / 408 )";
  shadow = 0;
  key = "0x00050000 + 1";
  class Attributes
  {
    font = "Zeppelin32";
    color = "#E5E5E5";
    align = "left";
  };
  class AttributesImage
  {
    color = "#E5E5E5";
  };
};