#ifndef MSP_GRAPHICS_MONITOR_H_
#define MSP_GRAPHICS_MONITOR_H_
-#include <list>
#include <string>
+#include <vector>
#include "videomode.h"
namespace Msp {
{
struct Settings
{
- const VideoMode *mode;
- VideoRotation rotation;
- int x, y;
-
- Settings();
+ const VideoMode *mode = nullptr;
+ VideoRotation rotation = ROTATE_NORMAL;
+ int x = 0;
+ int y = 0;
};
- unsigned index;
+ unsigned index = 0;
std::string name;
- std::list<const VideoMode *> video_modes;
+ std::vector<const VideoMode *> video_modes;
Settings desktop_settings;
Settings current_settings;
- const Monitor *next_left;
- const Monitor *next_right;
-
- Monitor();
+ const Monitor *next_left = nullptr;
+ const Monitor *next_right = nullptr;
};
} // namespace Graphics