Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top