#ifndef LAYOUT_AWT_VCLXSCROLLER_HXX #define LAYOUT_AWT_VCLXSCROLLER_HXX #ifndef _TOOLKIT_AWT_VCLXWINDOW_HXX_ #include #endif #ifndef _TOOLKIT_HELPER_LISTENERMULTIPLEXER_HXX_ #include #endif #ifndef _CPPUHELPER_IMPLBASE1_HXX_ #include #endif #ifndef _COMPHELPER_UNO3_HXX_ #include #endif #include "../layout/bin.hxx" #include #include #include "forward.hxx" class ScrollBar; class FixedImage; using namespace toolkit; //........................................................................ namespace layoutimpl { //........................................................................ //==================================================================== //= VCLXScroller //==================================================================== class VCLXScroller :public VCLXWindow ,public Bin { public: VCLXScroller( ); protected: ~VCLXScroller( ); // XInterface DECLARE_XINTERFACE() // XTypeProvider DECLARE_XTYPEPROVIDER() // XComponent void SAL_CALL dispose( ) throw(::com::sun::star::uno::RuntimeException); // ::com::sun::star::awt::XLayoutContainer virtual void SAL_CALL allocateArea( const ::com::sun::star::awt::Rectangle &rArea ) throw (::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw(::com::sun::star::uno::RuntimeException); // VclWindowPeer virtual void SAL_CALL setProperty( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Any& Value ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Any SAL_CALL getProperty( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::uno::RuntimeException); // VCLXWindow void ProcessWindowEvent( const VclWindowEvent& _rVclWindowEvent ); private: VCLXScroller( const VCLXScroller& ); // never implemented VCLXScroller& operator=( const VCLXScroller& ); // never implemented // because the underlying window is only setup-ed after construction, init // scrollbars at play-time void ensureScrollBars(); FixedImage *mpContent; // dummy ScrollBar *mpHorScrollBar, *mpVerScrollBar; DECL_LINK( ScrollHdl, ScrollBar* ); }; //........................................................................ } // namespacetoolkit //........................................................................ #endif /*LAYOUT_AWT_VCLXSCROLLER_HXX*/