Global Color Palette / Themes
I would like to use a central color palette for my application. But I haven't found a good example of how to implement that. There doesn't seem to be anything in touchGFX designer to implement this.
My first attempt was to place some colortype variables in the model. But the amount of coding overhead to pass those colors through the presenter, view, then down into several layers of nested custom containers is significant.
So I guess I have 2 questions:
Is there a preferred way of creating centralized application colortypes which can be altered at runtime to support themes?
Am I missing some technique for passing data in/out of nested custom containers that doesn't require so many layers of getters/setters?
