diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2018-11-26 16:59:42 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-09-24 10:58:27 +0100 |
commit | 973fd959be877c921ad6b13f622b36067d497f70 (patch) | |
tree | 2e14147f3b82b9ecd01c1b134c6fbf6fb62d9267 /include/vcl/image.hxx | |
parent | 0551d70b7d796907a6cdbbe0a51dde3fe932dfa9 (diff) |
Use lazy-loading stock Image to simplify framework image lists.private/mmeeks/hidpi-bits
Project stock names through XGraphic via origin URL.
(cherry picked from commit 77b88eebaadebb626108172e4f2de36c60960051)
Change-Id: Ib445694f7c142a163ef7e7bc0beea39b88b99e14
Diffstat (limited to 'include/vcl/image.hxx')
-rw-r--r-- | include/vcl/image.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/image.hxx b/include/vcl/image.hxx index 526243bcf382..862f1806296c 100644 --- a/include/vcl/image.hxx +++ b/include/vcl/image.hxx @@ -52,7 +52,6 @@ namespace vcl class SAL_WARN_UNUSED VCL_DLLPUBLIC Image { friend class ::OutputDevice; - public: Image(); explicit Image( const BitmapEx& rBitmapEx ); @@ -67,6 +66,8 @@ public: bool operator==( const Image& rImage ) const; bool operator!=( const Image& rImage ) const { return !(Image::operator==( rImage )); } + SAL_DLLPRIVATE OUString GetStock() const; + void Draw(OutputDevice* pOutDev, const Point& rPos, DrawImageFlags nStyle, const Size* pSize = nullptr); private: |