* Set absolute (post-scaling) minimal size of the widget. * The window will need to be reinited if the size is changed. * @param min_x Horizontal minimal size of the widget. * @param min_y Vertical minimal size of the widget. * @return true iff the widget minimum size has changed. */
| 1132 | * @return true iff the widget minimum size has changed. |
| 1133 | */ |
| 1134 | bool NWidgetResizeBase::UpdateSize(uint min_x, uint min_y) |
| 1135 | { |
| 1136 | if (min_x == this->min_x && min_y == this->min_y) return false; |
| 1137 | this->min_x = min_x; |
| 1138 | this->min_y = min_y; |
| 1139 | return true; |
| 1140 | } |
| 1141 | |
| 1142 | /** |
| 1143 | * Set absolute (post-scaling) minimal size of the widget. |
no outgoing calls
no test coverage detected