UBrowser
Class UBrowserInfoWindow

source: e:\games\UnrealTournament\UBrowser\Classes\UBrowserInfoWindow.uc
Core.Object
   |
   +--UWindow.UWindowBase
      |
      +--UWindow.UWindowWindow
         |
         +--UWindow.UWindowFramedWindow
            |
            +--UBrowser.UBrowserInfoWindow
Direct Known Subclasses:None

class UBrowserInfoWindow
extends UWindow.UWindowFramedWindow

//============================================================================= // UBrowserInfoWindow //=============================================================================
Variables
 UBrowserInfoMenu Menu


Function Summary
 void Created()
 void ResolutionChanged(float W, float H)
 void SetSizes()



Source Code


00001	//=============================================================================
00002	// UBrowserInfoWindow
00003	//=============================================================================
00004	class UBrowserInfoWindow extends UWindowFramedWindow;
00005	
00006	var UBrowserInfoMenu Menu;
00007	
00008	function Created()
00009	{
00010		bSizable = True;
00011		bStatusBar = True;
00012	
00013		Menu = UBrowserInfoMenu(Root.CreateWindow(class'UBrowserInfoMenu', 0, 0, 100, 100));
00014		Menu.Info = Self;
00015		Menu.HideWindow();
00016	
00017		Super.Created();
00018		SetSizes();
00019	}
00020	
00021	function ResolutionChanged(float W, float H)
00022	{
00023		Super.ResolutionChanged(W, H);
00024		SetSizes();
00025	}
00026	
00027	function SetSizes()
00028	{
00029		local UBrowserInfoClientWindow C;
00030		
00031		MinWinHeight = 100;
00032		SetSize(Min(Root.WinWidth - 20, 500), Min(Root.WinHeight - 30, 230));
00033	}
00034	
00035	defaultproperties
00036	{
00037	     ClientClass=Class'UBrowser.UBrowserInfoClientWindow'
00038	}

End Source Code