Some defaulted ctor/dtors.
This commit is contained in:
@ -31,15 +31,6 @@ namespace dw {
|
|||||||
|
|
||||||
using namespace lout;
|
using namespace lout;
|
||||||
|
|
||||||
ImageMapsList::ImageMap::ImageMap ()
|
|
||||||
{
|
|
||||||
defaultLink = -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
ImageMapsList::ImageMap::~ImageMap ()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void ImageMapsList::ImageMap::draw (core::View *view,core::style::Style *style,
|
void ImageMapsList::ImageMap::draw (core::View *view,core::style::Style *style,
|
||||||
int x, int y)
|
int x, int y)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -34,11 +34,9 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
std::list< std::unique_ptr< ShapeAndLink > > shapesAndLinks;
|
std::list< std::unique_ptr< ShapeAndLink > > shapesAndLinks;
|
||||||
int defaultLink;
|
int defaultLink= -1;
|
||||||
public:
|
|
||||||
ImageMap ();
|
|
||||||
~ImageMap ();
|
|
||||||
|
|
||||||
|
public:
|
||||||
void draw (core::View *view, core::style::Style *style, int x, int y);
|
void draw (core::View *view, core::style::Style *style, int x, int y);
|
||||||
void add (core::Shape *shape, int link);
|
void add (core::Shape *shape, int link);
|
||||||
void setDefaultLink (int link) { defaultLink = link; };
|
void setDefaultLink (int link) { defaultLink = link; };
|
||||||
|
|||||||
Reference in New Issue
Block a user