|
Hymn to Beauty
C++ 3D Engine
|
Used to select a resource from the resource list. More...
#include <ResourceSelector.hpp>
Classes | |
| struct | SelectedResource |
| Information about the selected resource. More... | |
Public Member Functions | |
| ResourceSelector ()=default | |
| Default constructor. More... | |
| bool | Show (ResourceList::Resource::Type type) |
| Show the resource selector and let the user select a resource. More... | |
| const SelectedResource & | GetSelectedResource () const |
| Get the selected resource. More... | |
Used to select a resource from the resource list.
|
default |
Default constructor.
| const ResourceSelector::SelectedResource & ResourceSelector::GetSelectedResource | ( | ) | const |
Get the selected resource.
| bool ResourceSelector::Show | ( | ResourceList::Resource::Type | type | ) |
Show the resource selector and let the user select a resource.
| type | The type of resource to select. |