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

Method Create

src/SFGUI/Scale.cpp:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17Scale::Ptr Scale::Create( Orientation orientation ) {
18 Ptr ptr( new Scale( orientation ) );
19 ptr->SetAdjustment( Adjustment::Create() );
20 return ptr;
21}
22
23Scale::Ptr Scale::Create( float min, float max, float step, Orientation orientation ) {
24 Ptr ptr( new Scale( orientation ) );

Callers

nothing calls this directly

Calls 3

SetIncrementsMethod · 0.80
SetAdjustmentMethod · 0.45
SetRangeMethod · 0.45

Tested by

no test coverage detected