[FR] DrawableButton: make images protected?


I want to derive from DrawableButton. And after doing that, I would like to have access to all the internal drawables. I.e. “normalImage, overImage, downImage, disabledImage, normalImageOn, overImageOn, downImageOn, disabledImageOn”
But right now they are private.

Could you make them protected instead?
Or add interface functions, which expose them?
Unless you think that would expose too much internal implementation to the user.

My goal: I want to change the colour of the Drawables during run-time. You can do that with “Drawable::replaceColour”. But only, if I have access to all Drawables of the DrawableButton :slight_smile:

1 Like