100 .background_images =
true,
140 ncwin = calloc(1,
sizeof(*ncwin));
180 if (search_term != NULL) {
void cookie_manager_redraw(int x, int y, struct rect *clip, const struct redraw_context *ctx)
Redraw the cookies manager.
void cookie_manager_mouse_action(enum browser_mouse_state mouse, int x, int y)
Handles all kinds of mouse action.
nserror cookie_manager_init(void *core_window_handle)
Initialise the cookie manager.
nserror cookie_manager_fini(void)
Finalise the cookie manager.
nserror cookie_manager_set_search_string(const char *string)
Set the cookie manager search string.
bool cookie_manager_keypress(uint32_t key)
Key press handling.
Cookie Manager (interface).
nserror
Enumeration of error codes.
@ NSERROR_NOT_IMPLEMENTED
Functionality is not implemented.
@ NSERROR_NOMEM
Memory exhaustion.
browser_mouse_state
Mouse state: 1 is primary mouse button.
Target independent plotting interface.
Interface to key press operations.
struct nsw32_corewindow core
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
bool interactive
Redraw to show interactive features.
Option reading and saving interface.
nserror nsw32_cookies_present(const char *search_term)
make the cookie window visible.
static nserror nsw32_cookie_init(HINSTANCE hInstance)
Creates the window for the cookie tree.
static nserror nsw32_cookie_close(struct nsw32_corewindow *nsw32_cw)
callback on close event for cookie window
static nserror nsw32_cookie_draw(struct nsw32_corewindow *nsw32_cw, int scrollx, int scrolly, struct rect *r)
callback on draw event for cookie window
static nserror nsw32_cookie_key(struct nsw32_corewindow *nsw32_cw, uint32_t nskey)
callback for keypress on cookie window
nserror nsw32_cookies_finalise(void)
Free any resources allocated for the cookie window.
static nserror nsw32_cookie_mouse(struct nsw32_corewindow *nsw32_cw, browser_mouse_state mouse_state, int x, int y)
callback for mouse action on cookie window
static struct nsw32_cookie_window * cookie_window
Interface to win32 cookie viewing using nsw32 core windows.
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.
HINSTANCE hinst
win32 application instance handle.
const struct plotter_table win_plotters
win32 API plot operation table