// Created: 9/11/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
-// Licence: wxWindows license
+// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
: mpScrDc( NULL ),
mpAnimTimer( 0 ),
- mAnimStarted( FALSE ),
+ mAnimStarted( false ),
mMorphDelay ( 5 ),
mMaxFrames ( 20 ),
mInClientHintBorder( 4 ),
- mAccelerationOn( TRUE )
+ mAccelerationOn( true )
{}
cbHintAnimationPlugin::cbHintAnimationPlugin( wxFrameLayout* pPanel, int paneMask )
: cbPluginBase( pPanel, paneMask ),
mpScrDc( NULL ),
mpAnimTimer( 0 ),
- mAnimStarted( FALSE ),
+ mAnimStarted( false ),
mMorphDelay ( 5 ),
mMaxFrames ( 20 ),
mInClientHintBorder( 4 ),
- mAccelerationOn( TRUE )
+ mAccelerationOn( true )
{}
cbHintAnimationPlugin::~cbHintAnimationPlugin()
mPrevRect = event.mRect;
- mStopPending = FALSE;
+ mStopPending = false;
}
if ( !event.mEraseRect )
mpAnimTimer->Init( this, mAnimStarted );
- mAnimStarted = TRUE;
+ mAnimStarted = true;
}
else
if ( !mAnimStarted )
if ( event.mLastTime && mpAnimTimer )
{
- mStopPending = TRUE;
+ mStopPending = true;
if ( mpAnimTimer->mPrevMorphed.x != POS_UNDEFINED )
mpPl->FinishTracking();
- mpPl->mStopPending = FALSE;
+ mpPl->mStopPending = false;
mpPl->mpAnimTimer = NULL;
- mpPl->mAnimStarted = FALSE;
+ mpPl->mAnimStarted = false;
mPrevMorphed.x = POS_UNDEFINED;
mpPl->FinishTracking();
mpPl->mpAnimTimer = NULL;
- mpPl->mAnimStarted = FALSE;
+ mpPl->mAnimStarted = false;
mPrevMorphed.x = POS_UNDEFINED;
Start( mpPl->mMorphDelay );
- return TRUE;
+ return true;
}