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

UnrealShare.UnrealInfoMenu


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
//=============================================================================
// UnrealInfoMenu
//=============================================================================
class UnrealInfoMenu expands UnrealMenu;

#exec TEXTURE IMPORT NAME=TranslatorHUD3 FILE=models\TRANHUD3.PCX GROUP="Icons" FLAGS=2 MIPS=OFF

function DrawMenu(canvas Canvas)
{
    local float TempX, TempY;

    Canvas.bCenter = false;
    Canvas.Font = Canvas.MedFont;
    TempX = Canvas.ClipX;
    TempY = Canvas.ClipY;
    Canvas.Style = 2;   
    Canvas.SetPos(Canvas.ClipX/2-128, Canvas.ClipY/2-68);
    Canvas.DrawIcon(texture'TranslatorHUD3', 1.0);
    Canvas.SetOrigin(Canvas.ClipX/2-110,Canvas.ClipY/2-52);
    Canvas.SetClip(225,110);
    Canvas.SetPos(0,4);
    Canvas.Style = 1;   
    Canvas.DrawText(MenuList[1], False);
    DrawResponse(Canvas);
    Canvas.ClipX = TempX;
    Canvas.ClipY = TempY;
}

function DrawResponse(canvas Canvas);
function ProcessResponse();

defaultproperties
{
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Sun 21/2/2010 23:48:40.000 - Creation time: Sun 21/2/2010 23:49:54.192 - Created with UnCodeX