Pos ja compila pero no es veu una puta merda ...

This commit is contained in:
2024-10-10 08:06:36 +02:00
parent 3fa5b227ae
commit 6fe294c59d
2 changed files with 18 additions and 20 deletions

View File

@@ -26,7 +26,7 @@ struct textFile_t
};
// Llena una estructuta textFile_t desde un fichero
textFile_t LoadTextFile(std::string file, bool verbose = false);
textFile_t LoadTextFile(std::string file);
// Clase texto. Pinta texto en pantalla a partir de un bitmap
class Text
@@ -45,8 +45,8 @@ private:
public:
// Constructor
Text(std::string bitmapFile, std::string textFile, SDL_Renderer *renderer);
Text(std::string textFile, Texture *texture);
Text(textFile_t *textFile, Texture *texture);
Text(std::string textFile, std::shared_ptr<Texture> texture);
Text(textFile_t *textFile, std::shared_ptr<Texture> texture);
// Destructor
~Text() = default;