X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fmonitor.h;h=0fc9798568348e1eedd745eac9c8212e3f41fd4e;hb=294c354ae3b1f26887c37f866f082e52c08d80f1;hp=fefd9867f8f78e2962696fe26f07f654c3f1982c;hpb=2ed9d7a0a96638bdf0614c1cf858719e7ced40d3;p=libs%2Fgui.git diff --git a/source/graphics/monitor.h b/source/graphics/monitor.h index fefd986..0fc9798 100644 --- a/source/graphics/monitor.h +++ b/source/graphics/monitor.h @@ -12,22 +12,19 @@ struct Monitor { struct Settings { - const VideoMode *mode; - VideoRotation rotation; - int x, y; - - Settings(); + const VideoMode *mode = 0; + VideoRotation rotation = ROTATE_NORMAL; + int x = 0; + int y = 0; }; - unsigned index; + unsigned index = 0; std::string name; std::list video_modes; Settings desktop_settings; Settings current_settings; - const Monitor *next_left; - const Monitor *next_right; - - Monitor(); + const Monitor *next_left = 0; + const Monitor *next_right = 0; }; } // namespace Graphics