]> 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 1ac438317b927a4b7e2dc145d9b8fbbcd842b5f3..d1bdd43b784b14efbc531480e2d1654247e68514 100644 (file)
@@ -7,15 +7,17 @@ namespace Graphics {
 
 Monitor::Monitor():
        index(0),
-       desktop_mode(0),
-       desktop_rotation(ROTATE_NORMAL),
-       current_mode(0),
-       current_rotation(ROTATE_NORMAL),
-       x(0),
-       y(0),
        next_left(0),
        next_right(0)
 { }
 
+
+Monitor::Settings::Settings():
+       mode(0),
+       rotation(ROTATE_NORMAL),
+       x(0),
+       y(0)
+{ }
+
 } // namespace Graphics
 } // namespace Msp