|
TGUI
0.7.8
|
Implicit converter for widgets returned by the load function of the theme. More...
#include <TGUI/Loading/WidgetConverter.hpp>
Public Member Functions | |
| WidgetConverter (Widget::Ptr widget) | |
| Construct the converter from the widget. | |
| operator Widget::Ptr () | |
| Retrieve the widget without casting when required. | |
| template<class T > | |
| operator std::shared_ptr< T > () | |
| Cast the widget to the required type. | |
Implicit converter for widgets returned by the load function of the theme.