Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
DilloHtml::HtmlLinkReceiver Class Reference

Public Member Functions

bool enter (dw::core::Widget *widget, int link, int img, int x, int y)
 Called, when a link is entered, left, or the position has changed.
 
bool press (dw::core::Widget *widget, int link, int img, int x, int y, dw::core::EventButton *event)
 Handle the "press" signal.
 
bool click (dw::core::Widget *widget, int link, int img, int x, int y, dw::core::EventButton *event)
 Handle the "click" signal.
 
- Public Member Functions inherited from dw::core::Layout::LinkReceiver
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.
 
- Public Member Functions inherited from lout::signal::Receiver
 Receiver ()
 
 ~Receiver ()
 
void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer.
 
- 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 Objectclone ()
 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.
 

Public Attributes

DilloHtmlhtml
 

Detailed Description

Definition at line 147 of file html_common.hh.

Member Function Documentation

◆ click()

◆ enter()

bool DilloHtml::HtmlLinkReceiver::enter ( dw::core::Widget widget,
int  link,
int  img,
int  x,
int  y 
)
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 from dw::core::Layout::LinkReceiver.

Definition at line 740 of file html.cc.

References _MSG, a_UIcmd_set_msg(), DilloHtml::bw, lout::misc::SimpleVector< T >::get(), html, Html_set_link_coordinates(), DilloHtml::links, and URL_STR.

◆ press()

bool DilloHtml::HtmlLinkReceiver::press ( dw::core::Widget widget,
int  link,
int  img,
int  x,
int  y,
dw::core::EventButton event 
)
virtual

Member Data Documentation

◆ html

DilloHtml* DilloHtml::HtmlLinkReceiver::html

Definition at line 149 of file html_common.hh.

Referenced by DilloHtml::DilloHtml(), and enter().


The documentation for this class was generated from the following files: