MCPcopy Create free account
hub / github.com/TankOs/SFGUI / CalculateRequisition

Method CalculateRequisition

src/SFGUI/Spinner.cpp:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43sf::Vector2f Spinner::CalculateRequisition() {
44 // Make it obvious where the spinner is if the user forgot to set requisition.
45 return sf::Vector2f( 4.f, 4.f );
46}
47
48const std::string& Spinner::GetName() const {
49 static const std::string name( "Spinner" );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected