#include <imgui_notify.h>
|
| NOTIFY_INLINE auto | set_title (const char *format,...) -> void |
| |
| NOTIFY_INLINE auto | set_content (const char *format,...) -> void |
| |
| NOTIFY_INLINE auto | set_type (const ImGuiToastType &type) -> void |
| |
| NOTIFY_INLINE auto | set_draw_callback (const ImGuiToastDrawCallback &callback) -> void |
| |
| NOTIFY_INLINE auto | set_show_dismiss_button (const bool &show) -> void |
| |
| NOTIFY_INLINE auto | set_on_dismiss (const std::function< void()> &callback) -> void |
| |
| NOTIFY_INLINE auto | set_button_label (const char *format,...) -> void |
| | Set the label for the button in the notification.
|
| |
| NOTIFY_INLINE auto | set_window_flags (ImGuiWindowFlags flags) -> void |
| |
| NOTIFY_INLINE auto | set_horizontal_pos (const ImGuiToastHorizontalPos &pos) -> void |
| |
| NOTIFY_INLINE auto | set_frame_padding (const ImVec2 &frame_padding) -> void |
| |
| NOTIFY_INLINE auto | set_frame_padding (float x, float y) -> void |
| |
| NOTIFY_INLINE auto | get_on_dismiss () -> const std::function< void()> & |
| |
| NOTIFY_INLINE auto | get_window_flags () -> const ImGuiWindowFlags & |
| |
| NOTIFY_INLINE auto | get_show_dismiss_button () -> const bool |
| |
| NOTIFY_INLINE auto | get_title () -> const char * |
| |
| NOTIFY_INLINE auto | get_default_title () -> const char * |
| |
| NOTIFY_INLINE auto | get_type () -> const ImGuiToastType & |
| |
| NOTIFY_INLINE auto | get_color () -> const ImVec4 |
| |
| NOTIFY_INLINE auto | get_icon () -> const char * |
| |
| NOTIFY_INLINE auto | get_content () -> char * |
| |
| NOTIFY_INLINE auto | get_draw_callback () -> const ImGuiToastDrawCallback & |
| |
| NOTIFY_INLINE auto | has_draw_callback () -> bool |
| |
| NOTIFY_INLINE auto | get_horizontal_pos () -> const ImGuiToastHorizontalPos & |
| |
| NOTIFY_INLINE auto | get_frame_padding () -> const ImVec2 & |
| |
| NOTIFY_INLINE auto | get_elapsed_time () |
| |
| NOTIFY_INLINE auto | get_phase () -> const ImGuiToastPhase |
| |
| NOTIFY_INLINE auto | get_fade_percent () -> const float |
| |
| NOTIFY_INLINE auto | set_creation_time (uint64_t offset) -> const uint64_t |
| |
| | ImGuiToast (ImGuiToastType type, int dismiss_time=NOTIFY_DEFAULT_DISMISS) |
| |
| | ImGuiToast (ImGuiToastType type, const char *format,...) |
| |
| | ImGuiToast (ImGuiToastType type, int dismiss_time, const char *format,...) |
| |
| | ImGuiToast (ImGuiToastType type, const ImGuiToastDrawCallback &callback, int dismiss_time=NOTIFY_DEFAULT_DISMISS) |
| |
Definition at line 109 of file imgui_notify.h.
◆ ImGuiToast() [1/4]
◆ ImGuiToast() [2/4]
| ImGuiToast::ImGuiToast |
( |
ImGuiToastType | type, |
|
|
const char * | format, |
|
|
| ... ) |
|
inline |
◆ ImGuiToast() [3/4]
| ImGuiToast::ImGuiToast |
( |
ImGuiToastType | type, |
|
|
int | dismiss_time, |
|
|
const char * | format, |
|
|
| ... ) |
|
inline |
◆ ImGuiToast() [4/4]
◆ get_color() [1/2]
◆ get_color() [2/2]
◆ get_content()
◆ get_default_title()
| NOTIFY_INLINE auto ImGuiToast::get_default_title |
( |
| ) |
-> const char*
|
|
inline |
◆ get_draw_callback()
◆ get_elapsed_time()
◆ get_fade_percent()
| NOTIFY_INLINE auto ImGuiToast::get_fade_percent |
( |
| ) |
-> const float
|
|
inline |
◆ get_frame_padding()
| NOTIFY_INLINE auto ImGuiToast::get_frame_padding |
( |
| ) |
-> const ImVec2& |
|
inline |
◆ get_horizontal_pos()
◆ get_icon() [1/2]
◆ get_icon() [2/2]
◆ get_on_dismiss()
| NOTIFY_INLINE auto ImGuiToast::get_on_dismiss |
( |
| ) |
-> const std::function<void()>& |
|
inline |
◆ get_phase()
◆ get_show_dismiss_button()
| NOTIFY_INLINE auto ImGuiToast::get_show_dismiss_button |
( |
| ) |
-> const bool |
|
inline |
◆ get_tick_count()
| static NOTIFY_INLINE auto ImGuiToast::get_tick_count |
( |
| ) |
-> const unsigned long long
|
|
inlinestatic |
◆ get_title()
◆ get_type()
◆ get_window_flags()
| NOTIFY_INLINE auto ImGuiToast::get_window_flags |
( |
| ) |
-> const ImGuiWindowFlags& |
|
inline |
◆ has_draw_callback()
◆ set_button_label()
| NOTIFY_INLINE auto ImGuiToast::set_button_label |
( |
const char * | format, |
|
|
| ... ) -> void
|
|
inline |
Set the label for the button in the notification.
- Parameters
-
| format | The format string for the label. |
| ... | The arguments for the format string. |
Definition at line 153 of file imgui_notify.h.
◆ set_content()
| NOTIFY_INLINE auto ImGuiToast::set_content |
( |
const char * | format, |
|
|
| ... ) -> void |
|
inline |
◆ set_creation_time()
| NOTIFY_INLINE auto ImGuiToast::set_creation_time |
( |
uint64_t | offset | ) |
-> const uint64_t |
|
inline |
◆ set_draw_callback()
◆ set_frame_padding() [1/2]
| NOTIFY_INLINE auto ImGuiToast::set_frame_padding |
( |
const ImVec2 & | frame_padding | ) |
-> void |
|
inline |
◆ set_frame_padding() [2/2]
| NOTIFY_INLINE auto ImGuiToast::set_frame_padding |
( |
float | x, |
|
|
float | y ) -> void |
|
inline |
◆ set_horizontal_pos()
◆ set_on_dismiss()
| NOTIFY_INLINE auto ImGuiToast::set_on_dismiss |
( |
const std::function< void()> & | callback | ) |
-> void |
|
inline |
◆ set_show_dismiss_button()
| NOTIFY_INLINE auto ImGuiToast::set_show_dismiss_button |
( |
const bool & | show | ) |
-> void |
|
inline |
◆ set_title()
| NOTIFY_INLINE auto ImGuiToast::set_title |
( |
const char * | format, |
|
|
| ... ) -> void |
|
inline |
◆ set_type()
◆ set_window_flags()
| NOTIFY_INLINE auto ImGuiToast::set_window_flags |
( |
ImGuiWindowFlags | flags | ) |
-> void |
|
inline |
◆ unique_id
| uint64_t ImGuiToast::unique_id = 0 |
The documentation for this class was generated from the following file: