}
}
+void Application::DoStart()
+{
+ mAdaptor->NotifySceneCreated();
+}
+
void Application::DoTerminate()
{
if( mAdaptor )
Dali::Application application(this);
mInitSignal.Emit( application );
- mAdaptor->NotifySceneCreated();
+ DoStart();
}
void Application::OnTerminate()
void Application::OnPause()
{
- DoPause();
+ // A DALi app should handle Pause/Resume events.
+ // DALi just delivers the framework Pause event to the application, but not actually pause DALi core.
+ // Pausing DALi core only occurs on the Window Hidden framework event
Dali::Application application(this);
mPauseSignal.Emit( application );
}
// This ensures we do not just redraw the last frame before pausing if that's not required
Dali::Application application(this);
mResumeSignal.Emit( application );
- DoResume();
+
+ // DALi just delivers the framework Resume event to the application.
+ // Resuming DALi core only occurs on the Window Show framework event
}
void Application::OnReset()