dolphin/Source/Core/DolphinWX/GLInterface/X11_Util.h

27 lines
483 B
C
Raw Normal View History

// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
2012-12-26 18:12:26 +00:00
#pragma once
2012-12-26 18:12:26 +00:00
#include <string>
#include <thread>
2012-12-26 18:12:26 +00:00
#include <X11/keysym.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
2012-12-26 18:12:26 +00:00
class cX11Window
{
private:
void XEventThread();
std::thread xEventThread;
Colormap colormap;
2012-12-26 18:12:26 +00:00
public:
void Initialize(Display *dpy);
Window CreateXWindow(Window parent, XVisualInfo *vi);
2012-12-26 18:12:26 +00:00
void DestroyXWindow(void);
Display *dpy;
Window win;
2012-12-26 18:12:26 +00:00
};