Modificadas las notificaciones a dos lineas de texto

This commit is contained in:
2022-12-29 09:42:57 +01:00
parent a2f1efd2a6
commit e963251fd9
7 changed files with 24 additions and 15 deletions

View File

@@ -57,7 +57,7 @@ private:
color_t bgColor; // Color de fondo de las notificaciones
int waitTime; // Tiempo que se ve la notificación
std::vector<notification_t> notifications; // La lista de notificaciones activas
JA_Sound_t* sound; // Sonido a reproducir cuando suena la notificación
JA_Sound_t *sound; // Sonido a reproducir cuando suena la notificación
// Elimina las notificaciones finalizadas
void clearFinishedNotifications();
@@ -76,7 +76,7 @@ public:
~Notify();
// Muestra una notificación de texto por pantalla;
void showText(std::string text);
void showText(std::string text1 = "", std::string text2 = "");
// Indica si hay notificaciones activas
bool active();