DialogContextMenu
#1
How can I add a button to DialogContextMenu?
From what I've found in the GUIDialogContextMenu.cpp its building a list at runtime but I cant find what influences what is in the list.

Any help is appreciated.

thanks
Reply
#2
it's typically fed by the virtual GetContextButtons() in CGUIMediaWindow
Reply
#3
Sorry I should have been more specific.
I'm looking for the code where the "add to library"/"remove from library" buttons are added.
Reply
#4
there is no 'add to library' button, but there is a remove from library. those are added in CGUIWindow(Music|Video)Nav::GetContextButtons() and handled in ::OnContextButton.
Reply

Logout Mark Read Team Forum Stats Members Help
DialogContextMenu0