summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-12 11:29:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-12 12:05:40 +0000
commit2f295ad6857877f44ef568ab9bbd5784a9be19be (patch)
treebfb00e6d396371a3be56b8a806cc2948ca30388a /include
parent0924fa483a4aa8f22da35986e3191a453a4736b9 (diff)
convert gallery files page to .ui
Change-Id: Ifd5c9b16f8f9a42e13f1139076f7616dd3e0f8d0
Diffstat (limited to 'include')
-rw-r--r--include/svx/dialogs.hrc1
-rw-r--r--include/svx/galctrl.hxx13
2 files changed, 7 insertions, 7 deletions
diff --git a/include/svx/dialogs.hrc b/include/svx/dialogs.hrc
index d7b252d2dc80..3fddc023e567 100644
--- a/include/svx/dialogs.hrc
+++ b/include/svx/dialogs.hrc
@@ -46,7 +46,6 @@
#define RID_SVXSTR_GALLERYPROPS_GALTHEME (RID_SVX_START + 251)
#define RID_SVXSTR_GALLERY_THEMEITEMS (RID_SVX_START + 252)
-#define RID_SVXSTR_GALLERY_FILESFOUND (RID_SVX_START + 254)
#define RID_SVXSTR_GALLERY_PREVIEW (RID_SVX_START + 255)
// factory IDs of tabpages implemented in CUI
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& );