mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +00:00
Add ui/drivers/win32_ui_win32_window.h
This commit is contained in:
parent
61e1c13ae6
commit
bc7e7a26f0
@ -46,7 +46,13 @@
|
||||
#include "../../../runloop.h"
|
||||
#include "../../../tasks/tasks_internal.h"
|
||||
|
||||
static void ui_window_win32_set_visible(void *data,
|
||||
void ui_window_win32_destroy(void *data)
|
||||
{
|
||||
ui_window_win32_t *window = (ui_window_win32_t*)data;
|
||||
DestroyWindow(hwnd);
|
||||
}
|
||||
|
||||
void ui_window_win32_set_visible(void *data,
|
||||
bool set_visible)
|
||||
{
|
||||
}
|
||||
|
47
ui/drivers/win32/ui_win32_window.h
Normal file
47
ui/drivers/win32/ui_win32_window.h
Normal file
@ -0,0 +1,47 @@
|
||||
/* RetroArch - A frontend for libretro.
|
||||
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
|
||||
* Copyright (C) 2011-2016 - Daniel De Matteis
|
||||
*
|
||||
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
||||
* of the GNU General Public License as published by the Free Software Found-
|
||||
* ation, either version 3 of the License, or (at your option) any later version.
|
||||
*
|
||||
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with RetroArch.
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _WIN32_WINDOW_UI
|
||||
#define _WIN32_WINDOW_UI
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include <boolean.h>
|
||||
#include <retro_common_api.h>
|
||||
|
||||
#ifndef _XBOX
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#icnlude "../../ui_companion_driver.h"
|
||||
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
typedef struct ui_window_win32
|
||||
{
|
||||
HWND hwnd;
|
||||
} ui_window_win32_t;
|
||||
|
||||
void ui_window_win32_set_visible(void *data,
|
||||
bool set_visible);
|
||||
|
||||
void ui_window_win32_destroy(void *data);
|
||||
|
||||
RETRO_END_DECLS
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user