Ginga  0.13.6.1771-df200
The iTV middleware.
PlayerAnimator.cpp File Reference
#include "aux-ginga.h"
#include "PlayerAnimator.h"
Include dependency graph for PlayerAnimator.cpp:

Macros

#define UPDATE(info, Type, var, rnd, min, max)
 

Functions

static bool isDone (AnimInfo *info)
 

Macro Definition Documentation

#define UPDATE (   info,
  Type,
  var,
  rnd,
  min,
  max 
)
Value:
G_STMT_START \
{ \
if (!(info)->isInit ()) \
(info)->init (var); \
(info)->update (); \
var = (Type) CLAMP (rnd ((info)->getCurrent ()), min, max); \
} \
G_STMT_END

Referenced by PlayerAnimator::update().

Function Documentation

static bool isDone ( AnimInfo info)
static

References AnimInfo::isDone().

Referenced by PlayerAnimator::update().