Merge "Use orientation from Window not application" into tizen
authorPaul Wisbey <p.wisbey@samsung.com>
Thu, 16 Apr 2015 12:49:04 +0000 (05:49 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Thu, 16 Apr 2015 12:49:05 +0000 (05:49 -0700)
dali-toolkit/public-api/controls/view/view.h
dali-toolkit/public-api/styling/style-manager.h

index 99bcc31..b42340c 100644 (file)
@@ -63,7 +63,7 @@ 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();
index f7f22a6..2d19f4b 100644 (file)
@@ -51,7 +51,7 @@ class StyleManager;
  *   void OnInit(Application& app)
  *   {
  *      Toolkit::StyleManager::Get().RequestThemeChange( CUSTOM_THEME );
- *      Toolkit::StyleManager::Get().SetOrientation( app.GetOrientation() );
+ *      Toolkit::StyleManager::Get().SetOrientation( app.GetWindow().GetOrientation() );
  *      ...
  *   }
  * @endcode