parameters to customize buttonEx More...
#include <MRUIStyle.h>
Public Attributes | |
bool | enabled = true |
determines if this button is enabled or disabled | |
ImGuiButtonFlags | flags = ImGuiButtonFlags_None |
imgui flags for this button | |
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 . | |
std::string | testEngineName |
if not empty, force use this string as name in 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::enabled = true |
determines if this button is enabled or disabled
bool MR::UI::ButtonCustomizationParams::enableTestEngine = true |
Allow interacting with this button from UI::TestEngine
.
ImGuiButtonFlags MR::UI::ButtonCustomizationParams::flags = ImGuiButtonFlags_None |
imgui flags for this button
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
std::string MR::UI::ButtonCustomizationParams::testEngineName |
if not empty, force use this string as name in TestEngine
bool MR::UI::ButtonCustomizationParams::underlineFirstLetter = false |
draw line under first letter of label