Btk
internal.hpp
1
#if !defined(_BTK_X11_INTERNAL_HPP_)
2
#define _BTK_X11_INTERNAL_HPP_
3
#include <SDL2/SDL_syswm.h>
4
#include <Btk/platform/x11.hpp>
5
#include <X11/Xutil.h>
6
#include <X11/Xatom.h>
7
namespace
Btk
{
8
namespace
X11{
9
using
XColorMap = ::Colormap;
10
using
XPixMap = ::Pixmap;
11
using
XDisplay = ::Display;
12
using
XWindow = ::Window;
13
using
XGC = ::GC;
14
using
XAtom = ::Atom;
19
struct
XContext
{
20
XDisplay *display;
21
XWindow
window;
22
};
23
XContext
GetXContext(SDL_Window *win);
31
int
XErrorHandler(Display *display,XErrorEvent *event);
32
}
33
}
34
35
#endif // _BTK_X11_INTERNAL_HPP_
Btk::X11::XContext
Current Context for SDL_Window.
Definition:
internal.hpp:19
Btk
This header include many useful containers.
Definition:
async.hpp:7
Btk::Window
A Basic Window.
Definition:
window.hpp:20
src
platform
x11
internal.hpp
Generated by
1.8.13