defaultWindow->SetAdaptor( Get() );
- Dali::Window window( dynamic_cast<Dali::Internal::Adaptor::Window*>( ( &defaultWindow )->Get() ) );
- if ( window )
- {
- mWindowCreatedSignal.Emit( window );
- }
-
const unsigned int timeInterval = mEnvironmentOptions->GetObjectProfilerInterval();
if( 0u < timeInterval )
{
// Add the new Window to the container - the order is not important
mWindows.push_back( SceneHolderPtr( &windowImpl ) );
-
- Dali::Window window( dynamic_cast<Dali::Internal::Adaptor::Window*>( &windowImpl ) );
- if ( window )
- {
- mWindowCreatedSignal.Emit( window );
- }
-
return true;
}
return nullptr;
}
-Dali::WindowContainer Adaptor::GetWindows() const
-{
- Dali::WindowContainer windows;
-
- for ( auto iter = mWindows.begin(); iter != mWindows.end(); ++iter )
- {
- // Downcast to Dali::Window
- Dali::Window window( dynamic_cast<Dali::Internal::Adaptor::Window*>( iter->Get() ) );
- if ( window )
- {
- windows.push_back( window );
- }
- }
-
- return windows;
-}
-
Adaptor::Adaptor(Dali::Integration::SceneHolder window, Dali::Adaptor& adaptor, Dali::RenderSurfaceInterface* surface, EnvironmentOptions* environmentOptions)
: mResizedSignal(),
mLanguageChangedSignal(),
- mWindowCreatedSignal(),
mAdaptor( adaptor ),
mState( READY ),
mCore( nullptr ),