struct VideoMode
{
- unsigned index;
- const Monitor *monitor;
- unsigned width;
- unsigned height;
- float rate;
- VideoRotation rotation;
-
- VideoMode();
+ unsigned index = 0;
+ const Monitor *monitor = nullptr;
+ unsigned width = 0;
+ unsigned height = 0;
+ float rate = 0.0f;
+ VideoRotation rotation = ROTATE_ANY;
+
+ VideoMode() = default;
VideoMode(unsigned, unsigned);
};