parameters to customize buttonEx More...
#include <MRUIStyle.h>
Public Attributes | |
| bool | enabled = true | 
| If false, the button is grayed out and can't be clicked.   | |
| 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 | 
If false, the button is grayed out and can't be clicked.
| 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