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

Method Create

src/SFGUI/ProgressBar.cpp:14–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14ProgressBar::Ptr ProgressBar::Create( Orientation orientation ) {
15 return Ptr( new ProgressBar( orientation ) );
16}
17
18void ProgressBar::SetFraction( float fraction ) {
19 m_fraction = std::max( 0.f, std::min( 1.f, fraction ) );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected