19#ifndef NETSURF_WINDOWS_WINDOW_H_
20#define NETSURF_WINDOWS_WINDOW_H_
nserror
Enumeration of error codes.
struct gui_window_table * win32_window_table
The window operation function table for win32.
nserror nsws_create_main_class(HINSTANCE hinstance)
Create the main browser window class.
HWND gui_window_main_window(struct gui_window *gw)
Get the main win32 window handle from a gui window.
struct gui_window * nsws_get_gui_window(HWND hwnd)
Obtain gui window structure from window handle.
bool nsws_window_go(HWND hwnd, const char *urltxt)
Cause a browser window to navigate to a url.
nserror win32_window_set_scroll(struct gui_window *gw, const struct rect *rect)
Set the scroll position of a win32 browser window.
struct nsws_localhistory * gui_window_localhistory(struct gui_window *)
Get the localhistory win32 window handle from a gui window.
Core mouse and pointer states.
browser_mouse_state
Mouse state.
browser_mouse_state state
Graphical user interface window function table.
first entry in window list
struct gui_window * prev
Previous in linked list.
struct browser_mouse * mouse
mouse state
HWND main
handle to the actual window
struct nsws_localhistory * localhistory
handle to local history window
HMENU mainmenu
the main menu
HACCEL acceltable
accelerators
int toolbuttonsize
width, height of buttons
HWND toolbar
toolbar handle
struct gui_window * next
list for cleanup
bool throbbing
whether currently throbbing
int toolbuttonc
number of toolbar buttons
RECT * fullscreen
memorize non-fullscreen area
int height
height of drawing area
HWND vscroll
vertical scrollbar handle
int requestscrolly
scolling requested.
int scrollx
current scroll location
HMENU rclick
the right-click menu
RECT redraw
Area needing redraw.
HWND hscroll
horizontal scrollbar handle
HWND drawingarea
throbber handle
HWND urlbar
url bar handle
HWND statusbar
status bar handle
HBITMAP hPageInfo[8]
page info handles
int scrolly
current scroll location
struct browser_window * bw
The 'content' window that is rendered in the gui_window.