I'm wondering about design concept for menu systems. I don't want to hard-code manually in my game the functionality and behaviour of my menu system, but rather want to design some abstract system that I can then use to implement a menu that is defined in like a xml file.
Let's say you start a game, and you get this menu:
And when you press Settings you get:
But when you press "Audio settings" you get a little slider, sliding from low to high volume. And in "Video settings" you would be able to select a resolution. It's really not possible to define this functionality in a xml file, that would be a overkill.