]> git.tdb.fi Git - libs/gui.git/blob - source/graphics/monitor.h
Initialize longjmp target before calling jpeg_create_decompress
[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         struct Settings
14         {
15                 const VideoMode *mode;
16                 VideoRotation rotation;
17                 int x, y;
18
19                 Settings();
20         };
21
22         unsigned index;
23         std::string name;
24         std::list<const VideoMode *> video_modes;
25         Settings desktop_settings;
26         Settings current_settings;
27         const Monitor *next_left;
28         const Monitor *next_right;
29
30         Monitor();
31 };
32
33 } // namespace Graphics
34 } // namespace Msp
35
36 #endif