X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fview%2Fview.h;h=50de7bd2886af77f006694098588ce445a441136;hp=5138266d06e766c94c717875ff82d8da0df08a16;hb=61be2f8d3c96e01da8e6ade2a76a192ff6ab6945;hpb=1b1e10a3f4e486553200d8ddeb57d953c2284579 diff --git a/dali-toolkit/public-api/controls/view/view.h b/dali-toolkit/public-api/controls/view/view.h index 5138266..50de7bd 100644 --- a/dali-toolkit/public-api/controls/view/view.h +++ b/dali-toolkit/public-api/controls/view/view.h @@ -2,7 +2,7 @@ #define __DALI_TOOLKIT_VIEW_H__ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2015 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -63,13 +63,12 @@ class View; * mView.SetBackground( backgroundImageActor ); * * // Connects the orientation signal with the View::OrientationChanged method. - * application.GetOrientation().ChangedSignal().Connect( &view, &Toolkit::View::OrientationChanged ); + * application.GetWindow().GetOrientation().ChangedSignal().Connect( &view, &Toolkit::View::OrientationChanged ); * * // Create a content layer. * Layer contentLayer = Layer::New(); * contentLayer.SetAnchorPoint( AnchorPoint::CENTER ); * contentLayer.SetParentOrigin( ParentOrigin::CENTER ); - * contentLayer.ApplyConstraint( ParentConstraint::Size::New( ParentSize() ) ); * view.AddContentLayer( contentLayer ); * \endcode *