1 #ifndef MYTHDISPLAYMODE_H_
2 #define MYTHDISPLAYMODE_H_
30 double AspectRatio,
double RefreshRate);
32 double AspectRatio,
double RefreshRate);
34 QString ToString ()
const;
35 QSize Resolution ()
const;
39 int HeightMM ()
const;
40 double AspectRatio ()
const;
41 double RefreshRate ()
const;
42 void SetAspectRatio(
double AspectRatio);
43 void AddRefreshRate(
double Rate);
44 void ClearRefreshRates();
45 void SetRefreshRate(
double Rate);
49 static uint64_t CalcKey (QSize Size,
double Rate);
50 static bool CompareRates (
double First,
double Second,
double Precision = 0.01);
52 int Width,
int Height,
double Rate);
59 double m_aspect { -1.0 };