Ya se ven las notificaciones por pantalla

This commit is contained in:
2022-11-15 12:57:56 +01:00
parent 7d62b3a339
commit 754671e695
6 changed files with 57 additions and 20 deletions

View File

@@ -37,16 +37,16 @@ private:
color_t bgColor; // Color de fondo de las notificaciones
std::vector<notification_t> notifications; // La lista de notificaciones activas
// Elimina las notificaciones finalizadas
void clearFinishedNotifications();
public:
// Dibuja las notificaciones por pantalla
void render();
// Actualiza el estado de las notificaiones
void update();
// Elimina las notificaciones finalizadas
void clearFinishedNotifications();
public:
// Constructor
Notify(SDL_Renderer *renderer, std::string bitmapFile, std::string textFile);