Window& windowImpl = Dali::GetImplementation(window);
Dali::Adaptor* adaptor = New( winId, windowImpl.GetSurface(), configuration, environmentOptions );
+
+ Internal::Adaptor::Adaptor::GetImplementation( *adaptor ).SetWindow( window );
windowImpl.SetAdaptor(*adaptor);
return adaptor;
}
mTriggerEventFactory(),
mObjectProfiler( NULL ),
mSocketFactory(),
+ mWindow(),
mEnvironmentOptionsOwned( environmentOptions ? false : true /* If not provided then we own the object */ ),
mUseRemoteSurface( false )
{
static_cast< LayoutDirection::Type >( Internal::Adaptor::Locale::GetDirection( std::string( locale ) ) ) );
}
+void Adaptor::SetWindow( Dali::Window window )
+{
+ mWindow = window;
+}
+
+Dali::Window Adaptor::GetWindow()
+{
+ return mWindow;
+}
+
} // namespace Adaptor
} // namespace Internal