summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-05 14:09:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-05 15:00:54 +0000
commit3cd39b91f872ca32b09a362de2cb0efaf0e2ba3b (patch)
tree43cdb5f4e075c00eb6b63648ed825a1281192e8e /vcl/inc
parent4f5cd607e30633ca51263c2f45c4753e8990302f (diff)
move ImageList to framework
this can probably be replaced by a std::*map<Image> Change-Id: Ic36c5f406f5ea51cb9ff135858e319e0877179c7
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/image.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/vcl/inc/image.h b/vcl/inc/image.h
index 5446dc7d322a..72a7f3233775 100644
--- a/vcl/inc/image.h
+++ b/vcl/inc/image.h
@@ -25,43 +25,6 @@
#include <unordered_map>
#include <vector>
-struct ImageAryData
-{
- OUString maName;
- // Images identified by either name, or by id
- sal_uInt16 mnId;
- BitmapEx maBitmapEx;
-
- ImageAryData( const OUString &aName,
- sal_uInt16 nId, const BitmapEx &aBitmap );
- ImageAryData( const ImageAryData& rData );
- ~ImageAryData();
-
- bool IsLoadable() { return maBitmapEx.IsEmpty() && !maName.isEmpty(); }
- void Load(const OUString &rPrefix);
-
- ImageAryData& operator=( const ImageAryData& rData );
-};
-
-struct ImplImageList
-{
- typedef std::unordered_map< OUString, ImageAryData *, OUStringHash >
- ImageAryDataNameHash;
-
- std::vector<ImageAryData *> maImages;
- ImageAryDataNameHash maNameHash;
- OUString maPrefix;
- Size maImageSize;
-
- ImplImageList();
- ImplImageList( const ImplImageList &aSrc );
- ~ImplImageList();
-
- void AddImage( const OUString &aName,
- sal_uInt16 nId, const BitmapEx &aBitmapEx );
- void RemoveImage( sal_uInt16 nPos );
-};
-
struct ImplImage
{
BitmapChecksum maBitmapChecksum;