diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-12-28 16:14:19 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-12-28 16:14:19 +0000 |
commit | 96e073a29777bbe927f0bc7187f7032d3f51e68b (patch) | |
tree | a74404287ae531793095126a3499f2d4d34c98fe /frontends/windows/corewindow.c | |
parent | 770c277ccc182f504be0a316390d59c05a59e041 (diff) | |
parent | af6139bcb5845d4cdbc852b113ac8fabcee29097 (diff) | |
download | netsurf-96e073a29777bbe927f0bc7187f7032d3f51e68b.tar.gz netsurf-96e073a29777bbe927f0bc7187f7032d3f51e68b.tar.bz2 |
Merge branch 'vince/ro-corewindow'
Conflicts:
frontends/riscos/sslcert.h
Diffstat (limited to 'frontends/windows/corewindow.c')
-rw-r--r-- | frontends/windows/corewindow.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/frontends/windows/corewindow.c b/frontends/windows/corewindow.c index d1d761d94..8d853fb23 100644 --- a/frontends/windows/corewindow.c +++ b/frontends/windows/corewindow.c @@ -18,7 +18,7 @@ /** * \file - * win32 generic core window interface. + * win32 generic core window implementation. * * Provides interface for core renderers to a win32 api client area. * @@ -248,7 +248,7 @@ nsw32_corewindow_close(struct nsw32_corewindow *nsw32_cw) } /** - * callback for hotlist window win32 events + * callback for core window win32 events * * \param hwnd The win32 window handle * \param msg The win32 message identifier @@ -349,6 +349,13 @@ nsw32_cw_scroll_visible(struct core_window *cw, const struct rect *r) } +/** + * Callback from the core to obtain the window viewport dimensions + * + * \param[in] cw the core window object + * \param[out] width to be set to viewport width in px + * \param[out] height to be set to viewport height in px + */ static void nsw32_cw_get_window_dimensions(struct core_window *cw, int *width, int *height) { |