MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::UI::SeparatorParams Struct Reference

Parameters for drawing custom separator. More...

#include <MRUIStyle.h>

Public Attributes

const ImGuiImageicon { 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< ColorsuffixFrameColor
 color of background frame behind suffix (if not present default ImGuiCol_FrameBg is used)
 
bool forceImGuiSpacing = false
 
float extraScale = 1
 The spacing is multiplied by this.
 

Detailed Description

Parameters for drawing custom separator.


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