Notification service component.
More...
#include <notification_service.hpp>
|
| void | RenderNotifications () |
| | Render notifications.
|
| |
| void | RemoveQueuedNotification (int nIndex) |
| | Remove a queued notification.
|
| |
| void | Notify (std::string title, std::string message) |
| | Notify.
|
| |
| void | SetFonts (ImFont *imFont, ImFont *imLogo) |
| | Set fonts.
|
| |
| virtual void | Init () |
| | Will be executed when the component is initialized.
|
| |
| virtual void | Update () |
| | If Update loop enabled, this function will be executed every frame.
|
| |
| virtual void | UpdateCurrentTarget (TargetProfile *target) |
| | If Update loop enabled, this function will be executed every frame for each target.
|
| |
| virtual | ~CComponent ()=default |
| |
Notification service component.
This component is responsible for displaying notifications.
◆ Notify()
| void CNotificationService::Notify |
( |
std::string |
title, |
|
|
std::string |
message |
|
) |
| |
Notify.
- Parameters
-
| title | Title of the notification. |
| message | Message of the notification. |
◆ RemoveQueuedNotification()
| void CNotificationService::RemoveQueuedNotification |
( |
int |
nIndex | ) |
|
Remove a queued notification.
- Parameters
-
| nIndex | Index of the notification to remove. |
◆ RenderNotifications()
| void CNotificationService::RenderNotifications |
( |
| ) |
|
◆ SetFonts()
| void CNotificationService::SetFonts |
( |
ImFont * |
imFont, |
|
|
ImFont * |
imLogo |
|
) |
| |
|
inline |
Set fonts.
- Parameters
-
| imFont | Font. |
| imLogo | Logo font. |
The documentation for this class was generated from the following file:
- xenon/includes/xenon/components/services/notification_service.hpp