mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +00:00
Move window manager code to gfx/drivers_wm
This commit is contained in:
parent
9e419d932f
commit
36b054506d
@ -376,7 +376,9 @@ ifeq ($(HAVE_WINXINPUT), 1)
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_X11), 1)
|
||||
OBJ += input/drivers/x11_input.o gfx/drivers_context/x11_common.o input/keyboard_event_x11.o
|
||||
OBJ += input/drivers/x11_input.o \
|
||||
gfx/drivers_wm/x11_common.o \
|
||||
input/keyboard_event_x11.o
|
||||
LIBS += $(X11_LIBS) $(XEXT_LIBS) $(XF86VM_LIBS) $(XINERAMA_LIBS)
|
||||
DEFINES += $(X11_CFLAGS) $(XEXT_CFLAGS) $(XF86VM_CFLAGS) $(XINERAMA_CFLAGS)
|
||||
endif
|
||||
@ -486,7 +488,7 @@ ifeq ($(HAVE_OPENGL), 1)
|
||||
else ifneq ($(findstring Win32,$(OS)),)
|
||||
LIBS += -lopengl32 -lgdi32 -lcomdlg32 -lcomctl32
|
||||
OBJ += gfx/drivers_context/wgl_ctx.o
|
||||
OBJ += gfx/drivers_context/wgl_shader_dlg.o
|
||||
OBJ += gfx/drivers_wm/win32_shader_dlg.o
|
||||
else
|
||||
LIBS += -lGL
|
||||
endif
|
||||
@ -689,8 +691,8 @@ endif
|
||||
ifneq ($(findstring Win32,$(OS)),)
|
||||
OBJ += media/rarch.o \
|
||||
input/keyboard_event_win32.o \
|
||||
gfx/drivers_context/win32_common.o \
|
||||
gfx/drivers_context/win32_dwm_common.o
|
||||
gfx/drivers_wm/win32_common.o \
|
||||
gfx/drivers_wm/win32_dwm_common.o
|
||||
endif
|
||||
|
||||
# Record
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "../font_renderer_driver.h"
|
||||
|
||||
#ifdef HAVE_X11
|
||||
#include "../drivers_context/x11_common.h"
|
||||
#include "../drivers_wm/x11_common.h"
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "../font_renderer_driver.h"
|
||||
|
||||
#ifdef HAVE_X11
|
||||
#include "../drivers_context/x11_common.h"
|
||||
#include "../drivers_wm/x11_common.h"
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "../font_renderer_driver.h"
|
||||
#include <retro_inline.h>
|
||||
|
||||
#include "../drivers_context/x11_common.h"
|
||||
#include "../drivers_wm/x11_common.h"
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
|
@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
#include "../d3d/d3d.h"
|
||||
#include "win32_common.h"
|
||||
#include "../drivers_wm/win32_common.h"
|
||||
|
||||
#include "../../runloop.h"
|
||||
#include "../video_monitor.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "../../runloop.h"
|
||||
#include "../gl_common.h"
|
||||
#include "../video_monitor.h"
|
||||
#include "x11_common.h"
|
||||
#include "../drivers_wm/x11_common.h"
|
||||
|
||||
#include <signal.h>
|
||||
#include <stdint.h>
|
||||
|
@ -26,8 +26,8 @@
|
||||
#include "../video_context_driver.h"
|
||||
#include "../gl_common.h"
|
||||
#include "../video_monitor.h"
|
||||
#include "win32_common.h"
|
||||
#include "wgl_shader_dlg.h"
|
||||
#include "../drivers_wm/win32_common.h"
|
||||
#include "../drivers_wm/win32_shader_dlg.h"
|
||||
#include <windows.h>
|
||||
#include <commdlg.h>
|
||||
#include <string.h>
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "../../runloop.h"
|
||||
#include "../gl_common.h"
|
||||
#include "../video_monitor.h"
|
||||
#include "x11_common.h"
|
||||
#include "../drivers_wm/x11_common.h"
|
||||
|
||||
#include <signal.h>
|
||||
#include <stdint.h>
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "../gl_common.h"
|
||||
#include "../video_monitor.h"
|
||||
#include "win32_common.h"
|
||||
#include "wgl_shader_dlg.h"
|
||||
#include "win32_shader_dlg.h"
|
||||
#include <windows.h>
|
||||
#include <commdlg.h>
|
||||
#include <commctrl.h>
|
@ -87,8 +87,8 @@ CHEATS
|
||||
UI COMMON CONTEXT
|
||||
============================================================ */
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
#include "../gfx/drivers_context/win32_common.c"
|
||||
#include "../gfx/drivers_context/win32_dwm_common.c"
|
||||
#include "../gfx/drivers_wm/win32_common.c"
|
||||
#include "../gfx/drivers_wm/win32_dwm_common.c"
|
||||
#endif
|
||||
|
||||
/*============================================================
|
||||
@ -129,13 +129,13 @@ VIDEO CONTEXT
|
||||
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
#include "../gfx/drivers_context/wgl_ctx.c"
|
||||
#include "../gfx/drivers_context/wgl_shader_dlg.c"
|
||||
#include "../gfx/drivers_wm/win32_shader_dlg.c"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_X11
|
||||
#include "../gfx/drivers_context/x11_common.c"
|
||||
#include "../gfx/drivers_wm/x11_common.c"
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user