53 #include "util/Color.h"
54 using namespace ::br::pucrio::telemidia::util;
56 #include "../Entity.h"
57 using namespace ::br::pucrio::telemidia::ncl;
63 namespace transition {
66 static const int TYPE_BARWIPE = 0;
67 static const int TYPE_IRISWIPE = 1;
68 static const int TYPE_CLOCKWIPE = 2;
69 static const int TYPE_SNAKEWIPE = 3;
70 static const int TYPE_FADE = 4;
72 static const int SUBTYPE_BARWIPE_LEFTTORIGHT = 0;
73 static const int SUBTYPE_BARWIPE_TOPTOBOTTOM = 1;
75 static const int SUBTYPE_IRISWIPE_RECTANGLE = 20;
76 static const int SUBTYPE_IRISWIPE_DIAMOND = 21;
78 static const int SUBTYPE_CLOCKWIPE_CLOCKWISETWELVE = 40;
79 static const int SUBTYPE_CLOCKWIPE_CLOCKWISETHREE = 41;
80 static const int SUBTYPE_CLOCKWIPE_CLOCKWISESIX = 42;
81 static const int SUBTYPE_CLOCKWIPE_CLOCKWISENINE = 43;
83 static const int SUBTYPE_SNAKEWIPE_TOPLEFTHORIZONTAL = 60;
84 static const int SUBTYPE_SNAKEWIPE_TOPLEFTVERTICAL = 61;
85 static const int SUBTYPE_SNAKEWIPE_TOPLEFTDIAGONAL = 62;
86 static const int SUBTYPE_SNAKEWIPE_TOPRIGHTDIAGONAL = 63;
87 static const int SUBTYPE_SNAKEWIPE_BOTTOMRIGHTDIAGONAL = 64;
88 static const int SUBTYPE_SNAKEWIPE_BOTTOMLEFTDIAGONAL = 65;
90 static const int SUBTYPE_FADE_CROSSFADE = 80;
91 static const int SUBTYPE_FADE_FADETOCOLOR = 81;
92 static const int SUBTYPE_FADE_FADEFROMCOLOR = 82;
94 static const short DIRECTION_FORWARD = 0;
95 static const short DIRECTION_REVERSE = 1;
101 double startProgress;
113 Color* getBorderColor();
114 int getBorderWidth();
115 short getDirection();
117 double getEndProgress();
118 Color* getFadeColor();
120 double getStartProgress();
124 void setBorderColor(
Color* color);
125 void setBorderWidth(
int width);
126 void setDirection(
short dir);
127 void setDur(
double dur);
128 void setEndProgress(
double ep);
129 void setFadeColor(
Color* color);
130 void setHorzRepeat(
int num);
131 void setStartProgress(
double sp);
132 void setSubtype(
int subtype);
133 void setType(
int type);
134 void setVertRepeat(
int num);
Definition: Transition.h:64