29#ifndef NETSURF_RISCOS_COREWINDOW_H
30#define NETSURF_RISCOS_COREWINDOW_H
Interface to core window handling.
core_window_drag_status
drag status passed to drag_status callback
nserror
Enumeration of error codes.
theme_style
Theme styles, collecting groups of attributes for different locations.
browser_mouse_state
Mouse state.
nserror ro_corewindow_fini(struct ro_corewindow *ro_cw)
finalise elements of ro core window.
nserror ro_corewindow_init(struct ro_corewindow *ro_cw, const struct button_bar_buttons *tb_buttons, char *tb_order, theme_style tb_style, const char *tb_help)
initialise elements of riscos core window.
struct core_window_table * riscos_core_window_table
Core user interface window function table.
int origin_y
content plot origin y relative to window
nserror(* toolbar_click)(struct ro_corewindow *ro_cw, button_bar_action action)
callback for clicks in ro core window toolbar.
nserror(* mouse)(struct ro_corewindow *ro_cw, browser_mouse_state mouse_state, int x, int y)
callback for mouse event on ro core window
nserror(* toolbar_save)(struct ro_corewindow *ro_cw, char *config)
callback for saving ro core window toolbar state.
nserror(* key)(struct ro_corewindow *ro_cw, uint32_t nskey)
callback for keypress on ro core window
nserror(* draw)(struct ro_corewindow *ro_cw, int originx, int originy, struct rect *r)
callback to draw on drawable area of ro core window
int content_width
content width
nserror(* toolbar_update)(struct ro_corewindow *ro_cw)
callback for updating state of buttons in ro core window toolbar.
int content_height
content height
struct toolbar * toolbar
toolbar
core_window_drag_status drag_status
drag status set by core