This is basicall linux code cleanup. We don not need to pass the X display handle from the video plugin anymore. The wiimote plugins now open their own display handles, and the GUI uses the display handle of the main window frame. Only the window handle from the video plugin is needed. The pWindowHandle variable now passes this instead of the display handle.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5884 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-07-16 14:14:57 +00:00
parent 665d83ed45
commit 02ce753b76
18 changed files with 40 additions and 98 deletions

View File

@ -5,7 +5,6 @@
#ifndef _VIDEO_H_INCLUDED__
#define _VIDEO_H_INCLUDED__
#include "Common.h"
#include "PluginSpecs.h"
#include "ExportProlog.h"
@ -71,9 +70,6 @@ typedef struct
typedef struct
{
void *pWindowHandle;
#if defined(HAVE_X11) && HAVE_X11
void *pXWindow;
#endif
TSetInterrupt pSetInterrupt;
TRegisterEvent pRegisterEvent;

View File

@ -8,11 +8,6 @@
#include "PluginSpecs.h"
#include "ExportProlog.h"
#if !defined _WIN32 && !defined __APPLE__
#include "Config.h"
#endif
typedef void (*TLogv)(const char* _pMessage, int _v);
// This is called when the Wiimote sends input reports to the Core.
@ -24,9 +19,6 @@ typedef bool (*TRendererHasFocus)(void);
typedef struct
{
HWND hWnd;
#if defined HAVE_X11 && HAVE_X11
void *pXWindow;
#endif
u32 ISOId;
TLogv pLog;
TWiimoteInterruptChannel pWiimoteInterruptChannel;