| 21 | } |
| 22 | |
| 23 | sf::Vector2f Alignment::CalculateRequisition() { |
| 24 | auto child = GetChild(); |
| 25 | |
| 26 | if( !child ) { |
| 27 | return sf::Vector2f( 0.f, 0.f ); |
| 28 | } |
| 29 | |
| 30 | return child->GetRequisition(); |
| 31 | } |
| 32 | |
| 33 | const std::string& Alignment::GetName() const { |
| 34 | static const std::string name( "Alignment" ); |
nothing calls this directly
no outgoing calls
no test coverage detected