]> git.tdb.fi Git - libs/gui.git/blob - source/graphics/monitor.h
18586db50d4782f8871ca0c6e459b90df74b12bf
[libs/gui.git] / source / graphics / monitor.h
1 #ifndef MSP_GRAPHICS_MONITOR_H_
2 #define MSP_GRAPHICS_MONITOR_H_
3
4 #include <list>
5 #include <string>
6 #include "videomode.h"
7
8 namespace Msp {
9 namespace Graphics {
10
11 struct Monitor
12 {
13         unsigned index;
14         std::list<const VideoMode *> video_modes;
15         const VideoMode *desktop_mode;
16         VideoRotation desktop_rotation;
17         const VideoMode *current_mode;
18         VideoRotation current_rotation;
19         int x, y;
20         const Monitor *next_left;
21         const Monitor *next_right;
22
23         Monitor();
24 };
25
26 } // namespace Graphics
27 } // namespace Msp
28
29 #endif