I would like to add the management of other events to the function OnAction in GUITVGuide.cs code.
If I modify the code in this way nothing doesn't happen.
The event ACTION_RECORD is always managed by the code of GuiTVHome.cs and it seems that something prevents from also training it in GUITVGuide.cs.
How can I do for managing it in custom designed way?
xavier
If I modify the code in this way nothing doesn't happen.
Code:
public override void OnAction(Action action)
{
switch (action.wID)
{
// --- change start here...
case Action.ActionType.ACTION_RECORD:
{
ShowContextMenu();
break;
}
// --- change end here...
case Action.ActionType.ACTION_PREVIOUS_MENU:
{
GUIWindowManager.ShowPreviousWindow();
return;
}
case Action.ActionType.ACTION_KEY_PRESSED:
if (action.m_key!=null)
OnKeyCode((char)action.m_key.KeyChar);
break;
// --- other code...
The event ACTION_RECORD is always managed by the code of GuiTVHome.cs and it seems that something prevents from also training it in GUITVGuide.cs.
How can I do for managing it in custom designed way?
xavier