DialogControls-User

From Bohemia Interactive Community
Revision as of 11:20, 20 March 2020 by Lou Montana (talk | contribs) (Text replacement - "{{Informative|TokenNames common to most controls, such as x, y, w, h, text, idc... are not listed here.}}" to "{{Informative|TokenNames common to most controls, such as x, y, w, h, text, idc... can be found [[Arma:_GUI_Configuration...)
Jump to navigation Jump to search
TokenNames common to most controls, such as x, y, w, h, text, idc... can be found here.
This control type is used by the engine for Performance Profiling and has probably no use outside of it.
diag_captureFrame sample output with custom subtree

CT_USER=99

Properties
Name Type Remark
Scrollbar class
colorLines color array
colorBar color array
colorSelection color array


  • Example Config:
class TimeLines
{
  type = 99;
  style = 0;
  idc = 102;
  shadow = 0;
  x = "0.03 + 0.02";
  y = 0.53;
  w = "0.90 - 0.04";
  h = 0.26;
  class Scrollbar{};
  font = "TahomaB";
  colorLines[] = {0,0,0,1};
  colorBackground[] = {1,1,1,1};
  colorBar[] = {0.8,0.8,0.8,1};
  colorSelection[] = {1,0,0,1};
};