Image CreateSolidColorImage( const Vector4& color, unsigned int width, unsigned int height )
{
- BitmapImage imageData = BitmapImage::New( width, height, Pixel::RGBA8888 );
+ BufferImage imageData = BufferImage::New( width, height, Pixel::RGBA8888 );
// Create the image
PixelBuffer* pixbuf = imageData.GetBuffer();
application.SendNotification();
application.Render();
- TextView textView;
-
pushButton.SetLabel( STR );
- textView = TextView::DownCast( pushButton.GetLabel() );
- DALI_TEST_CHECK( STR == textView.GetText() );
-
- TextView text = TextView::New( STR );
- pushButton.SetLabel( text );
-
- textView = TextView::DownCast( pushButton.GetLabel() );
- DALI_TEST_CHECK( STR == textView.GetText() );
END_TEST;
}