MeshLib Documentation
Loading...
Searching...
No Matches
MR::UI::ButtonCustomizationParams Struct Reference

parameters to customize buttonEx More...

#include <MRUIStyle.h>

+ Inheritance diagram for MR::UI::ButtonCustomizationParams:

Public Attributes

ImGuiImagecustomTexture = nullptr
 
bool forceImGuiBackground = false
 force use imgui background if !customTexture
 
bool forceImguiTextColor = false
 force use if ImGuiCol_Text for text
 
bool border = false
 show border or not
 
bool underlineFirstLetter = false
 draw line under first letter of label
 
bool enableTestEngine = true
 Allow interacting with this button from UI::TestEngine.
 

Detailed Description

parameters to customize buttonEx

Member Data Documentation

◆ border

bool MR::UI::ButtonCustomizationParams::border = false

show border or not

◆ customTexture

ImGuiImage* MR::UI::ButtonCustomizationParams::customTexture = nullptr

gradient texture other than default {start, hover_start, acitve_start, disabled_start, end, hover_end, acitve_end, disabled_end }

◆ enableTestEngine

bool MR::UI::ButtonCustomizationParams::enableTestEngine = true

Allow interacting with this button from UI::TestEngine.

◆ forceImGuiBackground

bool MR::UI::ButtonCustomizationParams::forceImGuiBackground = false

force use imgui background if !customTexture

◆ forceImguiTextColor

bool MR::UI::ButtonCustomizationParams::forceImguiTextColor = false

force use if ImGuiCol_Text for text

◆ underlineFirstLetter

bool MR::UI::ButtonCustomizationParams::underlineFirstLetter = false

draw line under first letter of label


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