Afegida confirmació per eixir del joc
This commit is contained in:
@@ -504,4 +504,10 @@ void Screen::displayInfo()
|
||||
// Resolution
|
||||
dbg_print(0, 0, infoResolution.c_str(), 255, 255, 0);
|
||||
}
|
||||
}
|
||||
|
||||
// Indica si hay alguna notificación activa en pantalla
|
||||
bool Screen::notificationsAreActive()
|
||||
{
|
||||
return notify->active();
|
||||
}
|
||||
@@ -134,6 +134,9 @@ public:
|
||||
// Muestra una notificación de texto por pantalla;
|
||||
void showNotification(std::string text1 = "", std::string text2 = "", int icon = -1);
|
||||
|
||||
// Indica si hay alguna notificación activa en pantalla
|
||||
bool notificationsAreActive();
|
||||
|
||||
// Obtiene el puntero al renderizador
|
||||
SDL_Renderer *getRenderer();
|
||||
};
|
||||
Reference in New Issue
Block a user