try
{
- Dali::Vector< Dali::GlWindow::GlWindowOrientation> orientations;
- orientations.PushBack( Dali::GlWindow::GlWindowOrientation::PORTRAIT );
- orientations.PushBack( Dali::GlWindow::GlWindowOrientation::LANDSCAPE );
- orientations.PushBack( Dali::GlWindow::GlWindowOrientation::PORTRAIT_INVERSE );
- orientations.PushBack( Dali::GlWindow::GlWindowOrientation::LANDSCAPE_INVERSE );
- orientations.PushBack( Dali::GlWindow::GlWindowOrientation::NO_ORIENTATION_PREFERENCE );
- orientations.PushBack( Dali::GlWindow::GlWindowOrientation::PORTRAIT );
- orientations.PushBack( Dali::GlWindow::GlWindowOrientation::LANDSCAPE );
- orientations.PushBack( Dali::GlWindow::GlWindowOrientation::PORTRAIT_INVERSE );
+ Dali::Vector< Dali::WindowOrientation> orientations;
+ orientations.PushBack( Dali::WindowOrientation::PORTRAIT );
+ orientations.PushBack( Dali::WindowOrientation::LANDSCAPE );
+ orientations.PushBack( Dali::WindowOrientation::PORTRAIT_INVERSE );
+ orientations.PushBack( Dali::WindowOrientation::LANDSCAPE_INVERSE );
+ orientations.PushBack( Dali::WindowOrientation::NO_ORIENTATION_PREFERENCE );
+ orientations.PushBack( Dali::WindowOrientation::PORTRAIT );
+ orientations.PushBack( Dali::WindowOrientation::LANDSCAPE );
+ orientations.PushBack( Dali::WindowOrientation::PORTRAIT_INVERSE );
window.SetAvailableOrientations(orientations);
DALI_TEST_CHECK( false );
try
{
- window.SetPreferredOrientation(Dali::GlWindow::GlWindowOrientation::PORTRAIT);
+ window.SetPreferredOrientation(Dali::WindowOrientation::PORTRAIT);
DALI_TEST_CHECK( false );
}
try
{
- window.SetPreferredOrientation(Dali::GlWindow::GlWindowOrientation::NO_ORIENTATION_PREFERENCE);
+ window.SetPreferredOrientation(Dali::WindowOrientation::NO_ORIENTATION_PREFERENCE);
DALI_TEST_CHECK( false );
}
try
{
- Dali::GlWindow::GlWindowOrientation orientation = window.GetCurrentOrientation();
- DALI_TEST_CHECK( orientation == Dali::GlWindow::GlWindowOrientation::PORTRAIT );
+ Dali::WindowOrientation orientation = window.GetCurrentOrientation();
+ DALI_TEST_CHECK( orientation == Dali::WindowOrientation::PORTRAIT );
DALI_TEST_CHECK( false );
}