|
NetSurf
|
ro core window state More...
#include <corewindow.h>
Data Fields | |
| wimp_w | wh |
| window handle More... | |
| struct toolbar * | toolbar |
| toolbar More... | |
| int | origin_y |
| content plot origin y relative to window More... | |
| int | content_width |
| content width More... | |
| int | content_height |
| content height More... | |
| core_window_drag_status | drag_status |
| drag status set by core More... | |
| nserror(* | draw )(struct ro_corewindow *ro_cw, int originx, int originy, struct rect *r) |
| callback to draw on drawable area of ro core window More... | |
| nserror(* | key )(struct ro_corewindow *ro_cw, uint32_t nskey) |
| callback for keypress on ro core window More... | |
| nserror(* | mouse )(struct ro_corewindow *ro_cw, browser_mouse_state mouse_state, int x, int y) |
| callback for mouse event on ro core window More... | |
| nserror(* | toolbar_click )(struct ro_corewindow *ro_cw, button_bar_action action) |
| callback for clicks in ro core window toolbar. More... | |
| nserror(* | toolbar_update )(struct ro_corewindow *ro_cw) |
| callback for updating state of buttons in ro core window toolbar. More... | |
| nserror(* | toolbar_save )(struct ro_corewindow *ro_cw, char *config) |
| callback for saving ro core window toolbar state. More... | |
ro core window state
Definition at line 39 of file corewindow.h.
| int ro_corewindow::content_height |
content height
Definition at line 53 of file corewindow.h.
Referenced by ro_corewindow_init(), ro_cw_update_size(), and update_scrollbars().
| int ro_corewindow::content_width |
content width
Definition at line 50 of file corewindow.h.
Referenced by ro_corewindow_init(), ro_cw_update_size(), and update_scrollbars().
| core_window_drag_status ro_corewindow::drag_status |
drag status set by core
Definition at line 56 of file corewindow.h.
Referenced by ro_corewindow_init(), ro_cw_drag_start(), ro_cw_drag_status(), ro_cw_mouse_at(), and ro_cw_mouse_click().
| nserror(* ro_corewindow::draw) (struct ro_corewindow *ro_cw, int originx, int originy, struct rect *r) |
callback to draw on drawable area of ro core window
| ro_cw | The riscos core window structure. |
| originx | The risc os plotter x origin. |
| originy | The risc os plotter y origin. |
| r | The rectangle of the window that needs updating. |
Definition at line 67 of file corewindow.h.
Referenced by ro_cookie_init(), ro_cw_redraw(), ro_global_history_init(), ro_hotlist_init(), ro_local_history_init(), and ro_pageinfo_init().
| nserror(* ro_corewindow::key) (struct ro_corewindow *ro_cw, uint32_t nskey) |
callback for keypress on ro core window
| ro_cw | The ro core window structure. |
| nskey | The netsurf key code. |
Definition at line 78 of file corewindow.h.
Referenced by ro_cookie_init(), ro_cw_keypress(), ro_global_history_init(), ro_hotlist_init(), ro_local_history_init(), and ro_pageinfo_init().
| nserror(* ro_corewindow::mouse) (struct ro_corewindow *ro_cw, browser_mouse_state mouse_state, int x, int y) |
callback for mouse event on ro core window
| ro_cw | The ro core window structure. |
| mouse_state | mouse state |
| x | location of event |
| y | location of event |
Definition at line 89 of file corewindow.h.
Referenced by ro_cookie_init(), ro_cw_mouse_at(), ro_cw_mouse_click(), ro_cw_pointer_leaving(), ro_global_history_init(), ro_hotlist_init(), ro_local_history_init(), and ro_pageinfo_init().
| int ro_corewindow::origin_y |
content plot origin y relative to window
Definition at line 47 of file corewindow.h.
Referenced by cw_tb_size(), ro_corewindow_init(), ro_cw_invalidate(), ro_cw_mouse_at(), ro_cw_mouse_click(), ro_cw_redraw(), ro_cw_scroll(), and update_scrollbars().
| struct toolbar* ro_corewindow::toolbar |
toolbar
Definition at line 44 of file corewindow.h.
Referenced by cookie_menu_prepare(), cookie_menu_select(), cookie_toolbar_update(), cw_tb_size(), global_history_menu_prepare(), global_history_menu_select(), global_history_toolbar_update(), hotlist_menu_prepare(), hotlist_menu_select(), hotlist_toolbar_update(), ro_corewindow_init(), ro_cw_drag_start(), ro_cw_get_window_dimensions(), ro_gui_cookies_present(), ro_gui_global_history_present(), and ro_gui_hotlist_present().
| nserror(* ro_corewindow::toolbar_click) (struct ro_corewindow *ro_cw, button_bar_action action) |
callback for clicks in ro core window toolbar.
| ro_cw | The ro core window structure. |
| action | The button bar action. |
Definition at line 98 of file corewindow.h.
Referenced by cw_tb_click(), ro_cookie_init(), ro_corewindow_init(), ro_global_history_init(), and ro_hotlist_init().
| nserror(* ro_corewindow::toolbar_save) (struct ro_corewindow *ro_cw, char *config) |
callback for saving ro core window toolbar state.
| ro_cw | The ro core window structure. |
| config | The new toolbar configuration. |
Definition at line 115 of file corewindow.h.
Referenced by cw_tb_save(), ro_cookie_init(), ro_corewindow_init(), ro_global_history_init(), and ro_hotlist_init().
| nserror(* ro_corewindow::toolbar_update) (struct ro_corewindow *ro_cw) |
callback for updating state of buttons in ro core window toolbar.
| ro_cw | The ro core window structure. |
Definition at line 106 of file corewindow.h.
Referenced by cw_tb_click(), cw_tb_update(), ro_cookie_init(), ro_corewindow_init(), ro_cw_keypress(), ro_cw_mouse_at(), ro_cw_mouse_click(), ro_global_history_init(), and ro_hotlist_init().
| wimp_w ro_corewindow::wh |
window handle
Definition at line 41 of file corewindow.h.
Referenced by cw_tb_size(), ro_cookie_init(), ro_corewindow_fini(), ro_corewindow_init(), ro_cw_drag_start(), ro_cw_get_scroll(), ro_cw_get_window_dimensions(), ro_cw_invalidate(), ro_cw_mouse_click(), ro_cw_scroll(), ro_cw_set_scroll(), ro_cw_update_size(), ro_global_history_init(), ro_gui_cookies_check_window(), ro_gui_cookies_present(), ro_gui_global_history_check_window(), ro_gui_global_history_present(), ro_gui_hotlist_check_window(), ro_gui_hotlist_present(), ro_hotlist_init(), ro_local_history_init(), ro_local_history_open(), ro_pageinfo_init(), ro_pageinfo_mouse(), ro_pageinfo_open(), and update_scrollbars().