Allow modification of the color for the checkbox's checked and unchecked icons
Occasionally, the default white color for the icon does not meet our needs, and we would like to change it. However, the CheckBox does not currently have a mechanism to modify this color.
This commit is contained in:
@ -49,6 +49,9 @@ class CheckButton : public Button {
|
||||
Ref<Texture2D> unchecked_mirrored;
|
||||
Ref<Texture2D> checked_disabled_mirrored;
|
||||
Ref<Texture2D> unchecked_disabled_mirrored;
|
||||
|
||||
Color button_checked_color;
|
||||
Color button_unchecked_color;
|
||||
} theme_cache;
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user