| 299 | } |
| 300 | |
| 301 | void Entry::HandleSizeChange() { |
| 302 | if( HasFocus() ) { |
| 303 | GrabFocus( Widget::Ptr() ); |
| 304 | } |
| 305 | |
| 306 | SetCursorPosition( 0 ); |
| 307 | RecalculateVisibleString(); |
| 308 | } |
| 309 | |
| 310 | sf::Vector2f Entry::CalculateRequisition() { |
| 311 | const std::string& font_name( Context::Get().GetEngine().GetProperty<std::string>( "FontName", shared_from_this() ) ); |
nothing calls this directly
no outgoing calls
no test coverage detected