This is just a preview of my HomeMenu library I'll be releasing soon (it is now in C). It's graphics library independent, so there aren't too many hassles there. It also allows you to associate your own functions to events such as when the menu opens, closes, redraws.
When you want to display the menu (when the user presses HOME), simply call <code>HomeMenu_Show()</code>.
Tip: If you have a callback
setup for when the user holds down on the wiimote's powerbutton, add <code>HomeMenu_Hide()</code> to this callback to tell HomeMenu to relinquish execution control .