Unravel Engine C++ Reference
Loading...
Searching...
No Matches
ImBox::MsgBoxConfig Struct Reference

Configuration for message box appearance and behavior. More...

#include <imgui_messagebox.h>

Public Attributes

MessageType type = MessageType::Info
 
ImVec2 min_size = {300, 150}
 
ImVec2 max_size = {600, 400}
 
float animation_duration = 0.1f
 
bool center_on_screen = true
 
bool allow_resize = false
 
bool show_close_button = true
 
ImVec4 background_color = {0.0f, 0.0f, 0.0f, 0.0f}
 

Detailed Description

Configuration for message box appearance and behavior.

Definition at line 57 of file imgui_messagebox.h.

Member Data Documentation

◆ allow_resize

bool ImBox::MsgBoxConfig::allow_resize = false

Definition at line 64 of file imgui_messagebox.h.

◆ animation_duration

float ImBox::MsgBoxConfig::animation_duration = 0.1f

Definition at line 62 of file imgui_messagebox.h.

◆ background_color

ImVec4 ImBox::MsgBoxConfig::background_color = {0.0f, 0.0f, 0.0f, 0.0f}

Definition at line 66 of file imgui_messagebox.h.

◆ center_on_screen

bool ImBox::MsgBoxConfig::center_on_screen = true

Definition at line 63 of file imgui_messagebox.h.

◆ max_size

ImVec2 ImBox::MsgBoxConfig::max_size = {600, 400}

Definition at line 61 of file imgui_messagebox.h.

◆ min_size

ImVec2 ImBox::MsgBoxConfig::min_size = {300, 150}

Definition at line 60 of file imgui_messagebox.h.

◆ show_close_button

bool ImBox::MsgBoxConfig::show_close_button = true

Definition at line 65 of file imgui_messagebox.h.

◆ type

MessageType ImBox::MsgBoxConfig::type = MessageType::Info

Definition at line 59 of file imgui_messagebox.h.


The documentation for this struct was generated from the following file: