Dillo v3.1.1-119-g140d9ebd
|
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 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. | |
Public Attributes | |
DilloHtml * | html |
Definition at line 147 of file html_common.hh.
|
virtual |
Handle the "click" signal.
Reimplemented from dw::core::Layout::LinkReceiver.
Definition at line 794 of file html.cc.
References _MSG, a_UIcmd_open_url(), a_UIcmd_open_url_nt(), a_UIcmd_open_url_nw(), a_Url_str(), dw::core::EventButton::button, DilloHtml::bw, dw::Textblock::CLASS_ID, DilloPrefs::focus_new_tab, dw::core::Widget::getParent(), Html_set_link_coordinates(), DilloPrefs::middle_click_opens_new_tab, prefs, dw::core::SHIFT_MASK, and dw::core::MouseEvent::state.
|
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.
|
virtual |
Handle the "press" signal.
Reimplemented from dw::core::Layout::LinkReceiver.
Definition at line 760 of file html.cc.
References _MSG, a_UIcmd_image_popup(), a_UIcmd_link_popup(), a_UIcmd_page_popup(), dw::core::EventButton::button, DilloHtml::bw, and BrowserWindow::num_page_bugs.
DilloHtml* DilloHtml::HtmlLinkReceiver::html |
Definition at line 149 of file html_common.hh.
Referenced by DilloHtml::DilloHtml(), and enter().