Parameters for drawing custom separator. More...
#include <MRUIStyle.h>
Public Attributes | |
const ImGuiImage * | icon { nullptr } |
optional icon in the left part of separator | |
Vector2f | iconSize |
size of icon | |
std::string | label |
label at the left part of separator (drawn after icon if present) | |
std::string | suffix |
framed text after label (might be used for some indications) | |
std::optional< Color > | suffixFrameColor |
color of background frame behind suffix (if not present default ImGuiCol_FrameBg is used) | |
bool | forceImGuiSpacing = false |
Parameters for drawing custom separator.
bool MR::UI::SeparatorParams::forceImGuiSpacing = false |
if set - use default spacing from ImGui::GetStyle() otherwise overrides it with ribbon constants
const ImGuiImage* MR::UI::SeparatorParams::icon { nullptr } |
optional icon in the left part of separator
Vector2f MR::UI::SeparatorParams::iconSize |
size of icon
scaling is applied inside separator
function
std::string MR::UI::SeparatorParams::label |
label at the left part of separator (drawn after icon if present)
std::string MR::UI::SeparatorParams::suffix |
framed text after label (might be used for some indications)
std::optional<Color> MR::UI::SeparatorParams::suffixFrameColor |
color of background frame behind suffix (if not present default ImGuiCol_FrameBg is used)