X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fvideomode.h;h=2836e11a5c134f00d0f610b54833089efeaa04ef;hb=7f7f3c7494fe10a91215eaff208465636e9979ab;hp=f1715c0428d6dfc49a62d5a4de71af4bf9883afe;hpb=9bc0825e93b1385a4aaf9f90d666a1ac409ffb17;p=libs%2Fgui.git diff --git a/source/graphics/videomode.h b/source/graphics/videomode.h index f1715c0..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,6 +17,15 @@ public: }; +enum VideoRotation +{ + ROTATE_ANY, + ROTATE_NORMAL, + ROTATE_LEFT, + ROTATE_RIGHT, + ROTATE_INVERTED +}; + struct VideoMode { unsigned index; @@ -22,6 +33,7 @@ struct VideoMode unsigned width; unsigned height; unsigned rate; + VideoRotation rotation; VideoMode(); VideoMode(unsigned, unsigned);