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

GUI2K4.CustomHUDMenuOnslaught

Extends
UT2K4CustomHUDMenu

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K4GUIPage
               |   
               +-- GUI2K4.PopupPageBase
                  |   
                  +-- GUI2K4.FloatingWindow
                     |   
                     +-- GUI2K4.LargeWindow
                        |   
                        +-- GUI2K4.UT2K4CustomHUDMenu
                           |   
                           +-- GUI2K4.CustomHUDMenuOnslaught

Variables Summary
GUIButtonb_TogglePreview
moCheckboxch_NodeBeams
moCheckboxch_RadarMap
moFloatEditfl_PositionX
moFloatEditfl_PositionY
class<ONSHUDOnslaught>HUDClass
GUIImagei_Preview
GUIImagei_PreviewBlend
GUILabell_RadarPosition
GUISectionBackgroundsb_Options
GUISectionBackgroundsb_Position
GUISectionBackgroundsb_Preview
moSlidersl_IconScale
moSlidersl_RadarScale
moSlidersl_RadarTrans
CustomHUDMenuOnslaught
boolbMapEnabled
boolbNodeBeams
boolbPreviewRadar
stringDefaultRadarTextureName
floatfIconScale
floatfPosX
floatfPosY
floatfRadarScale
floatfRadarTrans
MaterialRadarTexture
stringShowRadarText
stringShowScreenText
Inherited Variables from GUI2K4.UT2K4CustomHUDMenu
b_Cancel, b_OK, b_Reset, GameClass

Functions Summary
functionbool DrawBlend (Canvas C))
functionbool DrawMap (Canvas C ))
function DrawRadar (Canvas C ))
function DrawScreen (Canvas C))
function InitComponent (GUIController InController, GUIComponent InOwner ))
functionbool InitializeGameClass (string GameClassName ))
function InternalOnChange (GUIComponent Sender ))
function LoadSettings ()))
event ResolutionChanged (int ResX, int ResY))
function RestoreDefaults ()))
function SaveSettings ()))
functionbool TogglePreview (GUIComponent c ))
function UpdateToggleStatus ()))
Inherited Functions from GUI2K4.UT2K4CustomHUDMenu
Closed, HandleParameters, InitializeGameClass, InternalOnChange, InternalOnClick, LoadSettings, RestoreDefaults, SaveSettings


Variables Detail

b_TogglePreview Source code

var automated GUIButton b_TogglePreview;

ch_NodeBeams Source code

var automated moCheckbox ch_NodeBeams;

ch_RadarMap Source code

var automated moCheckbox ch_RadarMap;

fl_PositionX Source code

var automated moFloatEdit fl_PositionX;

fl_PositionY Source code

var automated moFloatEdit fl_PositionY;

HUDClass Source code

var class<ONSHUDOnslaught> HUDClass;

i_Preview Source code

var automated GUIImage i_Preview;

i_PreviewBlend Source code

var automated GUIImage i_PreviewBlend;

l_RadarPosition Source code

var automated GUILabel l_RadarPosition;

sb_Options Source code

var automated GUISectionBackground sb_Options;

sb_Position Source code

var automated GUISectionBackground sb_Position;

sb_Preview Source code

var automated GUISectionBackground sb_Preview;

sl_IconScale Source code

var automated moSlider sl_IconScale;

sl_RadarScale Source code

var automated moSlider sl_RadarScale;

sl_RadarTrans Source code

var automated moSlider sl_RadarTrans;

CustomHUDMenuOnslaught

bMapEnabled Source code

var(CustomHUDMenuOnslaught) bool bMapEnabled;

bNodeBeams Source code

var(CustomHUDMenuOnslaught) bool bNodeBeams;

bPreviewRadar Source code

var(CustomHUDMenuOnslaught) bool bPreviewRadar;

DefaultRadarTextureName Source code

var(CustomHUDMenuOnslaught) string DefaultRadarTextureName;

fIconScale Source code

var(CustomHUDMenuOnslaught) float fIconScale;

fPosX Source code

var(CustomHUDMenuOnslaught) float fPosX;

fPosY Source code

var(CustomHUDMenuOnslaught) float fPosY;

fRadarScale Source code

var(CustomHUDMenuOnslaught) float fRadarScale;

fRadarTrans Source code

var(CustomHUDMenuOnslaught) float fRadarTrans;

RadarTexture Source code

var(CustomHUDMenuOnslaught) Material RadarTexture;

ShowRadarText Source code

var(CustomHUDMenuOnslaught) localized string ShowRadarText;

ShowScreenText Source code

var(CustomHUDMenuOnslaught) localized string ShowScreenText;


Functions Detail

DrawBlend Source code

function bool DrawBlend ( Canvas C) )

DrawMap Source code

function bool DrawMap ( Canvas C ) )

DrawRadar Source code

function DrawRadar ( Canvas C ) )

DrawScreen Source code

function DrawScreen ( Canvas C) )

InitComponent Source code

function InitComponent ( GUIController InController, GUIComponent InOwner ) )

InitializeGameClass Source code

function bool InitializeGameClass ( string GameClassName ) )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender ) )

LoadSettings Source code

function LoadSettings ( ) )

ResolutionChanged Source code

event ResolutionChanged ( int ResX, int ResY) )

RestoreDefaults Source code

function RestoreDefaults ( ) )

SaveSettings Source code

function SaveSettings ( ) )

TogglePreview Source code

function bool TogglePreview ( GUIComponent c ) )

UpdateToggleStatus Source code

function UpdateToggleStatus ( ) )


Defaultproperties

defaultproperties
{
	WinWidth=0.944062
	WinHeight=0.867814
	WinLeft=0.029688
	WinTop=0.050000


	bPreviewRadar=true


	ShowScreenText="Show Entire Screen"
	ShowRadarText="Show Only Radar"
	DefaultRadarTextureName="ONS-Torlan.myLevel.BackgroundImage"


	Begin Object class=GUISectionBackground name=RadarPositionBackground
		Caption="Radar Position"
		bBoundToParent=True
		bScaleToParent=True
		WinWidth=0.385772
		WinHeight=0.221081
		WinLeft=0.022134
		WinTop=0.749726
		NumColumns=2
		ColPadding=0.05

	End Object
	sb_Position=RadarPositionBackground


	Begin Object Class=GUIImage name=RadarPreviewBlend
		WinWidth=0.311700
		WinHeight=0.311700
		WinLeft=0.076300
		WinTop=0.195204
		Image=Material'MenuGray'
		ImageStyle=ISTY_Stretched
		ImageAlign=IMGA_Center
		ImageRenderStyle=MSTY_Alpha
		RenderWeight=0.1
	End Object
	i_PreviewBlend=RadarPreviewBlend


	Begin Object Class=GUIImage name=RadarPreviewImage
		Image=Material'MenuWhite'
		ImageStyle=ISTY_Scaled
		ImageAlign=IMGA_Center
		ImageRenderStyle=MSTY_Alpha
		OnDraw=DrawMap
		RenderWeight=0.11
	End Object
	i_Preview=RadarPreviewImage


	Begin Object Class=GUISectionBackground name=PreviewBackground
		Caption="Preview"
		WinWidth=0.385772
		WinHeight=0.699076
		WinLeft=0.022134
		WinTop=0.040869
		bFillClient=true
		bBoundToParent=True
		bScaleToParent=True

	End Object
	sb_Preview=PreviewBackground


	Begin Object class=GUISectionBackground name=OptionBackground
		Caption="Onslaught HUD Options"
		WinWidth=0.562501
		WinHeight=0.931115
		WinLeft=0.416250
		WinTop=0.040869
		bBoundToParent=True
		bScaleToParent=True

	End Object
	sb_Options=OptionBackground


	Begin Object class=moFloatEdit name=RadarPosXFloat
        MinValue=0.075
        MaxValue=1.000000
        Step=0.050000
        CaptionWidth=0.010000
		Caption="X:"
		Hint="Adjust the position (left-to-right) of the radar map"
		WinWidth=0.139523
		WinHeight=0.034570
		WinLeft=0.056826
		WinTop=0.848623
		TabOrder=0
		bBoundToParent=True
		bScaleToParent=True
		OnChange=InternalOnChange
		MenuState=MSAT_Disabled
	End Object
	fl_PositionX=RadarPosXFloat


	Begin Object class=moFloatEdit name=RadarPosYFloat
        MinValue=0.000000
        MaxValue=0.730000
        Step=0.050000
        CaptionWidth=0.010000
        Caption="Y:"
        Hint="Adjust the position (top-to-bottom) of the radar map"
		WinWidth=0.139523
		WinHeight=0.034570
		WinLeft=0.056826
		WinTop=0.896968
        TabOrder=1
        bBoundToParent=True
        bScaleToParent=True
        OnChange=InternalOnChange
        MenuState=MSAT_Disabled
	End Object
	fl_PositionY=RadarPosYFloat


	Begin Object Class=GUIButton name=ToggleButton
		WinWidth=0.160937
		WinHeight=0.098412
		WinLeft=0.218035
		WinTop=0.771852
		OnClick=TogglePreview
		bWrapCaption=true
		TabOrder=2
	End Object
	b_TogglePreview=ToggleButton


	Begin Object class=moCheckbox name=EnableMap
		Caption="Enable Radar Map"
		Hint="The radar map is an bird's eye view of the current map, showing indicators for node positions and status"
		OnChange=InternalOnChange
		bBoundToParent=True
		bScaleToParent=True
		WinWidth=0.436524
		WinHeight=0.06
		WinLeft=0.479238
		WinTop=0.116915
		TabOrder=3
	End Object
	ch_RadarMap=EnableMap


	Begin Object class=moCheckbox name=NodeBeamCheck
		Caption="Show Node Beams"
		Hint="Display beams of light above nodes which are vulnerable to attack"
		OnChange=InternalOnChange
		bBoundToParent=True
		bScaleToParent=True
		WinWidth=0.436524
		WinHeight=0.06
		WinLeft=0.479238
		WinTop=0.225805
		TabOrder=4
	End Object
	ch_NodeBeams=NodeBeamCheck


	Begin Object class=moSlider name=RadarScaleSlider
		Caption="Radar Map Scale"
		Hint="Change the size of the radar map on the HUD"
		MinValue=0.1
		MaxValue=0.5
		bIntSlider=false
		OnChange=InternalOnChange
		bBoundToParent=True
		bScaleToParent=True
		WinWidth=0.528751
		WinHeight=0.069779
		WinLeft=0.431807
		WinTop=0.482552
		TabOrder=5
	End Object
	sl_RadarScale=RadarScaleSlider


	Begin Object class=moSlider name=IconScaleSlider
		Caption="Radar Map Icon Scale"
		Hint="Changes the scaling of the icons displayed on the radar map"
		MinValue=0
		MaxValue=4.0
		bIntSlider=false
		OnChange=InternalOnChange
		bBoundToParent=True
		bScaleToParent=True
		WinWidth=0.528751
		WinHeight=0.069779
		WinLeft=0.431807
		WinTop=0.591833
		TabOrder=6
	End Object
	sl_IconScale=IconScaleSlider


	Begin Object class=moSlider name=RadarTransparencySlider
		Caption="Radar Map Opacity"
		Hint="Change the opacity of the radar map's background"
		MinValue=0
		MaxValue=255
		bIntSlider=true
		OnChange=InternalOnChange
		bBoundToParent=True
		bScaleToParent=True
		WinWidth=0.528751
		WinHeight=0.069779
		WinLeft=0.431807
		WinTop=0.369622
		TabOrder=7
	End Object
	sl_RadarTrans=RadarTransparencySlider


	Begin Object Class=GUIButton name=ResetButton
		WinWidth=0.136349
		WinHeight=0.063881
		WinLeft=0.465241
		WinTop=0.898800
		Caption="Defaults"
		Hint="Restore all settings to their default value."
		OnClick=InternalOnClick
		bStandardized=true
		bBoundToParent=True
		bScaleToParent=True
		TabOrder=8
	End Object
	b_Reset=ResetButton


	Begin Object class=GUIButton Name=CancelButton
		WinWidth=0.136349
		WinHeight=0.063881
		WinLeft=0.658306
		WinTop=0.898800
		Caption="Cancel"
		Hint="Click to close this menu, discarding changes."
		bStandardized=true
		OnClick=InternalOnClick
		bBoundToParent=True
		bScaleToParent=True
		TabOrder=9
	End Object
	b_Cancel=CancelButton


	Begin Object class=GUIButton Name=OKButton
		WinWidth=0.136349
		WinHeight=0.063881
		WinLeft=0.802881
		WinTop=0.898800
		Caption="OK"
		Hint="Click to close this menu, saving changes."
		OnClick=InternalOnClick
		bBoundToParent=True
		bScaleToParent=True
		bStandardized=true
		TabOrder=10
	End Object
	b_OK=OKButton


}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:02.691 - Created with UnCodeX