]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/monitor.h
Expose a lot more information through the Monitor struct
[libs/gui.git] / source / graphics / monitor.h
index d5e49bb3dbb210bc420f0bef3ff7e050b2cf728a..18586db50d4782f8871ca0c6e459b90df74b12bf 100644 (file)
@@ -3,17 +3,22 @@
 
 #include <list>
 #include <string>
+#include "videomode.h"
 
 namespace Msp {
 namespace Graphics {
 
-struct VideoMode;
-
 struct Monitor
 {
        unsigned index;
        std::list<const VideoMode *> video_modes;
        const VideoMode *desktop_mode;
+       VideoRotation desktop_rotation;
+       const VideoMode *current_mode;
+       VideoRotation current_rotation;
+       int x, y;
+       const Monitor *next_left;
+       const Monitor *next_right;
 
        Monitor();
 };