- if( NULL == mImpl->mAutoScrollData )
- {
- mImpl->mAutoScrollData = new ScrollerData();
- }
-
- mImpl->mAutoScrollData->mScrollSpeed = scrollSpeed;
-}
-
-int Controller::GetAutoScrollSpeed() const
-{
- if( NULL != mImpl->mAutoScrollData )
- {
- return mImpl->mAutoScrollData->mScrollSpeed;
- }
-
- return 0;
-}
-
-void Controller::SetAutoScrollLoopCount( int loopCount )
-{
- if( NULL == mImpl->mAutoScrollData )
- {
- mImpl->mAutoScrollData = new ScrollerData();
- }
-
- mImpl->mAutoScrollData->mLoopCount = loopCount;
-}
-
-int Controller::GetAutoScrollLoopCount() const
-{
- if( NULL != mImpl->mAutoScrollData )
- {
- return mImpl->mAutoScrollData->mLoopCount;
- }
-
- return 0;
-}
-
-void Controller::SetAutoScrollWrapGap( float wrapGap )
-{
- if( NULL == mImpl->mAutoScrollData )
- {
- mImpl->mAutoScrollData = new ScrollerData();
- }
-
- mImpl->mAutoScrollData->mWrapGap = wrapGap;