I'm working on writing a patch to make the "no banner" banner theme-able, due to recent discussions regarding the recent change (http://code.google.com/p/dolphin-emu/sou...cb7818c520).
I've got the easy part down- making it theme-able. With what I have thus far, when opening Dolphin, it will load the "nobanner.png" from the folder of the currently selected theme.
However, as it stands right now, I have no idea how to add a "nobanner.png" to the Boomy theme, nor how to make the "nobanner.png" be reloaded when the theme is changed.
What's more, I can't find where in the code either is done.
So, in order to finish this patch, I need to know two things:
1) Where in the code is the Boomy theme made? Are the icons stored as code somewhere and then processed into .png files at compile time, are they /always/ .png files and placed into the correct location at compile?
2) Where in the code is the theme changing handled? If I could find it, I could quite easily add the code needed for the nobanner.png theme change.
I've got the easy part down- making it theme-able. With what I have thus far, when opening Dolphin, it will load the "nobanner.png" from the folder of the currently selected theme.
However, as it stands right now, I have no idea how to add a "nobanner.png" to the Boomy theme, nor how to make the "nobanner.png" be reloaded when the theme is changed.
What's more, I can't find where in the code either is done.
So, in order to finish this patch, I need to know two things:
1) Where in the code is the Boomy theme made? Are the icons stored as code somewhere and then processed into .png files at compile time, are they /always/ .png files and placed into the correct location at compile?
2) Where in the code is the theme changing handled? If I could find it, I could quite easily add the code needed for the nobanner.png theme change.