* Determine default height of window. * This is either a stored user preferred size, or the built-in default. * @return Height in pixels. */
| 145 | * @return Height in pixels. |
| 146 | */ |
| 147 | int16_t WindowDesc::GetDefaultHeight() const |
| 148 | { |
| 149 | return this->pref_height != 0 ? this->pref_height : ScaleGUITrad(this->default_height_trad); |
| 150 | } |
| 151 | |
| 152 | /** |
| 153 | * Load all WindowDesc settings from _windows_file. |
no test coverage detected