NetSurf
|
nsw32 core window state More...
#include <corewindow.h>
Data Fields | |
HWND | hWnd |
window handle More... | |
int | content_width |
content width More... | |
int | content_height |
content height More... | |
const char * | title |
window title More... | |
core_window_drag_status | drag_status |
drag status set by core More... | |
nserror(* | draw )(struct nsw32_corewindow *nsw32_cw, int scrollx, int scrolly, struct rect *r) |
callback to draw on drawable area of nsw32 core window More... | |
nserror(* | key )(struct nsw32_corewindow *nsw32_cw, uint32_t nskey) |
callback for keypress on nsw32 core window More... | |
nserror(* | mouse )(struct nsw32_corewindow *nsw32_cw, browser_mouse_state mouse_state, int x, int y) |
callback for mouse event on nsw32 core window More... | |
nserror(* | close )(struct nsw32_corewindow *nsw32_cw) |
callback for window close event More... | |
nsw32 core window state
Definition at line 29 of file corewindow.h.
nserror(* nsw32_corewindow::close) (struct nsw32_corewindow *nsw32_cw) |
callback for window close event
nsw32_cw | The nsw32 core window structure. |
Definition at line 82 of file corewindow.h.
Referenced by nsw32_cookie_init(), nsw32_corewindow_close(), nsw32_global_history_init(), nsw32_hotlist_init(), and nsw32_local_history_init().
int nsw32_corewindow::content_height |
content height
Definition at line 37 of file corewindow.h.
Referenced by nsw32_corewindow_init(), nsw32_cw_update_size(), and update_scrollbars().
int nsw32_corewindow::content_width |
content width
Definition at line 34 of file corewindow.h.
Referenced by nsw32_corewindow_init(), nsw32_cw_update_size(), and update_scrollbars().
core_window_drag_status nsw32_corewindow::drag_status |
drag status set by core
Definition at line 43 of file corewindow.h.
Referenced by nsw32_corewindow_init(), and nsw32_cw_drag_status().
nserror(* nsw32_corewindow::draw) (struct nsw32_corewindow *nsw32_cw, int scrollx, int scrolly, struct rect *r) |
callback to draw on drawable area of nsw32 core window
nsw32_cw | The nsw32 core window structure. |
r | The rectangle of the window that needs updating. |
Definition at line 52 of file corewindow.h.
Referenced by nsw32_cookie_init(), nsw32_corewindow_paint(), nsw32_global_history_init(), nsw32_hotlist_init(), and nsw32_local_history_init().
HWND nsw32_corewindow::hWnd |
window handle
Definition at line 31 of file corewindow.h.
Referenced by nsw32_cookie_close(), nsw32_cookies_finalise(), nsw32_cookies_present(), nsw32_corewindow_init(), nsw32_cw_get_window_dimensions(), nsw32_cw_invalidate_area(), nsw32_global_history_close(), nsw32_global_history_finalise(), nsw32_global_history_present(), nsw32_hotlist_close(), nsw32_hotlist_finalise(), nsw32_hotlist_present(), nsw32_local_history_close(), nsw32_local_history_finalise(), nsw32_local_history_hide(), nsw32_local_history_present(), and update_scrollbars().
nserror(* nsw32_corewindow::key) (struct nsw32_corewindow *nsw32_cw, uint32_t nskey) |
callback for keypress on nsw32 core window
nsw32_cw | The nsw32 core window structure. |
nskey | The netsurf key code. |
Definition at line 63 of file corewindow.h.
Referenced by nsw32_cookie_init(), nsw32_global_history_init(), nsw32_hotlist_init(), and nsw32_local_history_init().
nserror(* nsw32_corewindow::mouse) (struct nsw32_corewindow *nsw32_cw, browser_mouse_state mouse_state, int x, int y) |
callback for mouse event on nsw32 core window
nsw32_cw | The nsw32 core window structure. |
mouse_state | mouse state |
x | location of event |
y | location of event |
Definition at line 74 of file corewindow.h.
Referenced by nsw32_cookie_init(), nsw32_corewindow_mousedown(), nsw32_corewindow_mouseup(), nsw32_global_history_init(), nsw32_hotlist_init(), and nsw32_local_history_init().
const char* nsw32_corewindow::title |
window title
Definition at line 40 of file corewindow.h.
Referenced by nsw32_cookie_init(), nsw32_corewindow_init(), nsw32_global_history_init(), nsw32_hotlist_init(), and nsw32_local_history_init().