treballant en el overlay, el text i les notificacions
This commit is contained in:
14
source/core/rendering/overlay.hpp
Normal file
14
source/core/rendering/overlay.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user