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

Method Create

src/SFGUI/Scrollbar.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24Scrollbar::Ptr Scrollbar::Create( Orientation orientation ) {
25 auto ptr = Ptr( new Scrollbar( orientation ) );
26 ptr->SetAdjustment( Adjustment::Create() );
27 return ptr;
28}
29
30Scrollbar::Ptr Scrollbar::Create( Adjustment::Ptr adjustment, Orientation orientation ) {
31 auto ptr = Ptr( new Scrollbar( orientation ) );

Callers

nothing calls this directly

Calls 1

SetAdjustmentMethod · 0.45

Tested by

no test coverage detected