show recipes visually instead of describing them in text
This commit is contained in:
@@ -7,14 +7,19 @@
|
||||
#include "SchematicChoiceOption.h"
|
||||
|
||||
struct RecipesConfig;
|
||||
class BuildingIconCache;
|
||||
class ItemIconCache;
|
||||
|
||||
class SchematicChoiceDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
// The icon caches draw the recipe lines of the "Unlocks recipes" list
|
||||
// (REQ-DEF-SCHEMATIC-DROP, REQ-UI-ITEM-ICON, REQ-UI-BUILD-ICON). Not owned.
|
||||
SchematicChoiceDialog(const std::vector<SchematicChoiceOption>& options,
|
||||
const RecipesConfig& recipes,
|
||||
const RecipesConfig& recipes, ItemIconCache* itemIcons,
|
||||
BuildingIconCache* buildingIcons,
|
||||
QWidget* parent = nullptr);
|
||||
|
||||
int getChosenIndex() const;
|
||||
|
||||
Reference in New Issue
Block a user