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

#include <MRViewer/MRUITestEngine.h>

Public Attributes

bool simulateClick = false
 Set this to true to simulate a button click.
std::string disabledReason

Static Public Attributes

static constexpr std::string_view kindName = "button"

Member Data Documentation

◆ disabledReason

std::string MR::UI::TestEngine::ButtonEntry::disabledReason

Non-empty if the button was drawn disabled (greyed out / not accepting input) on the last frame, with a human-readable reason. Empty means the button accepts input.

◆ kindName

std::string_view MR::UI::TestEngine::ButtonEntry::kindName = "button"
staticconstexpr

◆ simulateClick

bool MR::UI::TestEngine::ButtonEntry::simulateClick = false
mutable

Set this to true to simulate a button click.


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