2016-05-12 07:45:06 +00:00
|
|
|
/**
|
|
|
|
******************************************************************************
|
|
|
|
* Xenia : Xbox 360 Emulator Research Project *
|
|
|
|
******************************************************************************
|
|
|
|
* Copyright 2015 Ben Vanik. All rights reserved. *
|
|
|
|
* Released under the BSD license - see LICENSE in the root for more details. *
|
|
|
|
******************************************************************************
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef XENIA_BASE_PLATFORM_X11_H_
|
|
|
|
#define XENIA_BASE_PLATFORM_X11_H_
|
|
|
|
|
|
|
|
// NOTE: if you're including this file it means you are explicitly depending
|
|
|
|
// on Linux headers. Including this file outside of linux platform specific
|
|
|
|
// source code will break portability
|
2018-04-04 00:02:49 +00:00
|
|
|
#include <cstddef>
|
2016-05-12 07:45:06 +00:00
|
|
|
|
|
|
|
#include "xenia/base/platform.h"
|
|
|
|
|
2017-07-09 04:23:20 +00:00
|
|
|
// Xlib/Xcb is used only for GLX/Vulkan interaction, the window management
|
|
|
|
// and input events are done with gtk/gdk
|
2017-07-09 22:00:00 +00:00
|
|
|
#include <X11/Xlib-xcb.h>
|
2017-09-20 20:39:49 +00:00
|
|
|
#include <X11/Xlib.h>
|
2016-05-12 07:45:06 +00:00
|
|
|
#include <X11/Xos.h>
|
2017-09-20 20:39:49 +00:00
|
|
|
#include <X11/Xutil.h>
|
2017-07-09 04:23:20 +00:00
|
|
|
#include <xcb/xcb.h>
|
2016-05-12 07:45:06 +00:00
|
|
|
|
2017-09-20 20:39:49 +00:00
|
|
|
// Used for window management. Gtk is for GUI and wigets, gdk is for lower
|
|
|
|
// level events like key presses, mouse events, window handles, etc
|
2017-07-09 22:00:00 +00:00
|
|
|
#include <gdk/gdkx.h>
|
2017-09-20 20:39:49 +00:00
|
|
|
#include <gtk/gtk.h>
|
2016-05-12 07:45:06 +00:00
|
|
|
|
|
|
|
#endif // XENIA_BASE_PLATFORM_X11_H_
|