parameters to customize buttonEx More...
#include <MRUIStyle.h>
Public Attributes | |
ImGuiImage * | customTexture = 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 . | |
parameters to customize buttonEx
bool MR::UI::ButtonCustomizationParams::border = false |
show border or not
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 }
bool MR::UI::ButtonCustomizationParams::enableTestEngine = true |
Allow interacting with this button from UI::TestEngine
.
bool MR::UI::ButtonCustomizationParams::forceImGuiBackground = false |
force use imgui background if !customTexture
bool MR::UI::ButtonCustomizationParams::forceImguiTextColor = false |
force use if ImGuiCol_Text for text
bool MR::UI::ButtonCustomizationParams::underlineFirstLetter = false |
draw line under first letter of label