Dicewars-Siedler/src/game/ui/components/factorys/RessourceWidgetFactory.h
Sebastian Böckelmann 0894c5615e
All checks were successful
Tests / test (push) Successful in 2m36s
ADD: Configurable UITheme, closes #14
2026-04-20 12:39:31 +02:00

19 lines
447 B
C++

//
// Created by sebastian on 13.02.26.
//
#ifndef DICEWARS_SIEDLER_RESSOURCEWIDGETFACTORY_H
#define DICEWARS_SIEDLER_RESSOURCEWIDGETFACTORY_H
#include <memory>
class UiRessourceWidget;
class Font;
class RessourceWidgetFactory {
public:
static std::unique_ptr<UiRessourceWidget> create(const std::string &iconName, const std::string &textureName, int amount, float marginLeft = 0.0);
};
#endif //DICEWARS_SIEDLER_RESSOURCEWIDGETFACTORY_H