Dillo v3.1.1-46-g8a360e32
Loading...
Searching...
No Matches
dw::ImageMapsList::ImageMap Class Reference

Classes

class  ShapeAndLink
 

Public Member Functions

 ImageMap ()
 
 ~ImageMap ()
 
void draw (core::View *view, core::style::Style *style, int x, int y)
 
void add (core::Shape *shape, int link)
 
void setDefaultLink (int link)
 
int link (int x, int y)
 
- Public Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly.
 
virtual bool equals (Object *other)
 Returns, whether two objects are equal.
 
virtual int hashValue ()
 Return a hash value for the object.
 
virtual Objectclone ()
 Return an exact copy of the object.
 
virtual void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer.
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object.
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses.
 

Private Attributes

lout::container::typed::List< ShapeAndLink > * shapesAndLinks
 
int defaultLink
 

Detailed Description

Definition at line 26 of file image.hh.

Constructor & Destructor Documentation

◆ ImageMap()

dw::ImageMapsList::ImageMap::ImageMap ( )

Definition at line 32 of file image.cc.

References defaultLink, and shapesAndLinks.

◆ ~ImageMap()

dw::ImageMapsList::ImageMap::~ImageMap ( )

Definition at line 38 of file image.cc.

Member Function Documentation

◆ add()

void dw::ImageMapsList::ImageMap::add ( core::Shape shape,
int  link 
)

◆ draw()

◆ link()

◆ setDefaultLink()

void dw::ImageMapsList::ImageMap::setDefaultLink ( int  link)
inline

Definition at line 44 of file image.hh.

References defaultLink, and link().

Referenced by dw::ImageMapsList::setCurrentMapDefaultLink().

Member Data Documentation

◆ defaultLink

int dw::ImageMapsList::ImageMap::defaultLink
private

Definition at line 37 of file image.hh.

Referenced by ImageMap(), and setDefaultLink().

◆ shapesAndLinks

lout::container::typed::List<ShapeAndLink>* dw::ImageMapsList::ImageMap::shapesAndLinks
private

Definition at line 36 of file image.hh.

Referenced by ImageMap().


The documentation for this class was generated from the following files: