DialogControls-User: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (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...)
m (Text replacement - "#redirect " to "#REDIRECT ")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Informative|TokenNames common to most controls, such as x, y, w, h, text, idc... can be found [[Arma:_GUI_Configuration#Common_Properties|'''here''']].}}
#REDIRECT [[CT_USER]]
 
{{Informative|This control type is used by the engine for [[Performance Profiling]] and has probably no use outside of it.}}
[[File:Performance_Profiling_04.png|thumb|diag_captureFrame sample output with custom subtree|center|400px]]
 
==CT_USER=99==
{| class="wikitable" border="1" align="left" cellpadding="3" cellspacing="0" |
! colspan="3" bgcolor="#bbbbff" | Properties
|-
! bgcolor="#ddddff" | Name
! bgcolor="#ddddff" | Type
! bgcolor="#ddddff" | Remark
|-
| '''Scrollbar'''
| class
|
|-
| '''colorLines'''
| color array
|
|-
| '''colorBar'''
| color array
|
|-
| '''colorSelection'''
| color array
|
|-
|}<br clear="all">
 
* '''Example Config:'''
<syntaxhighlight lang="cpp">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};
};</syntaxhighlight>
[[Category: Dialogs|User]]

Latest revision as of 07:35, 30 December 2020

Redirect to: