| 30 | } |
| 31 | |
| 32 | sf::Vector2f ProgressBar::CalculateRequisition() { |
| 33 | if( m_orientation == Orientation::HORIZONTAL ) { |
| 34 | return sf::Vector2f( 20.f, 10.f ); |
| 35 | } |
| 36 | |
| 37 | return sf::Vector2f( 10.f, 20.f ); |
| 38 | } |
| 39 | |
| 40 | std::unique_ptr<RenderQueue> ProgressBar::InvalidateImpl() const { |
| 41 | return Context::Get().GetEngine().CreateProgressBarDrawable( std::dynamic_pointer_cast<const ProgressBar>( shared_from_this() ) ); |
nothing calls this directly
no outgoing calls
no test coverage detected