X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fvideomode.h;h=2836e11a5c134f00d0f610b54833089efeaa04ef;hb=0466fc5fe92ae03189f45f8872fb070ef7022290;hp=4054b4bb1308398e5278d926d082d811c529d003;hpb=89ec4c335953556ca069960adf6ea3a5dc3bb499;p=libs%2Fgui.git diff --git a/source/graphics/videomode.h b/source/graphics/videomode.h index 4054b4b..2836e11 100644 --- a/source/graphics/videomode.h +++ b/source/graphics/videomode.h @@ -1,6 +1,8 @@ #ifndef MSP_GRAPHICS_VIDEOMODE_H_ #define MSP_GRAPHICS_VIDEOMODE_H_ +#include + namespace Msp { namespace Graphics { @@ -15,12 +17,23 @@ public: }; +enum VideoRotation +{ + ROTATE_ANY, + ROTATE_NORMAL, + ROTATE_LEFT, + ROTATE_RIGHT, + ROTATE_INVERTED +}; + struct VideoMode { + unsigned index; const Monitor *monitor; unsigned width; unsigned height; unsigned rate; + VideoRotation rotation; VideoMode(); VideoMode(unsigned, unsigned);