#ifndef MSP_GRAPHICS_VIDEOMODE_H_
#define MSP_GRAPHICS_VIDEOMODE_H_
+#include <stdexcept>
+
namespace Msp {
namespace Graphics {
{
public:
unsupported_video_mode(const VideoMode &);
- virtual ~unsupported_video_mode() throw () { }
};
+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;
+ float rate;
+ VideoRotation rotation;
VideoMode();
VideoMode(unsigned, unsigned);