]> git.tdb.fi Git - libs/gui.git/blob - source/graphics/x11/display_platform.h
Let platform header determine (part of) the contents of Display::Private
[libs/gui.git] / source / graphics / x11 / display_platform.h
1 #ifndef MSP_GRAPHICS_DISPLAY_PLATFORM_H_
2 #define MSP_GRAPHICS_DISPLAY_PLATFORM_H_
3
4 #include <X11/Xlib.h>
5 #ifdef WITH_XRANDR
6 #include <X11/extensions/Xrandr.h>
7 #endif
8
9 namespace Msp {
10 namespace Graphics {
11
12 typedef ::Display *DisplayHandle;
13
14 struct PlatformDisplayPrivate
15 {
16 #ifdef WITH_XRANDR
17         std::vector<RROutput> monitors;
18         std::vector<RRMode> modes;
19 #endif
20 };
21
22 } // namespace Graphics
23 } // namespace Msp
24
25 #endif