]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/monitor.h
Extend the video mode API to support multiple monitors
[libs/gui.git] / source / graphics / monitor.h
diff --git a/source/graphics/monitor.h b/source/graphics/monitor.h
new file mode 100644 (file)
index 0000000..d5e49bb
--- /dev/null
@@ -0,0 +1,24 @@
+#ifndef MSP_GRAPHICS_MONITOR_H_
+#define MSP_GRAPHICS_MONITOR_H_
+
+#include <list>
+#include <string>
+
+namespace Msp {
+namespace Graphics {
+
+struct VideoMode;
+
+struct Monitor
+{
+       unsigned index;
+       std::list<const VideoMode *> video_modes;
+       const VideoMode *desktop_mode;
+
+       Monitor();
+};
+
+} // namespace Graphics
+} // namespace Msp
+
+#endif