Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

# GUI.GUIImage

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
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053

    // ====================================================================
    //  Class:  GUI.GUIImage
    //
    //	GUIImage - A graphic image used by the menu system.  It encapsulates
    //	Material.
    //
    //  Written by Joe Wilcox
    //  (c) 2002, Epic Games, Inc.  All Rights Reserved
    // ====================================================================
    /*=============================================================================
    	In Game GUI Editor System V1.0
    	2003 - Irrational Games, LLC.
    	* Dan Kaplan
    =============================================================================*/
    #if !IG_GUI_LAYOUT
    #error This code requires IG_GUI_LAYOUT to be defined due to extensive revisions of the origional code. [DKaplan]
    #endif
    /*===========================================================================*/

    class GUIImage extends GUIComponent
            HideCategories(Menu,Object)
    	Native;

    cpptext
    {
    		void Draw(UCanvas* Canvas);
    }

    var(GUIImage) config Material 			Image "The Material to Render";
    var(GUIImage) config color				ImageColor "What color should we set";
    var(GUIImage) config eImgStyle			ImageStyle "How should the image be displayed";
    var(GUIImage) config EMenuRenderStyle	ImageRenderStyle "How should we display this image";
    var(GUIImage) config eImgAlign			ImageAlign "If ISTY_Justified, how should image be aligned";
    var(GUIImage) config int				X1,Y1,X2,Y2 "If set, it will pull a subimage from inside the image";

    function InitComponent(GUIComponent Owner)
    {
        Super.InitComponent(Owner);
    }

    defaultproperties
    {
    	ImageColor=(R=255,G=255,B=255,A=255)
    	ImageStyle=ISTY_Scaled
    	ImageRenderStyle=MSTY_Alpha
    	ImageAlign=IMGA_TopLeft
    	X1=-1
    	X2=-1
    	Y1=-1
    	Y2=-1
        RenderWeight=0.1
        bAcceptsInput=false
    }

Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

Class file time: ne 5.9.2004 16:02:10.000 - Creation time: st 23.5.2018 00:10:43.783 - Created with UnCodeX