projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Model3dView control to use SetTexture
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
text-scroller.cpp
diff --git
a/dali-toolkit/internal/text/text-scroller.cpp
b/dali-toolkit/internal/text/text-scroller.cpp
index
1201619
..
3c9b450
100644
(file)
--- a/
dali-toolkit/internal/text/text-scroller.cpp
+++ b/
dali-toolkit/internal/text/text-scroller.cpp
@@
-197,12
+197,12
@@
TextScrollerPtr TextScroller::New( ScrollerInterface& scrollerInterface )
void TextScroller::SetGap( int gap )
{
DALI_LOG_INFO( gLogFilter, Debug::Verbose, "TextScroller::SetGap gap[%d]\n", gap );
void TextScroller::SetGap( int gap )
{
DALI_LOG_INFO( gLogFilter, Debug::Verbose, "TextScroller::SetGap gap[%d]\n", gap );
- mWrapGap =
gap
;
+ mWrapGap =
static_cast<float>(gap)
;
}
int TextScroller::GetGap() const
{
}
int TextScroller::GetGap() const
{
- return
mWrapGap
;
+ return
static_cast<int>(mWrapGap)
;
}
void TextScroller::SetSpeed( int scrollSpeed )
}
void TextScroller::SetSpeed( int scrollSpeed )
@@
-252,7
+252,7
@@
TextScroller::TextScroller( ScrollerInterface& scrollerInterface ) : mScrollerIn
mScrollDeltaIndex( Property::INVALID_INDEX ),
mScrollSpeed( MINIMUM_SCROLL_SPEED ),
mLoopCount( 1 ),
mScrollDeltaIndex( Property::INVALID_INDEX ),
mScrollSpeed( MINIMUM_SCROLL_SPEED ),
mLoopCount( 1 ),
- mWrapGap( 0 )
+ mWrapGap( 0
.0f
)
{
DALI_LOG_INFO( gLogFilter, Debug::Verbose, "TextScroller Default Constructor\n" );
}
{
DALI_LOG_INFO( gLogFilter, Debug::Verbose, "TextScroller Default Constructor\n" );
}
@@
-286,7
+286,7
@@
void TextScroller::SetParameters( Actor sourceActor, const Size& controlSize, co
mOffscreenCameraActor.SetY( offScreenSize.height * 0.5f );
mOffscreenCameraActor.SetY( offScreenSize.height * 0.5f );
- DALI_LOG_INFO( gLogFilter, Debug::Verbose, "TextScroller::SetParameters mWrapGap[%
d
]\n", mWrapGap )
+ DALI_LOG_INFO( gLogFilter, Debug::Verbose, "TextScroller::SetParameters mWrapGap[%
f
]\n", mWrapGap )
mScrollingTextActor = Actor::New();
mScrollingTextActor.AddRenderer( renderer );
mScrollingTextActor = Actor::New();
mScrollingTextActor.AddRenderer( renderer );