19#ifndef _NETSURF_DESKTOP_GLOBAL_HISTORY_H_
20#define _NETSURF_DESKTOP_GLOBAL_HISTORY_H_
nserror global_history_init(void *core_window_handle)
Initialise the global history.
nserror global_history_expand(bool only_folders)
Expand the treeview's nodes.
nserror global_history_fini(void)
Finalise the global history.
void global_history_redraw(int x, int y, struct rect *clip, const struct redraw_context *ctx)
Redraw the global history.
bool global_history_has_selection(void)
Determine whether there is a selection.
void global_history_mouse_action(enum browser_mouse_state mouse, int x, int y)
Handles all kinds of mouse action.
nserror global_history_add(struct nsurl *url)
Add an entry to the global history.
nserror global_history_export(const char *path, const char *title)
Save global history to file (html)
nserror global_history_contract(bool all)
Contract the treeview's nodes.
bool global_history_keypress(uint32_t key)
Key press handling.
bool global_history_get_selection(struct nsurl **url, const char **title)
Get the first selected node.
nserror
Enumeration of error codes.
Core mouse and pointer states.
browser_mouse_state
Mouse state.
struct nsurl nsurl
NetSurf URL object.
static nserror path(const struct redraw_context *ctx, const plot_style_t *pstyle, const float *p, unsigned int n, const float transform[6])
Plots a path.
static nserror clip(const struct redraw_context *ctx, const struct rect *clip)
Sets a clip rectangle for subsequent plot operations.