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

UBrowser.UBrowserBannerBar


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
//=============================================================================
// UBrowserToolbar - the toolbar!
//=============================================================================
class UBrowserBannerBar extends UWindowWindow;

var UBrowserBannerAd        BannerAdWindow;

function Paint(Canvas C, float X, float Y)
{
    C.Style = GetPlayerOwner().ERenderStyle.STY_Modulated;
    Tile(C, Texture'Background');
    C.Style = GetPlayerOwner().ERenderStyle.STY_Normal;
}


function Created()
{
    Super.Created();
    BannerAdWindow = UBrowserBannerAd(CreateWindow(class'UBrowserBannerAd', 0, 2, 256, 64));
}


function BeforePaint(Canvas C, float X, float Y)
{
    BannerAdWindow.WinLeft = (WinWidth - 256) / 2;
}

defaultproperties
{
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Do 19.5.2005 19:42:12.000 - Creation time: Fr 7.6.2013 13:16:06.677 - Created with UnCodeX