101 .background_images =
true,
133 ncwin = calloc(1,
sizeof(*ncwin));
bool hotlist_keypress(uint32_t key)
Key press handling.
void hotlist_mouse_action(browser_mouse_state mouse, int x, int y)
Handles all kinds of mouse action.
nserror hotlist_fini(void)
Finalise the hotlist.
nserror hotlist_manager_init(void *core_window_handle)
Initialise the hotlist manager.
void hotlist_redraw(int x, int y, struct rect *clip, const struct redraw_context *ctx)
Redraw the hotlist.
nserror
Enumeration of error codes.
@ NSERROR_NOT_IMPLEMENTED
Functionality is not implemented.
@ NSERROR_NOMEM
Memory exhaustion.
static nserror nsw32_hotlist_init(HINSTANCE hInstance)
Creates the window for the hotlist tree.
nserror nsw32_hotlist_finalise(void)
Free any resources allocated for the hotlist window.
static struct nsw32_hotlist_window * hotlist_window
hotlist window singleton
static nserror nsw32_hotlist_close(struct nsw32_corewindow *nsw32_cw)
static nserror nsw32_hotlist_key(struct nsw32_corewindow *nsw32_cw, uint32_t nskey)
callback for keypress on hotlist window
static nserror nsw32_hotlist_mouse(struct nsw32_corewindow *nsw32_cw, browser_mouse_state mouse_state, int x, int y)
callback for mouse action on hotlist window
static nserror nsw32_hotlist_draw(struct nsw32_corewindow *nsw32_cw, int scrollx, int scrolly, struct rect *r)
callback on draw event for hotlist window
nserror nsw32_hotlist_present(HINSTANCE hInstance)
make the hotlist window visible.
Interface to win32 bookmark manager (hotlist).
browser_mouse_state
Mouse state: 1 is primary mouse button.
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
Hotlist window container for win32.
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