MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ImGuiMeasurementIndicators::TextParams Struct Reference

#include <MRImGuiMeasurementIndicators.h>

Classes

struct  Line
 

Public Attributes

Color borderColor = Color::transparent()
 
std::optional< Lineline
 Optional. Draw a line to this point from the text bubble.
 
bool isHovered = false
 Should imply borderColor.
 
bool isActive = false
 Should imply isHovered.
 
bool isSelected = false
 This is independent from the bools above, but currently requires borderColor to be meaningful.
 

Member Data Documentation

◆ borderColor

Color MR::ImGuiMeasurementIndicators::TextParams::borderColor = Color::transparent()

Optional. The convention is that this should only be set if the text is possible to hover. The border is drawn only if the alpha of this isn't zero.

◆ isActive

bool MR::ImGuiMeasurementIndicators::TextParams::isActive = false

Should imply isHovered.

◆ isHovered

bool MR::ImGuiMeasurementIndicators::TextParams::isHovered = false

Should imply borderColor.

◆ isSelected

bool MR::ImGuiMeasurementIndicators::TextParams::isSelected = false

This is independent from the bools above, but currently requires borderColor to be meaningful.

◆ line

std::optional<Line> MR::ImGuiMeasurementIndicators::TextParams::line

Optional. Draw a line to this point from the text bubble.


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