UMenu
Class UMenuMapListExclude

source: e:\games\UnrealTournament\UMenu\Classes\UMenuMapListExclude.uc
Core.Object
   |
   +--UWindow.UWindowBase
      |
      +--UWindow.UWindowWindow
         |
         +--UWindow.UWindowDialogControl
            |
            +--UWindow.UWindowListControl
               |
               +--UWindow.UWindowListBox
                  |
                  +--UMenu.UMenuMapListBox
                     |
                     +--UMenu.UMenuMapListExclude
Direct Known Subclasses:None

class UMenuMapListExclude
extends UMenu.UMenuMapListBox



Function Summary
 bool ExternalDragOver(UWindowDialogControl ExternalControl, float X, float Y)
 void ReceiveDoubleClickItem(UWindowListBox L, UWindowListBoxItem I)



Source Code


00001	class UMenuMapListExclude expands UMenuMapListBox;
00002	
00003	function bool ExternalDragOver(UWindowDialogControl ExternalControl, float X, float Y)
00004	{
00005		if(ExternalControl.OwnerWindow != OwnerWindow || UMenuMapListInclude(ExternalControl) == None)
00006			return False;
00007		
00008		if(Super.ExternalDragOver(ExternalControl, X, Y))
00009		{
00010			Sort();
00011			return True;
00012		}
00013	
00014		return False;
00015	}
00016	
00017	function ReceiveDoubleClickItem(UWindowListBox L, UWindowListBoxItem I)
00018	{
00019		Super.ReceiveDoubleClickItem(L, I);
00020		Sort();
00021		MakeSelectedVisible();
00022	}
00023	
00024	defaultproperties
00025	{
00026	     bCanDragExternal=True
00027	     bAcceptExternalDragDrop=True
00028	}

End Source Code