diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-02-09 14:56:31 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-02-09 14:56:31 -0300 |
commit | e32686c10a4f4fe7c34b181845220b5c491f32fb (patch) | |
tree | c090052c311a3a1732d03dc17fe357f97437b397 /dw/widget.cc | |
parent | 74f64426001a693759e47963f99965e0e6ee847d (diff) |
whitespace cleanup: 's/ +$//g'
Diffstat (limited to 'dw/widget.cc')
-rw-r--r-- | dw/widget.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dw/widget.cc b/dw/widget.cc index 9a77d0b1..7f50fa70 100644 --- a/dw/widget.cc +++ b/dw/widget.cc @@ -198,7 +198,7 @@ bool Widget::LinkEmitter::emitToReceiver (lout::signal::Receiver *receiver, return false; } -bool Widget::LinkEmitter::emitEnter (Widget *widget, int link, int img, +bool Widget::LinkEmitter::emitEnter (Widget *widget, int link, int img, int x, int y) { Integer ilink (link), iimg (img), ix (x), iy (y); @@ -238,7 +238,7 @@ int Widget::CLASS_ID = -1; Widget::Widget () { registerName ("dw::core::Widget", &CLASS_ID); - + flags = (Flags)(NEEDS_RESIZE | EXTREMES_CHANGED | HAS_CONTENTS); parent = NULL; layout = NULL; @@ -496,7 +496,7 @@ void Widget::leaveNotify (EventCrossing *event) * The old style is automatically unreferred, the new is referred. If this * call causes the widget to change its size, dw::core::Widget::queueResize * is called. - */ + */ void Widget::setStyle (style::Style *style) { bool sizeChanged; @@ -696,7 +696,7 @@ Widget *Widget::getNearestCommonAncestor (Widget *otherWidget) MSG_WARN("widgets in different trees\n"); return NULL; } - + widget1 = widget1->parent; widget2 = widget2->parent; } @@ -707,7 +707,7 @@ Widget *Widget::getNearestCommonAncestor (Widget *otherWidget) /** * \brief Search recursively through widget. - * + * * Used by dw::core::Layout:getWidgetAtPoint. */ Widget *Widget::getWidgetAtPoint (int x, int y, int level) @@ -739,7 +739,7 @@ Widget *Widget::getWidgetAtPoint (int x, int y, int level) level + 1); it->unref (); - + if (childAtPoint) return childAtPoint; else |