| 14 | } |
| 15 | |
| 16 | ToggleButton::Ptr ToggleButton::Create( const sf::String& label ) { |
| 17 | Ptr button( new ToggleButton ); |
| 18 | button->SetLabel( label ); |
| 19 | return button; |
| 20 | } |
| 21 | |
| 22 | const std::string& ToggleButton::GetName() const { |
| 23 | static const std::string name( "ToggleButton" ); |