#include "imgui/imgui.h"
#include "imgui/imgui_internal.h"
#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
} |
| |
| enum | ImGuiToastHorizontalPos_ { ImGuiToastHorizontalPos_Left
, ImGuiToastHorizontalPos_Right
, ImGuiToastHorizontalPos_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); }
gfx::texture_format format
Definition at line 57 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_RENDER_LIMIT
| #define NOTIFY_RENDER_LIMIT 10 |
◆ NOTIFY_TOAST_FLAGS
| #define NOTIFY_TOAST_FLAGS ImGuiWindowFlags_Tooltip | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoNav | ImGuiWindowFlags_NoBringToFrontOnFocus | ImGuiWindowFlags_NoFocusOnAppearing | ImGuiWindowFlags_NoInputs |
◆ NOTIFY_USE_DISMISS_BUTTON
| #define NOTIFY_USE_DISMISS_BUTTON false |
◆ NOTIFY_USE_SEPARATOR
| #define NOTIFY_USE_SEPARATOR |
◆ ImGuiToastDrawCallback
◆ ImGuiToastHorizontalPos
◆ ImGuiToastPhase
◆ ImGuiToastPos
◆ ImGuiToastType
◆ ImGuiToastHorizontalPos_
| Enumerator |
|---|
| ImGuiToastHorizontalPos_Left | |
| ImGuiToastHorizontalPos_Right | |
| ImGuiToastHorizontalPos_COUNT | |
Definition at line 102 of file imgui_notify.h.
◆ ImGuiToastPhase_
| Enumerator |
|---|
| ImGuiToastPhase_FadeIn | |
| ImGuiToastPhase_Wait | |
| ImGuiToastPhase_FadeOut | |
| ImGuiToastPhase_Expired | |
| ImGuiToastPhase_COUNT | |
Definition at line 81 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 90 of file imgui_notify.h.
◆ ImGuiToastType_
| Enumerator |
|---|
| ImGuiToastType_None | |
| ImGuiToastType_Success | |
| ImGuiToastType_Warning | |
| ImGuiToastType_Error | |
| ImGuiToastType_Info | |
| ImGuiToastType_COUNT | |
Definition at line 71 of file imgui_notify.h.