DialogControls-User: Difference between revisions
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_USER=99== {| border="1" align="left" cellpadding="3" cellspacing="0" | ! colspan...") |
m (visual tweaks) |
||
Line 1: | Line 1: | ||
{{Informative|TokenNames common to most controls, such as x, y, w, h, text, idc... are not listed here.}} | |||
==CT_USER=99== | ==CT_USER=99== | ||
{| border="1" align="left" cellpadding="3" cellspacing="0" | | {| class="wikitable" border="1" align="left" cellpadding="3" cellspacing="0" | | ||
! colspan="3" bgcolor="#bbbbff" | Properties | ! colspan="3" bgcolor="#bbbbff" | Properties | ||
|- | |- | ||
Line 27: | Line 27: | ||
|}<br clear="all"> | |}<br clear="all"> | ||
* '''Example:''' | * '''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]] | [[Category: Dialogs]] |
Revision as of 18:09, 18 February 2020
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};
};