2012-11-26 18:58:24 +00:00
|
|
|
/*
|
|
|
|
===========================================================================
|
|
|
|
|
|
|
|
Doom 3 BFG Edition GPL Source Code
|
2012-11-28 15:47:07 +00:00
|
|
|
Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
|
2012-12-07 17:29:47 +00:00
|
|
|
Copyright (C) 2012 Robert Beckebans
|
2012-11-26 18:58:24 +00:00
|
|
|
|
2012-11-28 15:47:07 +00:00
|
|
|
This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").
|
2012-11-26 18:58:24 +00:00
|
|
|
|
|
|
|
Doom 3 BFG Edition Source Code is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Doom 3 BFG Edition Source Code is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with Doom 3 BFG Edition Source Code. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
In addition, the Doom 3 BFG Edition Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 BFG Edition Source Code. If not, please request a copy in writing from id Software at the address below.
|
|
|
|
|
|
|
|
If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
|
|
|
|
|
|
|
|
===========================================================================
|
|
|
|
*/
|
|
|
|
#pragma hdrstop
|
2012-12-02 21:37:32 +00:00
|
|
|
#include "../../idlib/precompiled.h"
|
2012-11-26 18:58:24 +00:00
|
|
|
#include "../Game_local.h"
|
|
|
|
#include "../../framework/Common_local.h"
|
|
|
|
|
|
|
|
static const int NUM_GAME_SELECTIONS_VISIBLE = 5;
|
|
|
|
extern idCVar g_demoMode;
|
|
|
|
|
2012-11-28 15:47:07 +00:00
|
|
|
namespace
|
|
|
|
{
|
|
|
|
/*
|
|
|
|
================================================
|
|
|
|
UICmd_RegisterUser
|
|
|
|
================================================
|
|
|
|
*/
|
|
|
|
class UICmd_RegisterUser : public idSWFScriptFunction_RefCounted
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
idSWFScriptVar Call( idSWFScriptObject* thisObject, const idSWFParmList& parms )
|
|
|
|
{
|
|
|
|
if( parms.Num() != 1 )
|
|
|
|
{
|
|
|
|
idLib::Warning( "No device specified when registering mouse user" );
|
2012-11-26 18:58:24 +00:00
|
|
|
return idSWFScriptVar();
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
const int device = parms[ 0 ].ToInteger();
|
|
|
|
session->GetSignInManager().RegisterLocalUser( device );
|
|
|
|
return idSWFScriptVar();
|
|
|
|
}
|
|
|
|
};
|
2012-11-26 18:58:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
========================
|
|
|
|
idMenuScreen_Shell_PressStart::Initialize
|
|
|
|
========================
|
|
|
|
*/
|
2012-11-28 15:47:07 +00:00
|
|
|
void idMenuScreen_Shell_PressStart::Initialize( idMenuHandler* data )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
idMenuScreen::Initialize( data );
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
if( data != NULL )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
menuGUI = data->GetGUI();
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
SetSpritePath( "menuStart" );
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
itemList = new( TAG_SWF ) idMenuWidget_Carousel();
|
2012-11-26 18:58:24 +00:00
|
|
|
itemList->SetSpritePath( GetSpritePath(), "info", "options" );
|
|
|
|
itemList->SetNumVisibleOptions( NUM_GAME_SELECTIONS_VISIBLE );
|
2012-11-28 15:47:07 +00:00
|
|
|
while( itemList->GetChildren().Num() < NUM_GAME_SELECTIONS_VISIBLE )
|
|
|
|
{
|
|
|
|
idMenuWidget_Button* const buttonWidget = new( TAG_SWF ) idMenuWidget_Button();
|
2012-11-26 18:58:24 +00:00
|
|
|
buttonWidget->AddEventAction( WIDGET_EVENT_PRESS ).Set( WIDGET_ACTION_PRESS_FOCUSED, itemList->GetChildren().Num() );
|
|
|
|
buttonWidget->Initialize( data );
|
|
|
|
itemList->AddChild( buttonWidget );
|
|
|
|
}
|
|
|
|
itemList->Initialize( data );
|
2012-11-28 15:47:07 +00:00
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
AddChild( itemList );
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
AddEventAction( WIDGET_EVENT_SCROLL_LEFT ).Set( new( TAG_SWF ) idWidgetActionHandler( this, WIDGET_ACTION_EVENT_SCROLL_LEFT_START_REPEATER, WIDGET_EVENT_SCROLL_LEFT ) );
|
|
|
|
AddEventAction( WIDGET_EVENT_SCROLL_RIGHT ).Set( new( TAG_SWF ) idWidgetActionHandler( this, WIDGET_ACTION_EVENT_SCROLL_RIGHT_START_REPEATER, WIDGET_EVENT_SCROLL_RIGHT ) );
|
|
|
|
AddEventAction( WIDGET_EVENT_SCROLL_LEFT_RELEASE ).Set( new( TAG_SWF ) idWidgetActionHandler( this, WIDGET_ACTION_EVENT_STOP_REPEATER, WIDGET_EVENT_SCROLL_LEFT_RELEASE ) );
|
|
|
|
AddEventAction( WIDGET_EVENT_SCROLL_RIGHT_RELEASE ).Set( new( TAG_SWF ) idWidgetActionHandler( this, WIDGET_ACTION_EVENT_STOP_REPEATER, WIDGET_EVENT_SCROLL_RIGHT_RELEASE ) );
|
|
|
|
|
|
|
|
AddEventAction( WIDGET_EVENT_SCROLL_UP ).Set( new( TAG_SWF ) idWidgetActionHandler( this, WIDGET_ACTION_EVENT_SCROLL_UP_START_REPEATER, WIDGET_EVENT_SCROLL_UP ) );
|
|
|
|
AddEventAction( WIDGET_EVENT_SCROLL_DOWN ).Set( new( TAG_SWF ) idWidgetActionHandler( this, WIDGET_ACTION_EVENT_SCROLL_DOWN_START_REPEATER, WIDGET_EVENT_SCROLL_DOWN ) );
|
|
|
|
AddEventAction( WIDGET_EVENT_SCROLL_UP_RELEASE ).Set( new( TAG_SWF ) idWidgetActionHandler( this, WIDGET_ACTION_EVENT_STOP_REPEATER, WIDGET_EVENT_SCROLL_UP_RELEASE ) );
|
|
|
|
AddEventAction( WIDGET_EVENT_SCROLL_DOWN_RELEASE ).Set( new( TAG_SWF ) idWidgetActionHandler( this, WIDGET_ACTION_EVENT_STOP_REPEATER, WIDGET_EVENT_SCROLL_DOWN_RELEASE ) );
|
|
|
|
|
|
|
|
AddEventAction( WIDGET_EVENT_SCROLL_LEFT_LSTICK ).Set( new( TAG_SWF ) idWidgetActionHandler( this, WIDGET_ACTION_EVENT_SCROLL_LEFT_START_REPEATER, WIDGET_EVENT_SCROLL_LEFT_LSTICK ) );
|
|
|
|
AddEventAction( WIDGET_EVENT_SCROLL_RIGHT_LSTICK ).Set( new( TAG_SWF ) idWidgetActionHandler( this, WIDGET_ACTION_EVENT_SCROLL_RIGHT_START_REPEATER, WIDGET_EVENT_SCROLL_RIGHT_LSTICK ) );
|
|
|
|
AddEventAction( WIDGET_EVENT_SCROLL_LEFT_LSTICK_RELEASE ).Set( new( TAG_SWF ) idWidgetActionHandler( this, WIDGET_ACTION_EVENT_STOP_REPEATER, WIDGET_EVENT_SCROLL_LEFT_LSTICK_RELEASE ) );
|
|
|
|
AddEventAction( WIDGET_EVENT_SCROLL_RIGHT_LSTICK_RELEASE ).Set( new( TAG_SWF ) idWidgetActionHandler( this, WIDGET_ACTION_EVENT_STOP_REPEATER, WIDGET_EVENT_SCROLL_RIGHT_LSTICK_RELEASE ) );
|
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
doomCover = declManager->FindMaterial( "guis/assets/mainmenu/doom_cover.tga" );
|
|
|
|
doom2Cover = declManager->FindMaterial( "guis/assets/mainmenu/doom2_cover.tga" );
|
|
|
|
doom3Cover = declManager->FindMaterial( "guis/assets/mainmenu/doom3_cover.tga" );
|
2012-11-28 15:47:07 +00:00
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
startButton = new idMenuWidget_Button();
|
|
|
|
startButton->SetSpritePath( GetSpritePath(), "info", "btnStart" );
|
|
|
|
AddChild( startButton );
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
========================
|
|
|
|
idMenuScreen_Shell_Root::Update
|
|
|
|
========================
|
|
|
|
*/
|
2012-11-28 15:47:07 +00:00
|
|
|
void idMenuScreen_Shell_PressStart::Update()
|
|
|
|
{
|
|
|
|
|
|
|
|
if( !g_demoMode.GetBool() )
|
|
|
|
{
|
|
|
|
if( menuData != NULL )
|
|
|
|
{
|
|
|
|
idMenuWidget_CommandBar* cmdBar = menuData->GetCmdBar();
|
|
|
|
if( cmdBar != NULL )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
cmdBar->ClearAllButtons();
|
2012-11-28 15:47:07 +00:00
|
|
|
idMenuWidget_CommandBar::buttonInfo_t* buttonInfo;
|
2012-11-26 18:58:24 +00:00
|
|
|
buttonInfo = cmdBar->GetButton( idMenuWidget_CommandBar::BUTTON_JOY1 );
|
2012-11-28 15:47:07 +00:00
|
|
|
if( menuData->GetPlatform() != 2 )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
buttonInfo->label = "#str_SWF_SELECT";
|
|
|
|
}
|
|
|
|
buttonInfo->action.Set( WIDGET_ACTION_PRESS_FOCUSED );
|
2012-11-28 15:47:07 +00:00
|
|
|
}
|
2012-11-26 18:58:24 +00:00
|
|
|
}
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
idMenuScreen::Update();
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
/*
|
|
|
|
========================
|
|
|
|
idMenuScreen_Shell_PressStart::ShowScreen
|
|
|
|
========================
|
|
|
|
*/
|
2012-11-28 15:47:07 +00:00
|
|
|
void idMenuScreen_Shell_PressStart::ShowScreen( const mainMenuTransition_t transitionType )
|
|
|
|
{
|
|
|
|
|
|
|
|
idSWFScriptObject& root = GetSWFObject()->GetRootObject();
|
|
|
|
if( BindSprite( root ) )
|
|
|
|
{
|
|
|
|
if( g_demoMode.GetBool() )
|
|
|
|
{
|
|
|
|
|
|
|
|
idList<const idMaterial*> coverIcons;
|
|
|
|
if( itemList != NULL )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
itemList->SetListImages( coverIcons );
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
if( startButton != NULL )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
startButton->BindSprite( root );
|
|
|
|
startButton->SetLabel( idLocalization::GetString( "#str_swf_press_start" ) );
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
idSWFSpriteInstance* backing = GetSprite()->GetScriptObject()->GetNestedSprite( "backing" );
|
|
|
|
if( backing != NULL )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
backing->SetVisible( false );
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
|
|
|
|
idList<const idMaterial*> coverIcons;
|
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
coverIcons.Append( doomCover );
|
|
|
|
coverIcons.Append( doom3Cover );
|
|
|
|
coverIcons.Append( doom2Cover );
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
if( itemList != NULL )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
itemList->SetListImages( coverIcons );
|
|
|
|
itemList->SetFocusIndex( 1, true );
|
|
|
|
itemList->SetViewIndex( 1 );
|
|
|
|
itemList->SetMoveToIndex( 1 );
|
2012-11-28 15:47:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if( startButton != NULL )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
startButton->BindSprite( root );
|
|
|
|
startButton->SetLabel( "" );
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
idSWFSpriteInstance* backing = GetSprite()->GetScriptObject()->GetNestedSprite( "backing" );
|
|
|
|
if( backing != NULL )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
backing->SetVisible( true );
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
}
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
idMenuScreen::ShowScreen( transitionType );
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
========================
|
|
|
|
idMenuScreen_Shell_PressStart::HideScreen
|
|
|
|
========================
|
|
|
|
*/
|
2012-11-28 15:47:07 +00:00
|
|
|
void idMenuScreen_Shell_PressStart::HideScreen( const mainMenuTransition_t transitionType )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
idMenuScreen::HideScreen( transitionType );
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
========================
|
|
|
|
idMenuScreen_Shell_PressStart::HandleAction
|
|
|
|
========================
|
|
|
|
*/
|
2012-11-28 15:47:07 +00:00
|
|
|
bool idMenuScreen_Shell_PressStart::HandleAction( idWidgetAction& action, const idWidgetEvent& event, idMenuWidget* widget, bool forceHandled )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
|
2012-11-28 15:47:07 +00:00
|
|
|
if( menuData == NULL )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
return true;
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
if( menuData->ActiveScreen() != SHELL_AREA_START )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
return false;
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
widgetAction_t actionType = action.GetType();
|
2012-11-28 15:47:07 +00:00
|
|
|
const idSWFParmList& parms = action.GetParms();
|
|
|
|
|
|
|
|
switch( actionType )
|
|
|
|
{
|
|
|
|
case WIDGET_ACTION_PRESS_FOCUSED:
|
|
|
|
{
|
|
|
|
if( itemList == NULL )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
return true;
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
if( event.parms.Num() != 1 )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
return true;
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
if( itemList->GetMoveToIndex() != itemList->GetViewIndex() )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
return true;
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
if( parms.Num() > 0 )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
const int index = parms[0].ToInteger();
|
2012-11-28 15:47:07 +00:00
|
|
|
if( index != 0 )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
itemList->MoveToIndex( index );
|
|
|
|
Update();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-12-07 17:29:47 +00:00
|
|
|
// RB begin
|
|
|
|
#if defined(USE_DOOMCLASSIC)
|
2012-11-28 15:47:07 +00:00
|
|
|
if( itemList->GetMoveToIndex() == 0 )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
common->SwitchToGame( DOOM_CLASSIC );
|
2012-11-28 15:47:07 +00:00
|
|
|
}
|
2012-12-07 17:29:47 +00:00
|
|
|
else
|
|
|
|
#endif
|
2012-12-08 17:20:13 +00:00
|
|
|
if( itemList->GetMoveToIndex() == 1 )
|
2012-11-28 15:47:07 +00:00
|
|
|
{
|
2012-12-08 17:20:13 +00:00
|
|
|
if( session->GetSignInManager().GetMasterLocalUser() == NULL )
|
|
|
|
{
|
|
|
|
const int device = event.parms[ 0 ].ToInteger();
|
|
|
|
session->GetSignInManager().RegisterLocalUser( device );
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
menuData->SetNextScreen( SHELL_AREA_ROOT, MENU_TRANSITION_SIMPLE );
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
}
|
2012-12-08 17:20:13 +00:00
|
|
|
#if defined(USE_DOOMCLASSIC)
|
|
|
|
else if( itemList->GetMoveToIndex() == 2 )
|
2012-11-28 15:47:07 +00:00
|
|
|
{
|
2012-12-08 17:20:13 +00:00
|
|
|
common->SwitchToGame( DOOM2_CLASSIC );
|
2012-11-26 18:58:24 +00:00
|
|
|
}
|
2012-12-07 17:29:47 +00:00
|
|
|
#endif
|
|
|
|
// RB end
|
2012-11-28 15:47:07 +00:00
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
return true;
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
case WIDGET_ACTION_START_REPEATER:
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
idWidgetAction repeatAction;
|
|
|
|
widgetAction_t repeatActionType = static_cast< widgetAction_t >( parms[ 0 ].ToInteger() );
|
|
|
|
assert( parms.Num() == 2 );
|
|
|
|
repeatAction.Set( repeatActionType, parms[ 1 ] );
|
|
|
|
menuData->StartWidgetActionRepeater( widget, repeatAction, event );
|
|
|
|
return true;
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
case WIDGET_ACTION_STOP_REPEATER:
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
menuData->ClearWidgetActionRepeater();
|
|
|
|
return true;
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
case WIDGET_ACTION_SCROLL_HORIZONTAL:
|
|
|
|
{
|
|
|
|
|
|
|
|
if( itemList == NULL )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
return true;
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
if( itemList->GetTotalNumberOfOptions() <= 1 )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
return true;
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
idLib::Printf( "scroll \n" );
|
2012-11-28 15:47:07 +00:00
|
|
|
|
|
|
|
if( itemList->GetMoveDiff() > 0 )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
itemList->MoveToIndex( itemList->GetMoveToIndex(), true );
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
int direction = parms[0].ToInteger();
|
2012-11-28 15:47:07 +00:00
|
|
|
if( direction == 1 )
|
|
|
|
{
|
|
|
|
if( itemList->GetViewIndex() == itemList->GetTotalNumberOfOptions() - 1 )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
return true;
|
2012-11-28 15:47:07 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
itemList->MoveToIndex( 1 );
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
if( itemList->GetViewIndex() == 0 )
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
return true;
|
2012-11-28 15:47:07 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2012-11-26 18:58:24 +00:00
|
|
|
itemList->MoveToIndex( ( itemList->GetNumVisibleOptions() / 2 ) + 1 );
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
}
|
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
2012-11-28 15:47:07 +00:00
|
|
|
|
2012-11-26 18:58:24 +00:00
|
|
|
return idMenuWidget::HandleAction( action, event, widget, forceHandled );
|
2012-12-07 17:29:47 +00:00
|
|
|
}
|