diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2020-02-23 17:18:56 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2020-02-23 17:38:14 +0000 |
commit | 7a3f86494049fcfddaf00331d8bdbc746b4bbecb (patch) | |
tree | e135fe6687aa677234821a923716a4183ea27488 /desktop/page-info.c | |
parent | 1149a1304d56a0fe758eba5686b156f5006f16f8 (diff) | |
download | netsurf-7a3f86494049fcfddaf00331d8bdbc746b4bbecb.tar.gz netsurf-7a3f86494049fcfddaf00331d8bdbc746b4bbecb.tar.bz2 |
Page info: Add core window size getter, and stub for keypresses.
Diffstat (limited to 'desktop/page-info.c')
-rw-r--r-- | desktop/page-info.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/desktop/page-info.c b/desktop/page-info.c index bbbbbb516..51784c4b9 100644 --- a/desktop/page-info.c +++ b/desktop/page-info.c @@ -766,3 +766,23 @@ nserror page_info_mouse_action( return NSERROR_OK; } + +/* Exported interface documented in desktop/page_info.h */ +bool page_info_keypress( + struct page_info *pi, + int32_t key) +{ + return NSERROR_OK; +} + +/* Exported interface documented in desktop/page_info.h */ +nserror page_info_get_size( + struct page_info *pi, + int *width, + int *height) +{ + *width = pi->width; + *height = pi->height; + + return NSERROR_OK; +} |