 |
Crossfire Resources Editor
|
Go to the documentation of this file.
17 #include "../archetypes/ArchetypeWrapper.h"
20 :
AssetWrapper(parent), myResourcesManager(resourcesManager) {
21 setProperty(
tipProperty, tr(
"Display all recipes."));
34 while (index < myResourcesManager->recipeMaxIngredients()) {
Class managing all assets, tracking in which file they are, which are modified, and such.
virtual PossibleUse uses(const AssetWrapper *asset, std::string &) const override
virtual int childrenCount() const override
ArchetypeWrapper * wrap(archetype *arch, AssetWrapper *parent)
ResourcesManager * myResourcesManager
RecipesWrapper(AssetWrapper *parent, ResourcesManager *resourcesManager)
int recipeMaxIngredients() const
static const char * tipProperty
virtual int childIndex(AssetWrapper *) override
Base class for all assets that can be displayed or edited by CRE.
virtual AssetWrapper * child(int) override