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

Method Create

src/SFGUI/Frame.cpp:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace sfg {
8
9Frame::Ptr Frame::Create( const sf::String& label ) {
10 auto ptr = Ptr( new Frame );
11 ptr->SetLabel( label );
12 return ptr;
13}
14
15std::unique_ptr<RenderQueue> Frame::InvalidateImpl() const {
16 return Context::Get().GetEngine().CreateFrameDrawable( std::dynamic_pointer_cast<const Frame>( shared_from_this() ) );

Callers

nothing calls this directly

Calls 1

SetLabelMethod · 0.45

Tested by

no test coverage detected