* Set absolute (post-scaling) minimal size of the widget. * The window will need to be reinited if the size is changed. * @param min_y Vertical minimal size of the widget. * @return true iff the widget minimum size has changed. */
| 1146 | * @return true iff the widget minimum size has changed. |
| 1147 | */ |
| 1148 | bool NWidgetResizeBase::UpdateVerticalSize(uint min_y) |
| 1149 | { |
| 1150 | if (min_y == this->min_y) return false; |
| 1151 | this->min_y = min_y; |
| 1152 | return true; |
| 1153 | } |
| 1154 | |
| 1155 | void NWidgetResizeBase::AssignSizePosition(SizingType sizing, int x, int y, uint given_width, uint given_height, bool) |
| 1156 | { |
no outgoing calls
no test coverage detected