Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UWindow.MMMusListWindow


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
//=============================================================================
// MusicMenu MusicList Window - New menu in U227
//=============================================================================
class MMMusListWindow extends UWindowFramedWindow;

var MMMusClientWindow ClientW;
var MMControlsClient NotifyToWin;

function Created()
{
	Super.Created();
	ClientW = MMMusClientWindow(ClientArea);
	MMMusClientWindow(ClientArea).MainWin = Self;
}
function AddSongToList( string MusName )
{
	ClientW.Grid.PackageSongs[ClientW.Grid.ListCount++] = MusName;
}
function EmptySongList()
{
	if ( ClientW.Grid.ListCount==0 )
		return;
	Array_Size(ClientW.Grid.PackageSongs,0);
	ClientW.Grid.ListCount = 0;
	ClientW.Grid.SelectedRow = -1;
}

defaultproperties
{
				ClientClass=Class'UWindow.MMMusClientWindow'
				WindowTitle="Multiple musics found:"
				MinWinWidth=300.000000
				MinWinHeight=120.000000
				bLeaveOnscreen=True
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: zo 11-11-2012 21:10:28.000 - Creation time: zo 11-11-2012 21:14:19.350 - Created with UnCodeX