qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
Go to the documentation of this file.
48 , height(rect.height())
72 constexpr uint32_t minTolerance = 300;
73 constexpr uint32_t toleranceFactor = 10;
74 return std::max((
width +
height)/toleranceFactor, minTolerance);
80 VideoMode::operator bool()
const
82 return width || height ||
static_cast<int>(FPS);
uint32_t tolerance() const
int height
Displayed video resolution (NOT frame resolution).
uint32_t norm(const VideoMode &other) const
bool operator==(const VideoMode &other) const
int y
Coordinates of upper-left corner.
VideoMode(int width=0, int height=0, int x=0, int y=0, float FPS=-1.0f)
Describes a video mode supported by a device.
float FPS
Frames per second supported by the device at this resolution.