2023-01-21 21:33:00 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "notifications/notification_defines.h"
|
|
|
|
|
|
|
|
struct NMDefaultValueStore {
|
|
|
|
float durationBeforeFadeOutInSeconds = 2.0f;
|
|
|
|
float shakeDurationOnErrorInSeconds = 0.5f;
|
|
|
|
NMColor backgroundColor = {100, 100, 100, 255};
|
|
|
|
NMColor textColor = {255, 255, 255, 255};
|
|
|
|
void (*finishFunc)(NotificationModuleHandle, void *context) = nullptr;
|
|
|
|
void *finishFuncContext = nullptr;
|
2024-04-26 13:49:11 +02:00
|
|
|
bool keepUntilShown = false;
|
2023-01-21 21:33:00 +01:00
|
|
|
};
|