aboutsummaryrefslogtreecommitdiff
path: root/dw/image.hh
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-02-09 14:56:31 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-02-09 14:56:31 -0300
commite32686c10a4f4fe7c34b181845220b5c491f32fb (patch)
treec090052c311a3a1732d03dc17fe357f97437b397 /dw/image.hh
parent74f64426001a693759e47963f99965e0e6ee847d (diff)
whitespace cleanup: 's/ +$//g'
Diffstat (limited to 'dw/image.hh')
-rw-r--r--dw/image.hh16
1 files changed, 8 insertions, 8 deletions
diff --git a/dw/image.hh b/dw/image.hh
index 37c27e0d..054ba777 100644
--- a/dw/image.hh
+++ b/dw/image.hh
@@ -38,7 +38,7 @@ private:
public:
ImageMap ();
~ImageMap ();
-
+
void add (core::Shape *shape, int link);
void setDefaultLink (int link) { defaultLink = link; };
int link (int x, int y);
@@ -47,7 +47,7 @@ private:
lout::container::typed::HashTable <lout::object::Object, ImageMap>
*imageMaps;
ImageMap *currentMap;
-
+
public:
ImageMapsList ();
~ImageMapsList ();
@@ -90,7 +90,7 @@ public:
* dw::ImageMapsList::addShapeToCurrentMap adds a shape to the current
* map. The \em link argument is a number, which is later passed to
* the dw::core::Widget::LinkReceiver.
- *
+ *
* This map list is then, together with the key for the image, passed to
* dw::Image::setUseMap. For HTML, a URL with the value of the "ismap"
* attribute of \<IMG\> should be used.
@@ -103,9 +103,9 @@ public:
* Currently, only maps defined in the same document as the image may be
* used, since the dw::ImageMapsList is stored in the HTML link block, and
* contains only the image maps defined in the document.
- *
+ *
* <h4>Server Side %Image Maps</h4>
- *
+ *
* To use images for server side image maps, you must call
* dw::Image::setIsMap, and the dw::Image::style must contain a valid link
* (dw::core::style::Style::x_link). After this, motions and clicks are
@@ -129,7 +129,7 @@ protected:
void sizeRequestImpl (core::Requisition *requisition);
void sizeAllocateImpl (core::Allocation *allocation);
- void draw (core::View *view, core::Rectangle *area);
+ void draw (core::View *view, core::Rectangle *area);
bool buttonPressImpl (core::EventButton *event);
bool buttonReleaseImpl (core::EventButton *event);
@@ -137,7 +137,7 @@ protected:
void leaveNotifyImpl (core::EventCrossing *event);
bool motionNotifyImpl (core::EventMotion *event);
- //core::Iterator *iterator (Content::Type mask, bool atEnd);
+ //core::Iterator *iterator (Content::Type mask, bool atEnd);
public:
static int CLASS_ID;
@@ -145,7 +145,7 @@ public:
Image(const char *altText);
~Image();
- core::Iterator *iterator (core::Content::Type mask, bool atEnd);
+ core::Iterator *iterator (core::Content::Type mask, bool atEnd);
inline core::Imgbuf *getBuffer () { return buffer; }
void setBuffer (core::Imgbuf *buffer, bool resize = false);