19#ifndef AMIGA_COREWINDOW_H
20#define AMIGA_COREWINDOW_H
nserror ami_corewindow_fini(struct ami_corewindow *ami_cw)
finalise elements of Amiga core window.
nserror ami_corewindow_init(struct ami_corewindow *ami_cw)
initialise elements of Amiga core window.
struct core_window_table * amiga_core_window_table
Interface to core window handling.
core_window_drag_status
drag status passed to drag_status callback
nserror
Enumeration of error codes.
browser_mouse_state
Mouse state.
struct nsurl nsurl
NetSurf URL object.
void(* close)(struct ami_corewindow *ami_cw)
callback to close an Amiga core window
Object * objects[GID_CW_LAST]
nserror(* icon_drop)(struct ami_corewindow *ami_cw, struct nsurl *url, const char *title, int x, int y)
callback for icon drop on Amiga core window ie.
nserror(* mouse)(struct ami_corewindow *ami_cw, browser_mouse_state mouse_state, int x, int y)
callback for mouse event on Amiga core window
nserror(* draw)(struct ami_corewindow *ami_cw, int x, int y, struct rect *r, struct redraw_context *ctx)
callback to draw on drawable area of Amiga core window
struct ami_generic_window w
nserror(* key)(struct ami_corewindow *ami_cw, uint32_t nskey)
callback for keypress on Amiga core window
struct MinList * deferred_rects
bool in_border_scroll
keep track of the scrollbar type we're using
BOOL(* event)(struct ami_corewindow *ami_cw, ULONG result)
callback for unknown events on Amiga core window eg.
struct MinList * shared_pens
core_window_drag_status drag_status
drag status set by core
nserror(* drag_end)(struct ami_corewindow *ami_cw, int x, int y)
callback for drag end on Amiga core window ie.
struct gui_globals * gg
stuff for our off-screen render bitmap
char * wintitle
window title, must be allocated wth ami_utf8 function
Core user interface window function table.