#include <vector>
#include <chrono>
#include <functional>
#include "fonts/icons/icons_material_design_icons.h"
#include <imgui_includes.h>
Go to the source code of this file.
|
enum | ImGuiToastType_ {
ImGuiToastType_None
, ImGuiToastType_Success
, ImGuiToastType_Warning
, ImGuiToastType_Error
,
ImGuiToastType_Info
, ImGuiToastType_COUNT
} |
|
enum | ImGuiToastPhase_ {
ImGuiToastPhase_FadeIn
, ImGuiToastPhase_Wait
, ImGuiToastPhase_FadeOut
, ImGuiToastPhase_Expired
,
ImGuiToastPhase_COUNT
} |
|
enum | ImGuiToastPos_ {
ImGuiToastPos_TopLeft
, ImGuiToastPos_TopCenter
, ImGuiToastPos_TopRight
, ImGuiToastPos_BottomLeft
,
ImGuiToastPos_BottomCenter
, ImGuiToastPos_BottomRight
, ImGuiToastPos_Center
, ImGuiToastPos_COUNT
} |
|
◆ NOTIFY_DEFAULT_DISMISS
#define NOTIFY_DEFAULT_DISMISS 3000 |
◆ NOTIFY_FADE_IN_OUT_TIME
#define NOTIFY_FADE_IN_OUT_TIME 150 |
◆ NOTIFY_FORMAT
#define NOTIFY_FORMAT |
( |
| fn, |
|
|
| format, |
|
|
| ... ) |
Value:if (format) { va_list args; va_start(args, format); fn(format, args, ##__VA_ARGS__); va_end(args); }
Definition at line 53 of file imgui_notify.h.
◆ NOTIFY_INLINE
#define NOTIFY_INLINE inline |
◆ NOTIFY_MAX_MSG_LENGTH
#define NOTIFY_MAX_MSG_LENGTH 4096 |
◆ NOTIFY_MAX_TOASTS
#define NOTIFY_MAX_TOASTS 10 |
◆ NOTIFY_NULL_OR_EMPTY
#define NOTIFY_NULL_OR_EMPTY |
( |
| str | ) |
|
◆ NOTIFY_OPACITY
#define NOTIFY_OPACITY 1.0f |
◆ NOTIFY_PADDING_MESSAGE_Y
#define NOTIFY_PADDING_MESSAGE_Y 10.f |
◆ NOTIFY_PADDING_X
#define NOTIFY_PADDING_X 20.f |
◆ NOTIFY_PADDING_Y
#define NOTIFY_PADDING_Y 20.f |
◆ NOTIFY_TOAST_FLAGS
#define NOTIFY_TOAST_FLAGS ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoNav | ImGuiWindowFlags_NoBringToFrontOnFocus | ImGuiWindowFlags_NoFocusOnAppearing |
◆ NOTIFY_USE_SEPARATOR
#define NOTIFY_USE_SEPARATOR |
◆ ImGuiToastDrawCallback
◆ ImGuiToastPhase
◆ ImGuiToastPos
◆ ImGuiToastType
◆ ImGuiToastPhase_
Enumerator |
---|
ImGuiToastPhase_FadeIn | |
ImGuiToastPhase_Wait | |
ImGuiToastPhase_FadeOut | |
ImGuiToastPhase_Expired | |
ImGuiToastPhase_COUNT | |
Definition at line 76 of file imgui_notify.h.
◆ ImGuiToastPos_
Enumerator |
---|
ImGuiToastPos_TopLeft | |
ImGuiToastPos_TopCenter | |
ImGuiToastPos_TopRight | |
ImGuiToastPos_BottomLeft | |
ImGuiToastPos_BottomCenter | |
ImGuiToastPos_BottomRight | |
ImGuiToastPos_Center | |
ImGuiToastPos_COUNT | |
Definition at line 85 of file imgui_notify.h.
◆ ImGuiToastType_
Enumerator |
---|
ImGuiToastType_None | |
ImGuiToastType_Success | |
ImGuiToastType_Warning | |
ImGuiToastType_Error | |
ImGuiToastType_Info | |
ImGuiToastType_COUNT | |
Definition at line 66 of file imgui_notify.h.