]> git.tdb.fi Git - libs/gui.git/commit
Expose a lot more information through the Monitor struct
authorMikko Rasa <tdb@tdb.fi>
Thu, 26 Sep 2013 16:29:18 +0000 (19:29 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 26 Sep 2013 16:29:18 +0000 (19:29 +0300)
commit0913ba6fdd0e28740e0b521f275b9ce82c4a1b7a
tree61fde71706df65427afb99c423ccfa291b3a2d03
parent9a1b03ad820b49c4ed73f20d2cf82e445d245254
Expose a lot more information through the Monitor struct

This includes current mode and location in a multi-monitor setup.  Rotated
monitors and modes are also supported.  It's enough for many common cases,
though more exotic layouts still cannot be restored.

I'm not certain exactly how Windows handles multiple monitors.  Additional
research is required.
source/graphics/monitor.cpp
source/graphics/monitor.h
source/graphics/videomode.cpp
source/graphics/videomode.h
source/graphics/windows/display.cpp
source/graphics/x11/display.cpp