libnotifications/source/internal.h

12 lines
564 B
C
Raw Normal View History

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;
};