summaryrefslogtreecommitdiffstats
path: root/src/canvas/qcanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/canvas/qcanvas.cpp')
-rw-r--r--src/canvas/qcanvas.cpp186
1 files changed, 93 insertions, 93 deletions
diff --git a/src/canvas/qcanvas.cpp b/src/canvas/qcanvas.cpp
index 11f8a53a0..997d44900 100644
--- a/src/canvas/qcanvas.cpp
+++ b/src/canvas/qcanvas.cpp
@@ -65,7 +65,7 @@ public:
class TQCanvasViewData {
public:
- TQCanvasViewData() : repaint_from_moving( FALSE ) {}
+ TQCanvasViewData() : repaint_from_moving( false ) {}
#ifndef TQT_NO_TRANSFORMATIONS
TQWMatrix xform;
TQWMatrix ixform;
@@ -167,7 +167,7 @@ void TQCanvasClusterizer::add(const TQRect& rect)
cluster[cursor].width()*cluster[cursor].height();
if (cost < lowestcost) {
- bool bad=FALSE;
+ bool bad=false;
for (int c=0; c<count && !bad; c++) {
bad=cluster[c].intersects(larger) && c!=cursor;
}
@@ -203,7 +203,7 @@ void TQCanvasClusterizer::add(const TQRect& rect)
int cost=larger.width()*larger.height()
- cluster[cursor].width()*cluster[cursor].height();
if (cost < lowestcost) {
- bool bad=FALSE;
+ bool bad=false;
for (int c=0; c<count && !bad; c++) {
bad=cluster[c].intersects(larger) && c!=cursor;
}
@@ -233,7 +233,7 @@ void TQCanvasClusterizer::add(const TQRect& rect)
- cluster[merge1].width()*cluster[merge1].height()
- cluster[merge2].width()*cluster[merge2].height();
if (cost < lowestcost) {
- bool bad=FALSE;
+ bool bad=false;
for (int c=0; c<count && !bad; c++) {
bad=cluster[c].intersects(larger) && c!=cursor;
}
@@ -368,7 +368,7 @@ TQCanvasItemList TQCanvasItemList::operator+(const TQCanvasItemList &l) const
class TQCanvasChunk {
public:
- TQCanvasChunk() : changed(TRUE) { }
+ TQCanvasChunk() : changed(true) { }
// Other code assumes lists are not deleted. Assignment is also
// done on ChunkRecs. So don't add that sort of thing here.
@@ -385,18 +385,18 @@ public:
void add(TQCanvasItem* item)
{
list.prepend(item);
- changed = TRUE;
+ changed = true;
}
void remove(TQCanvasItem* item)
{
list.remove(item);
- changed = TRUE;
+ changed = true;
}
void change()
{
- changed = TRUE;
+ changed = true;
}
bool hasChanged() const
@@ -407,7 +407,7 @@ public:
bool takeChange()
{
bool y = changed;
- changed = FALSE;
+ changed = false;
return y;
}
@@ -468,7 +468,7 @@ static int scm(int a, int b)
Items appear on the canvas after their \link TQCanvasItem::show()
show()\endlink function has been called (or \link
- TQCanvasItem::setVisible() setVisible(TRUE)\endlink), and \e after
+ TQCanvasItem::setVisible() setVisible(true)\endlink), and \e after
update() has been called. The canvas only shows items that are
\link TQCanvasItem::setVisible() visible\endlink, and then only if
\l update() is called. (By default the canvas is white and so are
@@ -535,7 +535,7 @@ static int scm(int a, int b)
held as floating-point numbers. Moving canvas items also have x and y
velocities. It's possible for a canvas item to be outside the canvas
(for example TQCanvasItem::x() is greater than width()). When a canvas
- item is off the canvas, onCanvas() returns FALSE and the canvas
+ item is off the canvas, onCanvas() returns false and the canvas
disregards the item. (Canvas items off the canvas do not slow down any
of the common operations on the canvas.)
@@ -613,8 +613,8 @@ void TQCanvas::init(int w, int h, int chunksze, int mxclusters)
grid = 0;
htiles = 0;
vtiles = 0;
- dblbuf = TRUE;
- debug_redraw_areas = FALSE;
+ dblbuf = true;
+ debug_redraw_areas = false;
}
/*!
@@ -862,8 +862,8 @@ void TQCanvas::retune(int chunksze, int mxclusters)
/*!
\fn bool TQCanvas::onCanvas( int x, int y ) const
- Returns TRUE if the pixel position (\a x, \a y) is on the canvas;
- otherwise returns FALSE.
+ Returns true if the pixel position (\a x, \a y) is on the canvas;
+ otherwise returns false.
\sa validChunk()
*/
@@ -872,8 +872,8 @@ void TQCanvas::retune(int chunksze, int mxclusters)
\fn bool TQCanvas::onCanvas( const TQPoint& p ) const
\overload
- Returns TRUE if the pixel position \a p is on the canvas;
- otherwise returns FALSE.
+ Returns true if the pixel position \a p is on the canvas;
+ otherwise returns false.
\sa validChunk()
*/
@@ -881,8 +881,8 @@ void TQCanvas::retune(int chunksze, int mxclusters)
/*!
\fn bool TQCanvas::validChunk( int x, int y ) const
- Returns TRUE if the chunk position (\a x, \a y) is on the canvas;
- otherwise returns FALSE.
+ Returns true if the chunk position (\a x, \a y) is on the canvas;
+ otherwise returns false.
\sa onCanvas()
*/
@@ -891,8 +891,8 @@ void TQCanvas::retune(int chunksze, int mxclusters)
\fn bool TQCanvas::validChunk( const TQPoint& p ) const
\overload
- Returns TRUE if the chunk position \a p is on the canvas; otherwise
- returns FALSE.
+ Returns true if the chunk position \a p is on the canvas; otherwise
+ returns false.
\sa onCanvas()
*/
@@ -1116,12 +1116,12 @@ void TQCanvas::drawViewArea( TQCanvasView* view, TQPainter* p, const TQRect& vr,
#ifndef TQT_NO_TRANSFORMATIONS
twm.translate(-vr.x(),-vr.y());
twm.translate(-tl.x(),-tl.y());
- dbp.setWorldMatrix( wm*twm, TRUE );
+ dbp.setWorldMatrix( wm*twm, true );
#else
dbp.translate(-vr.x()-tl.x(),-vr.y()-tl.y());
#endif
dbp.setClipRect(0,0,vr.width(), vr.height());
- drawCanvasArea(ivr,&dbp,FALSE);
+ drawCanvasArea(ivr,&dbp,false);
dbp.end();
p->drawPixmap(vr.x(), vr.y(), offscr, 0, 0, vr.width(), vr.height());
} else {
@@ -1140,7 +1140,7 @@ void TQCanvas::drawViewArea( TQCanvasView* view, TQPainter* p, const TQRect& vr,
#else
#endif
p->setBrushOrigin(tl.x(), tl.y());
- drawCanvasArea(ivr,p,FALSE);
+ drawCanvasArea(ivr,p,false);
}
}
@@ -1154,7 +1154,7 @@ void TQCanvas::update()
TQCanvasClusterizer clusterizer(d->viewList.count());
#ifndef TQT_NO_TRANSFORMATIONS
TQPtrList<TQRect> doneareas;
- doneareas.setAutoDelete(TRUE);
+ doneareas.setAutoDelete(true);
#endif
TQPtrListIterator<TQCanvasView> it(d->viewList);
@@ -1348,7 +1348,7 @@ void TQCanvas::drawChanges(const TQRect& inarea)
/*!
Paints all canvas items that are in the area \a clip to \a
- painter, using double-buffering if \a dbuf is TRUE.
+ painter, using double-buffering if \a dbuf is true.
e.g. to print the canvas to a printer:
\code
@@ -1373,7 +1373,7 @@ void TQCanvas::drawCanvasArea(const TQRect& inarea, TQPainter* p, bool double_bu
TQRect area=inarea.intersect(TQRect(0,0,width(),height()));
if ( !dblbuf )
- double_buffer = FALSE;
+ double_buffer = false;
if (!d->viewList.first() && !p) return; // Nothing to do.
@@ -1702,7 +1702,7 @@ void TQCanvas::drawForeground(TQPainter& painter, const TQRect& clip)
}
/*!
- If \a y is TRUE (the default) double-buffering is switched on;
+ If \a y is true (the default) double-buffering is switched on;
otherwise double-buffering is switched off.
Turning off double-buffering causes the redrawn areas to flicker a
@@ -1868,7 +1868,7 @@ class TQCanvasItemExtra {
Items appear on the canvas after their \link show() show()\endlink
function has been called (or \link setVisible()
- setVisible(TRUE)\endlink), and \e after update() has been called. The
+ setVisible(true)\endlink), and \e after update() has been called. The
canvas only shows items that are \link setVisible() visible\endlink,
and then only if \l update() is called. If you created the canvas
without passing a width and height to the constructor you'll also need
@@ -2044,8 +2044,8 @@ void TQCanvasItem::move( double x, double y )
/*!
- Returns TRUE if the canvas item is in motion; otherwise returns
- FALSE.
+ Returns true if the canvas item is in motion; otherwise returns
+ false.
\sa setVelocity(), setAnimated()
*/
@@ -2055,8 +2055,8 @@ bool TQCanvasItem::animated() const
}
/*!
- Sets the canvas item to be in motion if \a y is TRUE, or not if \a
- y is FALSE. The speed and direction of the motion is set with
+ Sets the canvas item to be in motion if \a y is true, or not if \a
+ y is false. The speed and direction of the motion is set with
setVelocity(), or with setXVelocity() and setYVelocity().
\sa advance(), TQCanvas::advance()
@@ -2099,7 +2099,7 @@ void TQCanvasItem::setVelocity( double vx, double vy)
{
if ( ext || vx!=0.0 || vy!=0.0 ) {
if ( !ani )
- setAnimated(TRUE);
+ setAnimated(true);
extra().vx = vx;
extra().vy = vy;
}
@@ -2159,7 +2159,7 @@ void TQCanvasItem::advance(int phase)
void TQCanvasItem::setCanvas(TQCanvas* c)
{
bool v=isVisible();
- setVisible(FALSE);
+ setVisible(false);
if (cnv) {
if (ext)
cnv->removeAnimation(this);
@@ -2180,21 +2180,21 @@ void TQCanvasItem::setCanvas(TQCanvas* c)
Returns the canvas containing the canvas item.
*/
-/*! Shorthand for setVisible(TRUE). */
+/*! Shorthand for setVisible(true). */
void TQCanvasItem::show()
{
- setVisible(TRUE);
+ setVisible(true);
}
-/*! Shorthand for setVisible(FALSE). */
+/*! Shorthand for setVisible(false). */
void TQCanvasItem::hide()
{
- setVisible(FALSE);
+ setVisible(false);
}
/*!
- Makes the canvas item visible if \a yes is TRUE, or invisible if
- \a yes is FALSE. The change takes effect when TQCanvas::update() is
+ Makes the canvas item visible if \a yes is true, or invisible if
+ \a yes is false. The change takes effect when TQCanvas::update() is
next called.
*/
void TQCanvasItem::setVisible(bool yes)
@@ -2218,10 +2218,10 @@ void TQCanvasItem::setVisible(bool yes)
/*!
\fn bool TQCanvasItem::isVisible() const
- Returns TRUE if the canvas item is visible; otherwise returns
- FALSE.
+ Returns true if the canvas item is visible; otherwise returns
+ false.
- Note that in this context TRUE does \e not mean that the canvas
+ Note that in this context true does \e not mean that the canvas
item is currently in a view, merely that if a view is showing the
area where the canvas item is positioned, and the item is not
obscured by items with higher z values, and the view is not
@@ -2239,7 +2239,7 @@ void TQCanvasItem::setVisible(bool yes)
/*!
\fn bool TQCanvasItem::isSelected() const
- Returns TRUE if the canvas item is selected; otherwise returns FALSE.
+ Returns true if the canvas item is selected; otherwise returns false.
*/
/*!
@@ -2269,7 +2269,7 @@ void TQCanvasItem::setSelected(bool yes)
/*!
\fn bool TQCanvasItem::isEnabled() const
- Returns TRUE if the TQCanvasItem is enabled; otherwise returns FALSE.
+ Returns true if the TQCanvasItem is enabled; otherwise returns false.
*/
/*!
@@ -2299,7 +2299,7 @@ void TQCanvasItem::setEnabled(bool yes)
/*!
\fn bool TQCanvasItem::isActive() const
- Returns TRUE if the TQCanvasItem is active; otherwise returns FALSE.
+ Returns true if the TQCanvasItem is active; otherwise returns false.
*/
/*!
@@ -2335,7 +2335,7 @@ bool qt_testCollision(const TQCanvasSprite* s1, const TQCanvasSprite* s2)
TQRect ourarea = s1area.intersect(cyourarea);
if ( ourarea.isEmpty() )
- return FALSE;
+ return false;
int x2=ourarea.x()-cyourarea.x();
int y2=ourarea.y()-cyourarea.y();
@@ -2375,7 +2375,7 @@ bool qt_testCollision(const TQCanvasSprite* s1, const TQCanvasSprite* s2)
if (*(yl + ((x2+i) >> 3)) & (1 << ((x2+i) & 7))
&& *(ml + ((x1+i) >> 3)) & (1 << ((x1+i) & 7)))
{
- return TRUE;
+ return true;
}
}
}
@@ -2387,7 +2387,7 @@ bool qt_testCollision(const TQCanvasSprite* s1, const TQCanvasSprite* s2)
if (*(yl + ((x2+i) >> 3)) & (1 << (7-((x2+i) & 7)))
&& *(ml + ((x1+i) >> 3)) & (1 << (7-((x1+i) & 7))))
{
- return TRUE;
+ return true;
}
}
}
@@ -2399,7 +2399,7 @@ bool qt_testCollision(const TQCanvasSprite* s1, const TQCanvasSprite* s2)
for (int i=0; i<w; i++) {
if (*(yl + ((x2+i) >> 3)) & (1 << ((x2+i) & 7)))
{
- return TRUE;
+ return true;
}
}
}
@@ -2409,14 +2409,14 @@ bool qt_testCollision(const TQCanvasSprite* s1, const TQCanvasSprite* s2)
for (int i=0; i<w; i++) {
if (*(yl + ((x2+i) >> 3)) & (1 << (7-((x2+i) & 7))))
{
- return TRUE;
+ return true;
}
}
}
}
}
- return FALSE;
+ return false;
}
static bool collision_double_dispatch( const TQCanvasSprite* s1,
@@ -2463,7 +2463,7 @@ static bool collision_double_dispatch( const TQCanvasSprite* s1,
TQPointArray pa1 = p1->areaPointsAdvanced();
TQPointArray pa2 = p2 ? p2->areaPointsAdvanced()
: TQPointArray(i2->boundingRectAdvanced());
- bool col= !(TQRegion(pa1) & TQRegion(pa2,TRUE)).isEmpty();
+ bool col= !(TQRegion(pa1) & TQRegion(pa2,true)).isEmpty();
return col;
} else {
@@ -2475,9 +2475,9 @@ static bool collision_double_dispatch( const TQCanvasSprite* s1,
/*!
\fn bool TQCanvasItem::collidesWith( const TQCanvasItem* other ) const
- Returns TRUE if the canvas item will collide with the \a other
+ Returns true if the canvas item will collide with the \a other
item \e after they have moved by their current velocities;
- otherwise returns FALSE.
+ otherwise returns false.
\sa collisions()
*/
@@ -2544,8 +2544,8 @@ bool TQCanvasSprite::collidesWith( const TQCanvasItem* i ) const
}
/*!
- Returns TRUE if the canvas item collides with any of the given
- items; otherwise returns FALSE. The parameters, \a s, \a p, \a r,
+ Returns true if the canvas item collides with any of the given
+ items; otherwise returns false. The parameters, \a s, \a p, \a r,
\a e and \a t, are all the same object, this is just a type
resolution trick.
*/
@@ -2637,10 +2637,10 @@ bool TQCanvasText::collidesWith( const TQCanvasSprite* s,
detection can be slow, this function works in either exact or
inexact mode, according to the \a exact parameter.
- If \a exact is TRUE, the canvas items returned have been
+ If \a exact is true, the canvas items returned have been
accurately tested for collision with the canvas item.
- If \a exact is FALSE, the canvas items returned are \e near the
+ If \a exact is false, the canvas items returned are \e near the
canvas item. You can test the canvas items returned using
collidesWith() if any are interesting collision candidates. By
using this approach, you can ignore some canvas items for which
@@ -2692,7 +2692,7 @@ TQCanvasItemList TQCanvas::collisions(const TQRect& r) const
TQCanvasRectangle i(r,(TQCanvas*)this);
i.setPen(NoPen);
i.show(); // doesn't actually show, since we destroy it
- TQCanvasItemList l = i.collisions(TRUE);
+ TQCanvasItemList l = i.collisions(true);
l.sort();
return l;
}
@@ -2701,7 +2701,7 @@ TQCanvasItemList TQCanvas::collisions(const TQRect& r) const
\overload
Returns a list of canvas items which intersect with the chunks
- listed in \a chunklist, excluding \a item. If \a exact is TRUE,
+ listed in \a chunklist, excluding \a item. If \a exact is true,
only those which actually \link TQCanvasItem::collidesWith()
collide with\endlink \a item are returned; otherwise canvas items
are included just for being in the chunks.
@@ -2744,7 +2744,7 @@ void TQCanvasItem::addToChunks()
TQPointArray pa = chunks();
for (int i=0; i<(int)pa.count(); i++)
canvas()->addItemToChunk(this,pa[i].x(),pa[i].y());
- val=(uint)TRUE;
+ val=(uint)true;
}
}
@@ -2962,7 +2962,7 @@ TQCanvasPixmap::~TQCanvasPixmap()
*/
/*!
- Constructs an invalid array (i.e. isValid() will return FALSE).
+ Constructs an invalid array (i.e. isValid() will return false).
You must call readPixmaps() before being able to use this
TQCanvasPixmapArray.
*/
@@ -2989,7 +2989,7 @@ TQCanvasPixmapArray::TQCanvasPixmapArray()
If \a datafilenamepattern does not exist, is not readable, isn't
an image, or some other error occurs, the array ends up empty and
- isValid() returns FALSE.
+ isValid() returns false.
*/
TQCanvasPixmapArray::TQCanvasPixmapArray( const TQString& datafilenamepattern,
@@ -3033,7 +3033,7 @@ TQCanvasPixmapArray::TQCanvasPixmapArray(TQPtrList<TQPixmap> list, TQPtrList<TQP
hotspots array. If no hotspots are specified, each one is set to
be at position (0, 0).
- If an error occurs, isValid() will return FALSE.
+ If an error occurs, isValid() will return false.
*/
TQCanvasPixmapArray::TQCanvasPixmapArray(TQValueList<TQPixmap> list, TQPointArray hotspots) :
framecount((int)list.size()),
@@ -3087,15 +3087,15 @@ void TQCanvasPixmapArray::reset()
If \a filenamepattern does not exist, is not readable, isn't an
image, or some other error occurs, this function will return
- FALSE, and isValid() will return FALSE; otherwise this function
- will return TRUE.
+ false, and isValid() will return false; otherwise this function
+ will return true.
\sa isValid()
*/
bool TQCanvasPixmapArray::readPixmaps( const TQString& filenamepattern,
int fc)
{
- return readPixmaps(filenamepattern,fc,FALSE);
+ return readPixmaps(filenamepattern,fc,false);
}
/*!
@@ -3114,15 +3114,15 @@ bool TQCanvasPixmapArray::readPixmaps( const TQString& filenamepattern,
will fail.
If the file isn't readable, contains the wrong number of images,
- or there is some other error, this function will return FALSE, and
+ or there is some other error, this function will return false, and
the array will be flagged as invalid; otherwise this function
- returns TRUE.
+ returns true.
\sa isValid()
*/
bool TQCanvasPixmapArray::readCollisionMasks(const TQString& filename)
{
- return readPixmaps(filename,framecount,TRUE);
+ return readPixmaps(filename,framecount,true);
}
@@ -3137,8 +3137,8 @@ bool TQCanvasPixmapArray::readPixmaps( const TQString& datafilenamepattern,
img = new TQCanvasPixmap*[framecount];
}
if (!img)
- return FALSE;
- bool ok = TRUE;
+ return false;
+ bool ok = true;
bool arg = fc > 1;
if ( !arg )
framecount=1;
@@ -3171,7 +3171,7 @@ bool TQCanvasPixmapArray::readPixmaps( const TQString& datafilenamepattern,
Use isValid() instead.
- This returns FALSE if the array is valid, and TRUE if it is not.
+ This returns false if the array is valid, and true if it is not.
*/
bool TQCanvasPixmapArray::operator!()
{
@@ -3179,8 +3179,8 @@ bool TQCanvasPixmapArray::operator!()
}
/*!
- Returns TRUE if the pixmap array is valid; otherwise returns
- FALSE.
+ Returns true if the pixmap array is valid; otherwise returns
+ false.
*/
bool TQCanvasPixmapArray::isValid() const
{
@@ -3622,7 +3622,7 @@ const TQWMatrix &TQCanvasView::inverseWorldMatrix() const
When you use this, you should note that the performance of the
TQCanvasView will decrease considerably.
- Returns FALSE if \a wm is not invertable; otherwise returns TRUE.
+ Returns false if \a wm is not invertable; otherwise returns true.
\sa worldMatrix() inverseWorldMatrix() TQWMatrix::isInvertible()
*/
@@ -3693,9 +3693,9 @@ void TQCanvasView::drawContents(TQPainter *p, int cx, int cy, int cw, int ch)
{
TQRect r(cx,cy,cw,ch);
if (viewing) {
- //viewing->drawViewArea(this,p,r,TRUE);
+ //viewing->drawViewArea(this,p,r,true);
viewing->drawViewArea(this,p,r,!d->repaint_from_moving);
- d->repaint_from_moving = FALSE;
+ d->repaint_from_moving = false;
} else {
p->eraseRect(r);
}
@@ -3825,8 +3825,8 @@ TQCanvasPolygonalItem::~TQCanvasPolygonalItem()
}
/*!
- Returns TRUE if the polygonal item uses the winding algorithm to
- determine the "inside" of the polygon. Returns FALSE if it uses
+ Returns true if the polygonal item uses the winding algorithm to
+ determine the "inside" of the polygon. Returns false if it uses
the odd-even algorithm.
The default is to use the odd-even algorithm.
@@ -3839,7 +3839,7 @@ bool TQCanvasPolygonalItem::winding() const
}
/*!
- If \a enable is TRUE, the polygonal item will use the winding
+ If \a enable is true, the polygonal item will use the winding
algorithm to determine the "inside" of the polygon; otherwise the
odd-even algorithm will be used.
@@ -3861,15 +3861,15 @@ void TQCanvasPolygonalItem::setWinding(bool enable)
*/
void TQCanvasPolygonalItem::invalidate()
{
- val = (uint)FALSE;
+ val = (uint)false;
removeFromChunks();
}
/*!
\fn TQCanvasPolygonalItem::isValid() const
- Returns TRUE if the polygonal item's area information has not been
- invalidated; otherwise returns FALSE.
+ Returns true if the polygonal item's area information has not been
+ invalidated; otherwise returns false.
\sa invalidate()
*/
@@ -4266,7 +4266,7 @@ void TQCanvasPolygon::moveBy(double dx, double dy)
*/
TQCanvasSpline::TQCanvasSpline(TQCanvas* canvas) :
TQCanvasPolygon(canvas),
- cl(TRUE)
+ cl(true)
{
}
@@ -4282,9 +4282,9 @@ TQCanvasSpline::~TQCanvasSpline()
/*!
Set the spline control points to \a ctrl.
- If \a close is TRUE, then the first point in \a ctrl will be
+ If \a close is true, then the first point in \a ctrl will be
re-used as the last point, and the number of control points must
- be a multiple of 3. If \a close is FALSE, one additional control
+ be a multiple of 3. If \a close is false, one additional control
point is required, and the number of control points must be one of
(4, 7, 10, 13, ...).
@@ -4316,8 +4316,8 @@ TQPointArray TQCanvasSpline::controlPoints() const
}
/*!
- Returns TRUE if the control points are a closed set; otherwise
- returns FALSE.
+ Returns true if the control points are a closed set; otherwise
+ returns false.
*/
bool TQCanvasSpline::closed() const
{
@@ -4327,7 +4327,7 @@ bool TQCanvasSpline::closed() const
void TQCanvasSpline::recalcPoly()
{
TQPtrList<TQPointArray> segs;
- segs.setAutoDelete(TRUE);
+ segs.setAutoDelete(true);
int n=0;
for (int i=0; i<(int)bez.count()-1; i+=3) {
TQPointArray ctrl(4);
@@ -5310,7 +5310,7 @@ void TQCanvasSprite::setFrameAnimation(FrameAnimationType type, int step, int st
anim_val = step;
anim_type = type;
anim_state = state;
- setAnimated(TRUE);
+ setAnimated(true);
}
/*!