summaryrefslogtreecommitdiff
path: root/include/vcl/fixed.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-02-16 16:14:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-02-16 21:15:09 +0100
commit6bc3b6cfc72d157fb43c88e754f6ed4f53aac16e (patch)
treebba95d0363be83058a3ce0e9a607c1891a8bfc3d /include/vcl/fixed.hxx
parentb3dce1e23a087fbc7c61409c1f2f1f8e6de5beaa (diff)
move FixedImage to toolkit-only headers
Change-Id: I7ae18ef3225b4ca1448a2a3b0fccfc2206f7a5ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110995 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/fixed.hxx')
-rw-r--r--include/vcl/fixed.hxx36
1 files changed, 0 insertions, 36 deletions
diff --git a/include/vcl/fixed.hxx b/include/vcl/fixed.hxx
index ee52c7c400d9..a28f46a5e5d6 100644
--- a/include/vcl/fixed.hxx
+++ b/include/vcl/fixed.hxx
@@ -72,42 +72,6 @@ public:
vcl::Window* get_mnemonic_widget() const { return m_pMnemonicWindow; }
};
-class VCL_DLLPUBLIC FixedImage : public Control
-{
-private:
- Image maImage;
-
-private:
- using Control::ImplInitSettings;
- using Window::ImplInit;
- SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle );
- SAL_DLLPRIVATE static WinBits ImplInitStyle( WinBits nStyle );
-
-protected:
- SAL_DLLPRIVATE void ImplDraw( OutputDevice* pDev,
- const Point& rPos, const Size& rSize );
-public:
- explicit FixedImage( vcl::Window* pParent, WinBits nStyle = 0 );
-
- virtual void ApplySettings(vcl::RenderContext&) override;
-
- virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override;
- virtual void Draw( OutputDevice* pDev, const Point& rPos, DrawFlags nFlags ) override;
- virtual void Resize() override;
- virtual void StateChanged( StateChangedType nType ) override;
- virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
- virtual Size GetOptimalSize() const override;
-
- void SetImage( const Image& rImage );
- const Image& GetImage() const { return maImage; }
-
- void SetModeImage( const Image& rImage );
- const Image& GetModeImage( ) const { return maImage;}
- virtual bool set_property(const OString &rKey, const OUString &rValue) override;
-
- static Image loadThemeImage(const OUString &rFileName);
-};
-
#endif // INCLUDED_VCL_FIXED_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */