24#ifndef NETSURF_HTML_INTERACTION_H
25#define NETSURF_HTML_INTERACTION_H
Browseing window text search interface.
nserror
Enumeration of error codes.
browser_mouse_state
Mouse state: 1 is primary mouse button.
nserror html_mouse_track(struct content *c, struct browser_window *bw, browser_mouse_state mouse, int x, int y)
Handle mouse tracking (including drags) in an HTML content window.
void html_search_clear(struct content *c)
bool html_keypress(struct content *c, uint32_t key)
Handle keypresses.
void html_overflow_scroll_callback(void *client_data, struct scrollbar_msg_data *scrollbar_data)
Callback for in-page scrollbars.
void html_set_drag_type(html_content *html, html_drag_type drag_type, union html_drag_owner drag_owner, const struct rect *rect)
Set our drag status, and inform whatever owns the content.
void html_search(struct content *c, void *context, search_flags_t flags, const char *string)
void html_set_focus(html_content *html, html_focus_type focus_type, union html_focus_owner focus_owner, bool hide_caret, int x, int y, int height, const struct rect *clip)
Set our input focus, and inform whatever owns the content.
nserror html_mouse_action(struct content *c, struct browser_window *bw, browser_mouse_state mouse, int x, int y)
Handle mouse clicks and movements in an HTML content window.
void html_set_selection(html_content *html, html_selection_type selection_type, union html_selection_owner selection_owner, bool read_only)
Set our selection status, and inform whatever owns the content.
int x
Coordinate of left padding edge relative to parent box, or relative to ancestor that contains this bo...
box_flags flags
Box flags.
int y
Coordinate of top padding edge, relative as for x.
Content which corresponds to a single URL.
Data specific to CONTENT_HTML.
For getting at selections in this content or things in this content.
static nserror clip(const struct redraw_context *ctx, const struct rect *clip)
Sets a clip rectangle for subsequent plot operations.