* Determine default width of window. * This is either a stored user preferred size, or the built-in default. * @return Width in pixels. */
| 135 | * @return Width in pixels. |
| 136 | */ |
| 137 | int16_t WindowDesc::GetDefaultWidth() const |
| 138 | { |
| 139 | return this->pref_width != 0 ? this->pref_width : ScaleGUITrad(this->default_width_trad); |
| 140 | } |
| 141 | |
| 142 | /** |
| 143 | * Determine default height of window. |
no test coverage detected