X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fx11%2Fdisplay_platform.h;h=4335f1cac3a5de89c52386f5e3e26baaa7b90e3f;hb=d26a3b66814216fa3a29c8a0582614b7349b13f2;hp=8db3e98e8f79eab86f4d3a6aba6a8422aab9cae6;hpb=9bc0825e93b1385a4aaf9f90d666a1ac409ffb17;p=libs%2Fgui.git diff --git a/source/graphics/x11/display_platform.h b/source/graphics/x11/display_platform.h index 8db3e98..4335f1c 100644 --- a/source/graphics/x11/display_platform.h +++ b/source/graphics/x11/display_platform.h @@ -2,14 +2,22 @@ #define MSP_GRAPHICS_DISPLAY_PLATFORM_H_ #include +#ifdef WITH_XRANDR #include +#endif namespace Msp { namespace Graphics { typedef ::Display *DisplayHandle; -typedef RROutput MonitorHandle; -typedef RRMode ModeHandle; + +struct PlatformDisplayPrivate +{ +#ifdef WITH_XRANDR + std::vector monitors; + std::vector modes; +#endif +}; } // namespace Graphics } // namespace Msp