1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-05 17:58:41 +00:00

Add ui_companion_driver_get_browser_window_ptr

This commit is contained in:
twinaphex 2016-06-08 16:56:45 +02:00
parent 8088df5f09
commit 82ae93e348
2 changed files with 10 additions and 0 deletions

View File

@ -186,6 +186,14 @@ const ui_window_t *ui_companion_driver_get_window_ptr(void)
return ui->window;
}
const ui_browser_window_t *ui_companion_driver_get_browser_window_ptr(void)
{
const ui_companion_driver_t *ui = ui_companion_get_ptr();
if (!ui)
return NULL;
return ui->browser_window;
}
const ui_application_t *ui_companion_driver_get_application_ptr(void)
{
const ui_companion_driver_t *ui = ui_companion_get_ptr();

View File

@ -191,6 +191,8 @@ void ui_companion_driver_free(void);
const ui_msg_window_t *ui_companion_driver_get_msg_window_ptr(void);
const ui_browser_window_t *ui_companion_driver_get_browser_window_ptr(void);
const ui_window_t *ui_companion_driver_get_window_ptr(void);
const ui_application_t *ui_companion_driver_get_application_ptr(void);