DialogControls-AnimTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (formatting (table and example heading))
m (visual update)
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_ANIMATED_TEXTURE=45==
==CT_ANIMATED_TEXTURE=45==
{| 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 15: Line 15:
|}<br clear="all">
|}<br clear="all">


* '''Example:'''
* '''Example Config:'''
<code><nowiki>class RscProgressNotFreeze
<syntaxhighlight lang="cpp">class RscProgressNotFreeze  
{
{
idc = -1;
  idc = -1;
type = 45;
  type = 45;
style = 0;
  style = 0;
shadow = 0;
  shadow = 0;
x = 0;
  x = 0;
y = 0;
  y = 0;
w = 0.5;
  w = 0.5;
h = 0.1;
  h = 0.1;
texture = "#(argb,8,8,3)color(0,0,0,0)";
  texture = "#(argb,8,8,3)color(0,0,0,0)";
};</nowiki></code>
};</syntaxhighlight>
[[Category: Dialogs]]
[[Category: Dialogs]]

Revision as of 14:34, 18 February 2020

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

CT_ANIMATED_TEXTURE=45

Properties
Name Type Remark
texture string Relative path to the file used for the texture from the mission folder


  • Example Config:
class RscProgressNotFreeze 
{
  idc = -1;
  type = 45;
  style = 0;
  shadow = 0;
  x = 0;
  y = 0;
  w = 0.5;
  h = 0.1;
  texture = "#(argb,8,8,3)color(0,0,0,0)";
};