15 lines
376 B
C++
15 lines
376 B
C++
#pragma once
|
|
|
|
#include <SDL3/SDL.h>
|
|
|
|
namespace Overlay {
|
|
void init();
|
|
void destroy();
|
|
|
|
// Pinta l'overlay sobre el buffer ARGB — cridar abans de presentar
|
|
void render(Uint32* pixel_data);
|
|
|
|
// Mostra una notificació amb animació slide-in/stay/slide-out
|
|
void showNotification(const char* text, float duration_seconds = 2.0F);
|
|
} // namespace Overlay
|