25#ifndef _NETSURF_RISCOS_WINDOW_H_
26#define _NETSURF_RISCOS_WINDOW_H_
148#define ro_gui_window_close_all ro_gui_window_quit
nserror
Enumeration of error codes.
enum browser_mouse_state ro_gui_mouse_click_state(wimp_mouse_state buttons, wimp_icon_flags type)
Returns the state of the mouse buttons and modifiers keys for a mouse action, suitable for passing to...
nserror ro_gui_window_set_url(struct gui_window *g, struct nsurl *url)
Set the contents of a window's address bar.
bool ro_gui_shift_pressed(void)
Returns true iff one or more Shift keys is held down.
void ro_gui_throb(void)
Animate the "throbbers" of all browser windows.
void ro_gui_window_set_scale(struct gui_window *g, float scale)
Set a gui_window's scale.
struct gui_window * ro_gui_toolbar_lookup(wimp_w window)
Convert a toolbar RISC OS window handle to a gui_window.
nserror ro_gui_window_invalidate_area(struct gui_window *g, const struct rect *rect)
Cause an area of a window to be invalidated.
void ro_gui_window_update_boxes(void)
Redraw any pending update boxes.
bool ro_gui_window_to_window_pos(struct gui_window *g, int x, int y, os_coord *pos)
Convert x,y screen co-ordinates into window co-ordinates.
bool ro_gui_toolbar_dataload(struct gui_window *g, wimp_message *message)
Handle Message_DataLoad (file dragged in) for a toolbar.
bool ro_gui_ctrl_pressed(void)
Returns true iff one or more Ctrl keys is held down.
void ro_gui_window_redraw_all(void)
Redraws the content for all windows.
bool ro_gui_window_check_menu(wimp_menu *menu)
Check if a particular menu handle is a browser window menu.
struct gui_window_table * riscos_window_table
bool ro_gui_alt_pressed(void)
Returns true iff one or more Alt keys is held down.
void ro_gui_window_iconise(struct gui_window *g, wimp_full_message_window_info *wi)
Window is being iconised.
void ro_gui_window_mouse_at(wimp_pointer *pointer, void *data)
Handle pointer movements in a browser window.
struct gui_window * ro_gui_window_lookup(wimp_w window)
Convert a RISC OS window handle to a gui_window.
enum browser_mouse_state ro_gui_mouse_drag_state(wimp_mouse_state buttons, wimp_icon_flags type)
Returns the state of the mouse buttons and modifiers keys whilst dragging, for passing to the OS-inde...
bool ro_gui_window_dataload(struct gui_window *g, wimp_message *message)
Handle Message_DataLoad (file dragged in) for a window.
void ro_gui_window_quit(void)
Destroy all browser windows.
void gui_window_set_pointer(struct gui_window *g, enum gui_pointer_shape shape)
Change mouse pointer shape.
void ro_gui_window_default_options(struct gui_window *gui)
Makes a browser window's options the default.
void ro_gui_window_initialise(void)
Initialise the browser window module and its menus.
browser_mouse_state
Mouse state: 1 is primary mouse button.
struct nsurl nsurl
NetSurf URL object.
Graphical user interface window function table.
first entry in window list
struct fbtk_widget_s * window