97 .background_images =
true,
129 ncwin = calloc(1,
sizeof(*ncwin));
134 ncwin->
core.
title =
"NetSurf Global History";
nserror global_history_init(void *core_window_handle)
Initialise the global history.
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_keypress(uint32_t key)
Key press handling.
void global_history_mouse_action(browser_mouse_state mouse, int x, int y)
Handles all kinds of mouse action.
nserror
Enumeration of error codes.
@ NSERROR_NOT_IMPLEMENTED
Functionality is not implemented.
@ NSERROR_NOMEM
Memory exhaustion.
static nserror nsw32_global_history_key(struct nsw32_corewindow *nsw32_cw, uint32_t nskey)
callback for keypress on global_history window
static nserror nsw32_global_history_close(struct nsw32_corewindow *nsw32_cw)
static nserror nsw32_global_history_mouse(struct nsw32_corewindow *nsw32_cw, browser_mouse_state mouse_state, int x, int y)
callback for mouse action on global_history window
static struct nsw32_global_history_window * global_history_window
static nserror nsw32_global_history_draw(struct nsw32_corewindow *nsw32_cw, int scrollx, int scrolly, struct rect *r)
callback on draw event for global_history window
nserror nsw32_global_history_finalise(void)
Destroys the global history window and performs any other necessary cleanup actions.
static nserror nsw32_global_history_init(HINSTANCE hInstance)
Creates the window for the global_history tree.
nserror nsw32_global_history_present(HINSTANCE hInstance)
make the global history window visible.
Interface to win32 global history manager using nsw32 core window.
browser_mouse_state
Mouse state.
Target independent plotting interface.
Interface to key press operations.
nserror(* close)(struct nsw32_corewindow *nsw32_cw)
callback for window close event
const char * title
window title
nserror(* key)(struct nsw32_corewindow *nsw32_cw, uint32_t nskey)
callback for keypress on nsw32 core window
nserror(* mouse)(struct nsw32_corewindow *nsw32_cw, browser_mouse_state mouse_state, int x, int y)
callback for mouse event on nsw32 core window
nserror(* draw)(struct nsw32_corewindow *nsw32_cw, int scrollx, int scrolly, struct rect *r)
callback to draw on drawable area of nsw32 core window
struct nsw32_corewindow core
bool interactive
Redraw to show interactive features.
Option reading and saving interface.
nserror nsw32_corewindow_init(HINSTANCE hInstance, HWND hWndParent, struct nsw32_corewindow *nsw32_cw)
initialise elements of nsw32 core window.
nserror nsw32_corewindow_fini(struct nsw32_corewindow *nsw32_cw)
finalise elements of nsw32 core window.
const struct plotter_table win_plotters
win32 API plot operation table