GUI
Class GUI

source: C:\XIII\GUI\Classes\GUI.uc
Core.Object
   |
   +--GUI.GUI
Direct Known Subclasses:GUIComponent, GUIFont, GUIStyles

class GUI
extends Core.Object

// ==================================================================== // (c) 2002, Epic Games, Inc. All Rights Reserved // ====================================================================

Source Code


00001	// ====================================================================
00002	//  (c) 2002, Epic Games, Inc.  All Rights Reserved
00003	// ====================================================================
00004	
00005	class GUI extends object
00006		Abstract instanced native;
00007	
00008	// -- These are set at spawn
00009	
00010	var				GUIController 		Controller;				// Callback to the GUIController running the show
00011		
00012	enum eMenuState		// Defines the various states of a component
00013	{
00014		MSAT_Blurry,			// Component has no focus at all
00015		MSAT_Watched,			// Component is being watched (ie: Mouse is hovering over, etc)  
00016		MSAT_Focused,			// Component is Focused (ie: selected)
00017		MSAT_Pressed,			// Component is being pressed
00018		MSAT_Disabled,			// Component is disabled.
00019	};
00020	
00021	enum eTextAlign		// Used for aligning text in a box
00022	{
00023		TXTA_Left,
00024		TXTA_Center,
00025		TXTA_Right,
00026	};
00027	
00028	enum eTextCase		// Used for forcing case on text
00029	{
00030		TXTC_None,
00031		TXTC_Upper,
00032		TXTC_Lower,
00033	};
00034	
00035	enum eImgStyle		// Used to define the style for an image
00036	{
00037		ISTY_Normal,
00038		ISTY_Stretched,
00039		ISTY_Scaled,
00040		ISTY_Bound,
00041		ISTY_Justified,
00042	};
00043	
00044	enum eImgAlign		// Used for aligning justified images in a box
00045	{
00046		IMGA_TopLeft,
00047		IMGA_Center,
00048		IMGA_BottomRight,
00049	};
00050	
00051	enum eEditMask		// Used to define the mask of an input box
00052	{
00053		EDM_None,
00054		EDM_Alpha,
00055		EDM_Numeric,
00056	};
00057	
00058	enum EMenuRenderStyle
00059	{
00060		MSTY_None,
00061		MSTY_Normal,
00062		MSTY_Masked,
00063		MSTY_Translucent,
00064		MSTY_Modulated,
00065		MSTY_Alpha,
00066		MSTY_Additive,
00067		MSTY_Subtractive,
00068		MSTY_Particle,
00069		MSTY_AlphaZ,
00070	};
00071	
00072	enum eIconPosition
00073	{
00074		ICP_Normal,
00075		ICP_Center,
00076		ICP_Scaled,
00077		ICP_Stretched,
00078		ICP_Bound,
00079	};
00080	
00081	enum ePageAlign			// Used to Align panels to a form.
00082	{
00083		PGA_None,
00084		PGA_Client,
00085		PGA_Left,
00086		PGA_Right,
00087		PGA_Top,
00088		PGA_Bottom,
00089	};
00090	
00091	const QBTN_Ok			=1;
00092	const QBTN_Cancel		=2;
00093	const QBTN_Retry		=4;
00094	const QBTN_Continue		=8;
00095	const QBTN_Yes			=16;
00096	const QBTN_No			=32;
00097	const QBTN_Abort		=64;
00098	const QBTN_Ignore		=128;
00099	const QBTN_OkCancel		=3;
00100	const QBTN_AbortRetry	=68;
00101	const QBTN_YesNo		=48;
00102	const QBTN_YesNoCancel	=50;
00103	
00104	struct GUIListElem
00105	{
00106		var string item;
00107		var object ExtraData;
00108		var string ExtraStrData;
00109	};
00110	
00111	
00112	defaultproperties
00113	{
00114	}

End Source Code