X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fscroll-view.h;h=f23644053d33d8b06c76a642c8aa80f96ebdeb46;hb=266f5b8959b7e9e1215be278dac13347c358af47;hp=cd0307c25e4c8d4233f5b566d9ddc5e4b9d1f36f;hpb=01864cd4216d958c5f0e95643dbbeca7c9937716;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/docs/content/programming-guide/scroll-view.h b/docs/content/programming-guide/scroll-view.h index cd0307c..f236440 100644 --- a/docs/content/programming-guide/scroll-view.h +++ b/docs/content/programming-guide/scroll-view.h @@ -31,9 +31,8 @@ Add Actors to this ScrollView @code - Image image = Image::New(DALI_IMAGE_DIR "button-background.png"); - ImageActor imageActor = ImageActor::New(image); - myScrollView.Add( imageActor ); + Toolkit::ImageView imageView = Toolkit::ImageView::New(DALI_IMAGE_DIR "button-background.png"); + myScrollView.Add( imageView ); @endcode The ScrollView contents are now draggable by the user using touch (panning gestures).