| 227 | } |
| 228 | |
| 229 | bool Window::HandleAdd( Widget::Ptr child ) { |
| 230 | if( !Bin::HandleAdd( child ) ) { |
| 231 | return false; |
| 232 | } |
| 233 | |
| 234 | // Reset allocation so the window will be as large as required. |
| 235 | SetAllocation( sf::FloatRect( GetAllocation().position, { 1.f, 1.f } ) ); |
| 236 | RequestResize(); |
| 237 | |
| 238 | return true; |
| 239 | } |
| 240 | |
| 241 | } |
nothing calls this directly
no outgoing calls
no test coverage detected