diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/wizdlg.hxx | 1 | ||||
-rw-r--r-- | vcl/source/app/salvtables.cxx | 5 | ||||
-rw-r--r-- | vcl/source/control/roadmapwizard.cxx | 5 | ||||
-rw-r--r-- | vcl/unx/gtk3/gtkinst.cxx | 5 |
4 files changed, 16 insertions, 0 deletions
diff --git a/vcl/inc/wizdlg.hxx b/vcl/inc/wizdlg.hxx index da3ff4d1af3a..31bd376168b6 100644 --- a/vcl/inc/wizdlg.hxx +++ b/vcl/inc/wizdlg.hxx @@ -134,6 +134,7 @@ namespace vcl const Size& GetPageSizePixel() const { return maPageSize; } void SetRoadmapHelpId( const OString& _rId ); + void SetRoadmapBitmap( const BitmapEx& maBitmap ); void InsertRoadmapItem(int nIndex, const OUString& rLabel, int nId, bool bEnabled); void DeleteRoadmapItems(); diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 7af5cccb4e6b..39ee33de947f 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -2157,6 +2157,11 @@ public: m_xWizard->SetRoadmapHelpId(rHelpId); } + virtual void set_page_side_image(const OUString& rImage) override + { + m_xWizard->SetRoadmapBitmap(createImage(rImage).GetBitmapEx()); + } + weld::Button* weld_widget_for_response(int nResponse) override; virtual ~SalInstanceAssistant() override diff --git a/vcl/source/control/roadmapwizard.cxx b/vcl/source/control/roadmapwizard.cxx index b1738d5bef83..fe4c53b92e02 100644 --- a/vcl/source/control/roadmapwizard.cxx +++ b/vcl/source/control/roadmapwizard.cxx @@ -228,6 +228,11 @@ namespace vcl m_xRoadmapImpl->pRoadmap->SetHelpId( _rId ); } + void RoadmapWizard::SetRoadmapBitmap(const BitmapEx& rBmp) + { + m_xRoadmapImpl->pRoadmap->SetRoadmapBitmap(rBmp); + } + void RoadmapWizardMachine::SetRoadmapHelpId(const OString& rId) { m_xAssistant->set_page_side_help_id(rId); diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx index dce54e17d693..e523e871290d 100644 --- a/vcl/unx/gtk3/gtkinst.cxx +++ b/vcl/unx/gtk3/gtkinst.cxx @@ -7735,6 +7735,11 @@ public: return pButton; } + virtual void set_page_side_image(const OUString& /*rImage*/) override + { + // Since GTK+ 3.2, sidebar images are not shown anymore + } + virtual ~GtkInstanceAssistant() override { if (m_nButtonPressSignalId) |