1 #ifndef __DW_IMAGE_HH__
2 #define __DW_IMAGE_HH__
45 int link (
int x,
int y);
154 Image(
const char *altText);
184 #endif // __DW_IMAGE_HH__
void startNewMap(lout::object::Object *key)
Start a new map and make it the current one.
Definition: image.cc:96
core::Imgbuf * buffer
Definition: image.hh:123
static int CLASS_ID
Definition: image.hh:152
void setUseMap(ImageMapsList *list, Object *key)
Sets image as client side image map.
Definition: image.cc:552
void enterNotifyImpl(core::EventCrossing *event)
Definition: image.cc:312
ImageMap()
Definition: image.cc:31
~ImageMap()
Definition: image.cc:37
Abstract interface for different shapes.
Definition: types.hh:58
void setCurrentMapDefaultLink(int link)
Set default link for current map-.
Definition: image.cc:116
Typed version of container::untyped::HashTable.
Definition: container.hh:514
int link
Definition: image.hh:31
dw::core::Shape implemtation for simple rectangles.
Definition: types.hh:69
bool buttonReleaseImpl(core::EventButton *event)
Definition: image.cc:397
ImageMap * currentMap
Definition: image.hh:50
void drawMap(lout::object::Object *key, core::View *view, core::style::Style *style, int x, int y)
Definition: image.cc:121
void setIsMap()
Sets image as server side image map.
Definition: image.cc:539
Type
Definition: types.hh:199
lout::container::typed::HashTable< lout::object::Object, ImageMap > * imageMaps
Definition: image.hh:49
int bufHeight
Definition: image.hh:124
int altTextWidth
Definition: image.hh:125
This is the base class for many other classes, which defines very common virtual methods.
Definition: object.hh:24
void forceMapRedraw()
Definition: image.hh:179
int defaultLink
Definition: image.hh:37
Represents a enter or leave notify event.
Definition: events.hh:74
int link(int x, int y)
Definition: image.cc:61
void drawRow(int row)
Called, when data from a row is available and has been copied into the image buffer.
Definition: image.cc:513
Iterators are used to iterate through the contents of a widget.
Definition: iterator.hh:19
void sizeAllocateImpl(core::Allocation *allocation)
See Sizes of Dillo Widgets.
Definition: image.cc:274
lout::container::typed::List< ShapeAndLink > * shapesAndLinks
Definition: image.hh:36
void leaveNotifyImpl(core::EventCrossing *event)
Definition: image.cc:323
core::Iterator * iterator(core::Content::Type mask, bool atEnd)
Return an iterator for this widget.
Definition: image.cc:478
bool clicking
Definition: image.hh:126
~Image()
Definition: image.cc:163
Represents a list of client-side image maps.
Definition: image.hh:23
void sizeRequestSimpl(core::Requisition *requisition)
Simple variant, to be implemented by widgets with sizes not depending on positions.
Definition: image.cc:175
Represents the allocation, i.e. actual position and size of a dw::core::Widget.
Definition: types.hh:163
void draw(core::View *view, core::style::Style *style, int x, int y)
Definition: image.cc:42
int bufWidth
Definition: image.hh:124
int link(lout::object::Object *key, int x, int y)
Definition: image.cc:130
~ShapeAndLink()
Definition: image.hh:33
Base class for all mouse events related to a specific position.
Definition: events.hh:48
Set at the top when drawing.
Definition: types.hh:294
void add(core::Shape *shape, int link)
Definition: image.cc:54
void containerSizeChangedForChildren()
Definition: image.cc:305
void fatal()
Called, when there are problems with the retrieval of image data.
Definition: image.cc:530
int contentX(core::MousePositionEvent *event)
Definition: image.cc:339
bool motionNotifyImpl(core::EventMotion *event)
Definition: image.cc:355
core::Shape * shape
Definition: image.hh:30
void setBuffer(core::Imgbuf *buffer, bool resize=false)
Called, when an image buffer is attached.
Definition: image.cc:485
void draw(core::View *view, core::Rectangle *area, core::DrawingContext *context)
Definition: image.cc:411
Displays an instance of dw::core::Imgbuf.
Definition: image.hh:119
ImageMapsList()
Definition: image.cc:77
The platform independent interface for image buffers.
Definition: imgbuf.hh:161
int currLink
Definition: image.hh:127
void setDefaultLink(int link)
Definition: image.hh:44
Dw is in this namespace, or sub namespaces of this one.
Definition: alignedtablecell.cc:28
An interface to encapsulate platform dependent drawing.
Definition: view.hh:16
Object * mapKey
Definition: image.hh:129
Image(const char *altText)
Definition: image.cc:145
Represents a mouse motion event.
Definition: events.hh:67
void addShapeToCurrentMap(core::Shape *shape, int link)
Add a shape to the current map-.
Definition: image.cc:108
void getExtremesSimpl(core::Extremes *extremes)
Simple variant, to be implemented by widgets with extremes not depending on positions.
Definition: image.cc:241
bool isMap
Definition: image.hh:130
ImageMapsList * mapList
Definition: image.hh:128
int contentY(core::MousePositionEvent *event)
Definition: image.cc:347
core::Imgbuf * getBuffer()
Definition: image.hh:163
Typed version of container::untyped::List.
Definition: container.hh:463
virtual bool getAdjustMinWidth()
Definition: image.hh:159
void finish()
Called, when all image data has been retrieved.
Definition: image.cc:525
...
Definition: imgrenderer.hh:16
~ImageMapsList()
Definition: image.cc:84
bool buttonPressImpl(core::EventButton *event)
Definition: image.cc:380
char * altText
Definition: image.hh:122