diff options
Diffstat (limited to 'toolkit/doc/layout/vcl.txt')
-rw-r--r-- | toolkit/doc/layout/vcl.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/toolkit/doc/layout/vcl.txt b/toolkit/doc/layout/vcl.txt new file mode 100644 index 000000000000..dbafbc5b148d --- /dev/null +++ b/toolkit/doc/layout/vcl.txt @@ -0,0 +1,20 @@ +* How do very basic vcl widgets get peers: + + + toolkit/awt/ VCLXToolkit::ImplCreateWindow + + calls GetComponentInterface (sal_True) - if no comp. iface. + + + vcl's Window: + virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > GetComponentInterface( BOOL bCreate = TRUE ); + + + vcl/inc/vcl/unowrap.hxx: + // Window + virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer> GetWindowInterface( Window* pWindow, sal_Bool bCreate ) = 0; + virtual void SetWindowInterface( Window* pWindow, ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > xIFace ) = 0; + + + from svapp.cxx Application::SetUnoWrapper + -> toolkit/awt 'ToolkitWorkerFunction' ( extern C / dlopen linkage ) + + + from toolkit/source/helper/unowrapper.cxx: + -> CreateXWindow -> 'return new VCLXWindow' + ** FIXME: we need love in here too: + + METRICBOX eg.
\ No newline at end of file |