|
Dillo v3.2.0-93-g6a586845
|
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 Object * | clone () |
| Return an exact copy of the object. | |
| virtual void | intoStringBuffer (misc::StringBuffer *sb) |
| Store a textual representation of the object in a misc::StringBuffer. | |
| 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 |
| dw::ImageMapsList::ImageMap::ImageMap | ( | ) |
Definition at line 34 of file image.cc.
References defaultLink, and shapesAndLinks.
| void dw::ImageMapsList::ImageMap::add | ( | core::Shape * | shape, |
| int | link | ||
| ) |
Definition at line 57 of file image.cc.
References dw::ImageMapsList::ImageMap::ShapeAndLink::link, dw::ImageMapsList::link(), and dw::ImageMapsList::ImageMap::ShapeAndLink::shape.
Referenced by dw::ImageMapsList::addShapeToCurrentMap().
| void dw::ImageMapsList::ImageMap::draw | ( | core::View * | view, |
| core::style::Style * | style, | ||
| int | x, | ||
| int | y | ||
| ) |
Definition at line 45 of file image.cc.
References dw::core::Shape::draw(), lout::container::typed::Iterator< T >::getNext(), lout::container::typed::Iterator< T >::hasNext(), and dw::ImageMapsList::ImageMap::ShapeAndLink::shape.
Referenced by dw::ImageMapsList::drawMap().
| int dw::ImageMapsList::ImageMap::link | ( | int | x, |
| int | y | ||
| ) |
Definition at line 64 of file image.cc.
References lout::container::typed::Iterator< T >::getNext(), lout::container::typed::Iterator< T >::hasNext(), dw::core::Shape::isPointWithin(), dw::ImageMapsList::ImageMap::ShapeAndLink::link, dw::ImageMapsList::link(), and dw::ImageMapsList::ImageMap::ShapeAndLink::shape.
Referenced by dw::ImageMapsList::link(), and setDefaultLink().
|
inline |
Definition at line 44 of file image.hh.
References defaultLink, and link().
Referenced by dw::ImageMapsList::setCurrentMapDefaultLink().
|
private |
Definition at line 37 of file image.hh.
Referenced by ImageMap(), and setDefaultLink().
|
private |
Definition at line 36 of file image.hh.
Referenced by ImageMap().