Page info: Add core window size getter, and stub for keypresses.

This commit is contained in:
Michael Drake 2020-02-23 17:18:56 +00:00
parent 1149a1304d
commit 7a3f864940
1 changed files with 20 additions and 0 deletions

View File

@ -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;
}