AMFP Enhanced
C++ reference: the code this unofficial fork added
Loading...
Searching...
No Matches
LuxJournalToast.h File Reference

the brief "new hint / note" HUD rows (Enhanced option). More...

Go to the source code of this file.

Classes

class  cLuxJournalToast

Variables

static const float kLuxToastTime = 6.0f
static const float kLuxToastFadeIn = 0.3f
static const float kLuxToastFadeOut = 1.0f

Detailed Description

the brief "new hint / note" HUD rows (Enhanced option).

A new hint or note shows its D-pad shortcut for a few seconds, then fades; opening it hides the row. Pure logic, unit tested in tests/cpp/test_journal_toast.cpp.

Definition in file LuxJournalToast.h.

Variable Documentation

◆ kLuxToastTime

const float kLuxToastTime = 6.0f
static

Definition at line 9 of file LuxJournalToast.h.

◆ kLuxToastFadeIn

const float kLuxToastFadeIn = 0.3f
static

Definition at line 10 of file LuxJournalToast.h.

◆ kLuxToastFadeOut

const float kLuxToastFadeOut = 1.0f
static

Definition at line 11 of file LuxJournalToast.h.