]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/monitor.cpp
Refactor storage of monitor settings
[libs/gui.git] / source / graphics / monitor.cpp
index 0bc33efe042911edc7058f844c082e17fa1c8a62..d1bdd43b784b14efbc531480e2d1654247e68514 100644 (file)
@@ -7,7 +7,16 @@ namespace Graphics {
 
 Monitor::Monitor():
        index(0),
-       desktop_mode(0)
+       next_left(0),
+       next_right(0)
+{ }
+
+
+Monitor::Settings::Settings():
+       mode(0),
+       rotation(ROTATE_NORMAL),
+       x(0),
+       y(0)
 { }
 
 } // namespace Graphics