Question

The "Kitchen Sink" demo shows us how to multiple themes - very cool. The designer allows you, however, to add multiple themes to a single .res file. I added a second theme to my single theme.res file and then it seemed to use the second one as a default, bizarrely. Is this the correct way to do it?, or should I only do it the-way-of-the-demo and have multiple .res files?

Était-ce utile?

La solution

You can go both ways as long as the res file doesn't grow to be too big you will be fine.

Just override initTheme and initialize the right theme there.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top