X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fmonitor.h;h=8d86d4e0c9507673df77444195dc3e250574d2ad;hb=1ea8498c4c729f849095e2f4aa3d282de2000a35;hp=0fc9798568348e1eedd745eac9c8212e3f41fd4e;hpb=294c354ae3b1f26887c37f866f082e52c08d80f1;p=libs%2Fgui.git diff --git a/source/graphics/monitor.h b/source/graphics/monitor.h index 0fc9798..8d86d4e 100644 --- a/source/graphics/monitor.h +++ b/source/graphics/monitor.h @@ -1,8 +1,8 @@ #ifndef MSP_GRAPHICS_MONITOR_H_ #define MSP_GRAPHICS_MONITOR_H_ -#include #include +#include #include "videomode.h" namespace Msp { @@ -12,7 +12,7 @@ struct Monitor { struct Settings { - const VideoMode *mode = 0; + const VideoMode *mode = nullptr; VideoRotation rotation = ROTATE_NORMAL; int x = 0; int y = 0; @@ -20,11 +20,11 @@ struct Monitor unsigned index = 0; std::string name; - std::list video_modes; + std::vector video_modes; Settings desktop_settings; Settings current_settings; - const Monitor *next_left = 0; - const Monitor *next_right = 0; + const Monitor *next_left = nullptr; + const Monitor *next_right = nullptr; }; } // namespace Graphics