diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-10-29 17:24:31 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-10-29 17:24:31 +0100 |
commit | 3ecced92f335f80a372cf3fb0ab1c6f7c564cebb (patch) | |
tree | c629d5e33157dc267bb35f1712cf021c58d92181 /frontends/windows/window.h | |
parent | 57715fc70cef09e39b9f8b6277b02304d4281a95 (diff) | |
download | netsurf-3ecced92f335f80a372cf3fb0ab1c6f7c564cebb.tar.gz netsurf-3ecced92f335f80a372cf3fb0ab1c6f7c564cebb.tar.bz2 |
Complete windows main window documentation
Diffstat (limited to 'frontends/windows/window.h')
-rw-r--r-- | frontends/windows/window.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/frontends/windows/window.h b/frontends/windows/window.h index 95c443ebc..d927c2899 100644 --- a/frontends/windows/window.h +++ b/frontends/windows/window.h @@ -37,7 +37,7 @@ struct browser_mouse { struct gui_window { /* The front's private data connected to a browser window */ /* currently 1<->1 gui_window<->windows window [non-tabbed] */ - struct browser_window *bw; /** the browser_window */ + struct browser_window *bw; /**< the browser_window */ HWND main; /**< handle to the actual window */ HWND toolbar; /**< toolbar handle */ @@ -90,6 +90,13 @@ struct gui_window *nsws_get_gui_window(HWND hwnd); */ bool nsws_window_go(HWND hwnd, const char *urltxt); +/** + * scroll the window + * + * \param w The win32 gui window to scroll. + * \param sx the new 'absolute' horizontal scroll location + * \param sy the new 'absolute' vertical scroll location + */ void win32_window_set_scroll(struct gui_window *w, int sx, int sy); /** |