Hello acme_pjz,
I've made some changes to the GUI which I think is better.
Whenever a GUI element shows the background gets dimmed, also when a second GUI will open the first GUI won't be in the background.
One thing I'd like to change about the GUI is that when a second GUI goes back to the first it will still be visible in the background.
This can be seen in the LevelEditor when you select "Load Level" and press Cancel.
EDIT: Fixed the issue in revision 77.
I've been thinking about the ThemeManager and I think it should work as following:
- The user configures a theme he wants to have as default.
- The user can configure if he wants a level to be able to choose a theme.
- When a level loads without a theme defined it will use the configured theme.
- When a level loads with a theme defined but the user disabled custom themes for levels, it will use the configured theme.
- When a level loads with a theme defined and the user enabled custom themes for levels, it will use the theme defined in the level file.
There's only one thing I'm not sure about:
- When a level loads with a theme defined and the user enabled custom themes for levels, it will use the theme defined in the level file.
If an image is missing, it will load the image from the configured theme - OR - from the default meandmyshadow theme?
I think the latter is better since we can be kind of sure that the meandmyshadow theme is complete and working.
What do you think?
BTW, I won't be able to work on meandmyshadow for a while, I'm quite busy.