mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-31 08:21:11 -06:00
13 lines
396 B
C++
13 lines
396 B
C++
#pragma once
|
|
|
|
class Fader
|
|
{
|
|
public:
|
|
static inline bool s_isVisible = false;
|
|
|
|
static void Draw();
|
|
static void SetFadeColour(ImU32 colour);
|
|
static void FadeIn(float duration = 1, std::function<void()> endCallback = nullptr, float endCallbackDelay = 0.75f);
|
|
static void FadeOut(float duration = 1, std::function<void()> endCallback = nullptr, float endCallbackDelay = 0.75f);
|
|
};
|