mirror of
https://github.com/libretro/RetroArch
synced 2025-01-17 01:16:25 +00:00
ui_window - add destroy function callback
This commit is contained in:
parent
bc7e7a26f0
commit
be08e07a66
@ -21,12 +21,17 @@
|
||||
|
||||
#include "../../ui_companion_driver.h"
|
||||
|
||||
void ui_window_null_destroy(void *data)
|
||||
{
|
||||
}
|
||||
|
||||
static void ui_window_null_set_visible(void *data,
|
||||
bool set_visible)
|
||||
{
|
||||
}
|
||||
|
||||
const ui_window_t ui_window_null = {
|
||||
ui_window_null_destroy,
|
||||
ui_window_null_set_visible,
|
||||
"null",
|
||||
};
|
||||
|
@ -58,6 +58,7 @@ void ui_window_win32_set_visible(void *data,
|
||||
}
|
||||
|
||||
const ui_window_t ui_window_win32 = {
|
||||
ui_window_win32_destroy,
|
||||
ui_window_win32_set_visible,
|
||||
"win32",
|
||||
};
|
||||
|
@ -33,6 +33,7 @@ RETRO_BEGIN_DECLS
|
||||
|
||||
typedef struct ui_window
|
||||
{
|
||||
void (*destroy)(void *data);
|
||||
void (*set_visible)(void *data, bool visible);
|
||||
const char *ident;
|
||||
} ui_window_t;
|
||||
|
Loading…
Reference in New Issue
Block a user