file
popup.hppUtility function to show up a popup containing assets with given type.
Namespaces
- namespace tesseratos
- Tesseratos namespace.
Functions
-
auto assetSelectionPopup(const std::string& title,
cubos::
engine:: AnyAsset& selectedAsset, const cubos:: core:: reflection:: Type& type, const cubos:: engine:: Assets& assets) -> bool - Displays a modal popup to select an asset of a specified type.
-
template<typename T>auto assetSelectionPopup(const std::string& title, cubos::
engine:: AnyAsset& selectedAsset, const cubos:: engine:: Assets& assets) -> bool - Displays a modal popup to select an asset of a specified type.