Trabajando en las animaciones de las notificaciones

This commit is contained in:
2022-11-15 16:22:40 +01:00
parent b1c3e0d2af
commit 860c35992b
5 changed files with 29 additions and 26 deletions

View File

@@ -21,11 +21,24 @@ private:
ns_finished
};
enum notification_position_e
{
upperLeft,
upperCenter,
upperRight,
middleLeft,
middleRight,
bottomLeft,
bottomCenter,
bottomRight
};
struct notification_t
{
std::string text;
int counter;
notification_state_e state;
notification_position_e position;
Texture *texture;
Sprite *sprite;
SDL_Rect rect;