131     C= (short)((
float)
tintc * (float)360);
 
  136     S = (short)((
float)
tints * (float)255);
 
  140     V = (short)((
float)
tint * (float)255);
 
  151   moText fieldSeparation = 
",";
 
  162   fullJSON+= fieldSeparation+ 
"'tempo': {";
 
  178   fullJSON+= fieldSeparation + 
"'on': '"+
IntToStr(
on)+
"'";
 
  179   fullJSON+= fieldSeparation + 
"'synchronized': '"+
IntToStr(
synchronized)+
"'";
 
  210   moText fieldSeparation = 
" ";
 
  225   fullXML+= fieldSeparation + 
"synchronized='"+
IntToStr(
synchronized)+
"'";
 
  248   fullXML+= fieldSeparation+ 
"<moTempo ";
 
  259   fullXML+= 
"</moTempo>";
 
  262   fullXML+= 
"</moEffectState>";
 
  272   TiXmlDocument   m_XMLDoc;
 
  274   TiXmlEncoding   xencoding = TIXML_ENCODING_LEGACY; 
 
  276   m_XMLDoc.Parse((
const char*) p_XmlText, 0, xencoding );
 
  279   TiXmlElement* effectStateNode = m_XMLDoc.FirstChildElement(
"moEffectState");
 
  284     if (effectStateNode) {
 
  285       m_Activated = atoi( effectStateNode->Attribute(
"Activated") );
 
  286       m_Selected = atoi( effectStateNode->Attribute(
"Selected") );
 
  287       on = atoi( effectStateNode->Attribute(
"on") );
 
  288       synchronized = atoi( effectStateNode->Attribute(
"synchronized") );
 
  289       alpha = atof( effectStateNode->Attribute(
"alpha") );
 
  290       tint = atof( effectStateNode->Attribute(
"tint") );
 
  291       tintb = atof( effectStateNode->Attribute(
"tintb") );
 
  292       tintc = atof( effectStateNode->Attribute(
"tintc") );
 
  293       tintg = atof( effectStateNode->Attribute(
"tintg") );
 
  294       tintr = atof( effectStateNode->Attribute(
"tintr") );
 
  295       tints = atof( effectStateNode->Attribute(
"tints") );
 
  297       TiXmlElement* keyNode = effectStateNode->FirstChildElement(
"moTempo");
 
  306         if (atoi( 
moText( keyNode->Attribute(
"started") ) ) == 1 ) {
 
moEffectState & operator=(const moEffectState &src)
 
virtual void Start()
Inicia el temporizador. 
 
LIBMOLDEO_API moText0 FloatToStr(double a)
 
void SetColorRGB(MOfloat r, MOfloat g, MOfloat b)
 
MOulong moGetDuration()
Devuelve el valor del reloj del temporizador global. 
 
LIBMOLDEO_API void HSVtoRGB(short iInHue, short iInSaturation, short iInValue, float *piRed, float *piGreen, float *piBlue)
 
virtual const moText & ToXML()
 
MOdouble syncro
Syncronización o factor fraccionario, 1.0 predeterminado, sino KX donde K puede ser fraccional (un nú...
 
MOdouble delta
variacion de frecuencia entre 0X y 2X, delta es real 
 
clase de para manejar textos 
 
virtual const moText & StateToStr()
 
static void Log(moText p_text)
Escribe un mensaje en el archivo de registro (log) 
 
MOboolean Init()
Inicializa el objeto. 
 
MOdouble factor
Multiplicador a partir de 2X hasta KX, donde K en principio es entero. 
 
void Continue()
Prosigue el temporizador. 
 
bool Paused() const 
Devuelve el estado en pausa del cronómetro. 
 
MOswitch fulldebug
saturación 
 
virtual long Duration()
Devuelve el valor del reloj del temporizador. 
 
moText moGetTimerStateStr()
 
LIBMOLDEO_API moText0 IntToStr(int a)
 
bool Started() const 
Devuelve el estado del temporizador. 
 
void SetColorCSV(MOfloat c, MOfloat s, MOfloat t)
 
int Set(const moText &p_XmlText)
 
virtual const moText & ToJSON()