DialogControls-XKey: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (visual tweaks)
m (category)
Line 43: Line 43:
   };
   };
};</syntaxhighlight>
};</syntaxhighlight>
[[Category: Dialogs]]
[[Category: Dialogs|XKey]]

Revision as of 01:16, 19 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";
  };
};