diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-12 11:29:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-12 12:05:40 +0000 |
commit | 2f295ad6857877f44ef568ab9bbd5784a9be19be (patch) | |
tree | bfb00e6d396371a3be56b8a806cc2948ca30388a /include/svx/galctrl.hxx | |
parent | 0924fa483a4aa8f22da35986e3191a453a4736b9 (diff) |
convert gallery files page to .ui
Change-Id: Ifd5c9b16f8f9a42e13f1139076f7616dd3e0f8d0
Diffstat (limited to 'include/svx/galctrl.hxx')
-rw-r--r-- | include/svx/galctrl.hxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/svx/galctrl.hxx b/include/svx/galctrl.hxx index 686173137b6b..7d82db02830f 100644 --- a/include/svx/galctrl.hxx +++ b/include/svx/galctrl.hxx @@ -52,11 +52,12 @@ private: SVX_DLLPRIVATE void InitSettings(); // Window - SVX_DLLPRIVATE virtual void Paint(const Rectangle& rRect); - SVX_DLLPRIVATE virtual void MouseButtonDown(const MouseEvent& rMEvt); + SVX_DLLPRIVATE virtual void Paint(const Rectangle& rRect); + SVX_DLLPRIVATE virtual Size GetOptimalSize() const; + SVX_DLLPRIVATE virtual void MouseButtonDown(const MouseEvent& rMEvt); SVX_DLLPRIVATE virtual void Command(const CommandEvent& rCEvt); SVX_DLLPRIVATE virtual void KeyInput( const KeyEvent& rKEvt ); - SVX_DLLPRIVATE virtual void DataChanged( const DataChangedEvent& rDCEvt ); + SVX_DLLPRIVATE virtual void DataChanged( const DataChangedEvent& rDCEvt ); // DropTargetHelper @@ -70,9 +71,9 @@ private: public: - GalleryPreview( GalleryBrowser2* pParent, GalleryTheme* pTheme ); - GalleryPreview( Window* pParent, const ResId& rResId ); - ~GalleryPreview(); + GalleryPreview(Window* pParent, + WinBits nStyle = WB_TABSTOP | WB_BORDER, + GalleryTheme* pTheme = NULL); void SetGraphic( const Graphic& rGraphic ) { aGraphicObj.SetGraphic( rGraphic ); } bool SetGraphic( const INetURLObject& ); |