NetSurf
|
#include "netsurf/core_window.h"
Go to the source code of this file.
Data Structures | |
struct | fb_corewindow |
fb core window state More... | |
Functions | |
nserror | fb_corewindow_init (fbtk_widget_t *parent, struct fb_corewindow *fb_cw) |
initialise elements of fb core window. More... | |
nserror | fb_corewindow_fini (struct fb_corewindow *fb_cw) |
finalise elements of fb core window. More... | |
Variables | |
struct core_window_table * | framebuffer_core_window_table |
nserror fb_corewindow_fini | ( | struct fb_corewindow * | fb_cw | ) |
finalise elements of fb core window.
fb_cw | A fb core window structure to initialise |
Definition at line 278 of file corewindow.c.
References NSERROR_OK.
Referenced by fb_local_history_destroy().
nserror fb_corewindow_init | ( | fbtk_widget_t * | parent, |
struct fb_corewindow * | fb_cw | ||
) |
initialise elements of fb core window.
As a pre-requisite the draw, key and mouse callbacks must be defined
fb_cw | A fb core window structure to initialise |
Definition at line 207 of file corewindow.c.
References CORE_WINDOW_DRAG_NONE, fb_corewindow::drag_status, fb_corewindow::drawable, fb_cw_draw_event(), fb_cw_mouse_press_event(), FB_FRAME_COLOUR, FB_SCROLL_COLOUR, FBTK_CBT_CLICK, FBTK_CBT_REDRAW, fbtk_create_fill(), fbtk_create_hscroll(), fbtk_create_user(), fbtk_create_vscroll(), fbtk_create_window(), fbtk_get_height(), fbtk_get_width(), fbtk_set_handler(), fb_corewindow::hscroll, NSERROR_OK, nsoption_int, parent, fb_corewindow::vscroll, and fb_corewindow::wnd.
Referenced by fb_local_history_init().
|
extern |
Definition at line 204 of file corewindow.c.
Referenced by main().