Dillo v3.1.1-46-g8a360e32
|
#include <layout.hh>
Public Member Functions | |
virtual bool | enter (Widget *widget, int link, int img, int x, int y) |
Called, when a link is entered, left, or the position has changed. | |
virtual bool | press (Widget *widget, int link, int img, int x, int y, EventButton *event) |
Called, when the user has pressed the mouse button on a link (but not yet released). | |
virtual bool | release (Widget *widget, int link, int img, int x, int y, EventButton *event) |
Called, when the user has released the mouse button on a link. | |
virtual bool | click (Widget *widget, int link, int img, int x, int y, EventButton *event) |
Called, when the user has clicked on a link. | |
![]() | |
Receiver () | |
~Receiver () | |
void | intoStringBuffer (misc::StringBuffer *sb) |
Store a textual representation of the object in a misc::StringBuffer. | |
![]() | |
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. | |
const 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. | |
|
virtual |
Called, when the user has clicked on a link.
For mouse interaction, this is equivalent to "press" and "release" on the same link. In this case, event contains the "release" event.
When activating links via keyboard is supported, only a "clicked" signal will be emitted, and event will be NULL.
Reimplemented in DilloHtml::HtmlLinkReceiver.
Definition at line 165 of file layout.cc.
Referenced by dw::core::Layout::LinkEmitter::emitToReceiver().
|
virtual |
Called, when a link is entered, left, or the position has changed.
When a link is entered, this method is called with the respective arguments. When a link is left, this method is called with all three arguments (link, x, y) set to -1.
When coordinates are supported, a change of the coordinates also causes emitting this signal.
Reimplemented in DilloHtml::HtmlLinkReceiver.
Definition at line 147 of file layout.cc.
Referenced by dw::core::Layout::LinkEmitter::emitToReceiver().
|
virtual |
Called, when the user has pressed the mouse button on a link (but not yet released).
The causing event is passed as event.
Reimplemented in DilloHtml::HtmlLinkReceiver.
Definition at line 153 of file layout.cc.
Referenced by dw::core::Layout::LinkEmitter::emitToReceiver().
|
virtual |
Called, when the user has released the mouse button on a link.
The causing event is passed as event.
Definition at line 159 of file layout.cc.
Referenced by dw::core::Layout::LinkEmitter::emitToReceiver().