NetSurf
|
#include "netsurf/core_window.h"
Go to the source code of this file.
Data Structures | |
struct | nsw32_corewindow |
nsw32 core window state More... | |
Functions | |
nserror | nsw32_corewindow_init (HINSTANCE hInstance, HWND hWndParent, struct nsw32_corewindow *nsw32_cw) |
initialise elements of nsw32 core window. More... | |
nserror | nsw32_corewindow_fini (struct nsw32_corewindow *nsw32_cw) |
finalise elements of nsw32 core window. More... | |
nserror | nsw32_create_corewindow_class (HINSTANCE hInstance) |
Variables | |
struct core_window_table * | win32_core_window_table |
nserror nsw32_corewindow_fini | ( | struct nsw32_corewindow * | nsw32_cw | ) |
finalise elements of nsw32 core window.
nsw32_cw | A nsw32 core window structure to initialise |
Definition at line 577 of file corewindow.c.
References NSERROR_OK.
Referenced by nsw32_cookies_finalise(), nsw32_global_history_finalise(), nsw32_hotlist_finalise(), and nsw32_local_history_finalise().
nserror nsw32_corewindow_init | ( | HINSTANCE | hInstance, |
HWND | hWndParent, | ||
struct nsw32_corewindow * | nsw32_cw | ||
) |
initialise elements of nsw32 core window.
As a pre-requisite the draw, key and mouse callbacks must be defined
hInstance | The instance to create the core window in |
hWndParent | parent window handle may be NULL for top level window. |
nsw32_cw | A nsw32 core window structure to initialise |
Definition at line 519 of file corewindow.c.
References nsw32_corewindow::content_height, nsw32_corewindow::content_width, CORE_WINDOW_DRAG_NONE, nsw32_corewindow::drag_status, nsw32_corewindow::hWnd, NSERROR_NOMEM, NSERROR_OK, NSLOG, nsw32_corewindow::title, and windowclassname_corewindow.
Referenced by nsw32_cookie_init(), nsw32_global_history_init(), nsw32_hotlist_init(), and nsw32_local_history_init().
nserror nsw32_create_corewindow_class | ( | HINSTANCE | hInstance | ) |
Definition at line 584 of file corewindow.c.
References NSERROR_INIT_FAILED, NSERROR_OK, nsw32_window_corewindow_event_callback(), win_perror(), and windowclassname_corewindow.
Referenced by WinMain().
|
extern |
Definition at line 515 of file corewindow.c.
Referenced by WinMain().