| 101 | } |
| 102 | |
| 103 | inline int IndicatorWidthForHeight(int height) |
| 104 | { |
| 105 | // Not an exact inverse of the above, with rounding, but good enough |
| 106 | return std::max(static_cast<int>(IndicatorSmallWidth), |
| 107 | (((height) * 2) / 3) * 2 |
| 108 | ); |
| 109 | } |
| 110 | |
| 111 | inline int IndicatorBigHeight() |
| 112 | { |
no test coverage detected