$darkmode
#include "action_notifier.h"#include "log.h"#include "ui.h"#include "utils.h"#include <cglm/types.h>Functions | |
| void | action_notifier_init (ActionNotifier *notifier) |
| Initializes the notifier. More... | |
| void | action_notifier_push (ActionNotifier *notifier, const char *text, float duration) |
| Adds a new notification message. More... | |
| void | action_notifier_update (ActionNotifier *notifier, float delta_time) |
| Updates notification timers. More... | |
| void | action_notifier_draw (ActionNotifier *notifier, UIContext *ui_ctx, int screen_width, int screen_height) |
| Renders active notifications to the screen. More... | |
| void action_notifier_draw | ( | ActionNotifier * | notifier, |
| UIContext * | ui_ctx, | ||
| int | screen_width, | ||
| int | screen_height | ||
| ) |
Renders active notifications to the screen.
| notifier | Pointer to the notifier. |
| ui_ctx | UIContext to use for drawing. |
| screen_width | Current window width. |
| screen_height | Current window height. |
| void action_notifier_init | ( | ActionNotifier * | notifier | ) |
Initializes the notifier.
| notifier | Pointer to the notifier struct. |
| void action_notifier_push | ( | ActionNotifier * | notifier, |
| const char * | text, | ||
| float | duration | ||
| ) |
Adds a new notification message.
| notifier | Pointer to the notifier. |
| text | The message to display. |
| duration | Duration in seconds. |
| void action_notifier_update | ( | ActionNotifier * | notifier, |
| float | delta_time | ||
| ) |
Updates notification timers.
| notifier | Pointer to the notifier. |
| delta_time | Delta time since last update (seconds). |