21 #ifndef GNASH_ASOBJ_BITMAPDATA_H
22 #define GNASH_ASOBJ_BITMAPDATA_H
25 #include <boost/cstdint.hpp>
26 #include <boost/scoped_ptr.hpp>
28 #include <boost/intrusive_ptr.hpp>
89 return data()->
width();
112 return _cachedBitmap.get();
127 _attachedObjects.push_back(obj);
146 return image::begin<image::ARGB>(*data());
152 return image::end<image::ARGB>(*data());
161 return _cachedBitmap.get() ? &_cachedBitmap->image() : _image.get();
167 boost::intrusive_ptr<CachedBitmap> _cachedBitmap;
169 boost::scoped_ptr<image::GnashImage> _image;
171 std::list<DisplayObject*> _attachedObjects;