{
Image tail = ResourceImage::New( image );
mTailImage = ImageActor::New(tail);
- const Vector3 anchorPoint = AnchorPoint::FRONT_BOTTOM_RIGHT - position;
+ const Vector3 anchorPoint = AnchorPoint::BOTTOM_RIGHT - position;
mTailImage.SetParentOrigin(position);
mTailImage.SetAnchorPoint(anchorPoint);
void Slider::SetBackingImageName( const std::string& imageName )
{
- if( mBacking && imageName != String::EMPTY )
+ if( mBacking && ( imageName.size() > 0 ) )
{
Image image = ResourceImage::New( imageName );
mBacking.SetImage( image );
void Slider::SetProgressImageName( const std::string& imageName )
{
- if( mProgress && imageName != String::EMPTY )
+ if( mProgress && ( imageName.size() > 0 ) )
{
Image image = ResourceImage::New( imageName );
mProgress.SetImage( image );
void Slider::CreatePopupImage( const std::string& imageName )
{
- if( mPopup && imageName != String::EMPTY )
+ if( mPopup && ( imageName.size() > 0 ) )
{
Image image = ResourceImage::New( imageName );
mPopup.SetImage( image );
void Slider::CreatePopupArrowImage( const std::string& imageName )
{
- if( mPopupArrow && imageName != String::EMPTY )
+ if( mPopupArrow && ( imageName.size() > 0 ) )
{
Image image = ResourceImage::New( imageName );
mPopupArrow.SetImage( image );
void Slider::SetHandleImageName( const std::string& imageName )
{
- if( mHandle && imageName != String::EMPTY )
+ if( mHandle && ( imageName.size() > 0 ) )
{
Image image = ResourceImage::New( imageName );
mHandle.SetImage( image );