Dillo
|
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. More... | |
virtual bool | equals (Object *other) |
Returns, whether two objects are equal. More... | |
virtual int | hashValue () |
Return a hash value for the object. More... | |
virtual Object * | clone () |
Return an exact copy of the object. More... | |
virtual void | intoStringBuffer (misc::StringBuffer *sb) |
Store a textual representation of the object in a misc::StringBuffer. More... | |
const char * | toString () |
Use object::Object::intoStringBuffer to return a textual representation of the object. More... | |
virtual size_t | sizeOf () |
Return the number of bytes, this object totally uses. More... | |
Private Attributes | |
lout::container::typed::List < ShapeAndLink > * | shapesAndLinks |
int | defaultLink |
dw::ImageMapsList::ImageMap::ImageMap | ( | ) |
dw::ImageMapsList::ImageMap::~ImageMap | ( | ) |
void dw::ImageMapsList::ImageMap::add | ( | core::Shape * | shape, |
int | link | ||
) |
void dw::ImageMapsList::ImageMap::draw | ( | core::View * | view, |
core::style::Style * | style, | ||
int | x, | ||
int | y | ||
) |
int dw::ImageMapsList::ImageMap::link | ( | int | x, |
int | y | ||
) |
References lout::container::typed::Iterator< T >::getNext(), lout::container::typed::Iterator< T >::hasNext(), dw::core::Shape::isPointWithin(), dw::ImageMapsList::ImageMap::ShapeAndLink::link, and dw::ImageMapsList::ImageMap::ShapeAndLink::shape.
Referenced by dw::ImageMapsList::link(), and setDefaultLink().
|
inline |
References link().
|
private |
|
private |