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
{
     Begin Object Class=GUIImage Name=RadarPreviewImage
         Image=Texture'Engine.MenuWhite'
         ImageStyle=ISTY_Scaled
         ImageAlign=IMGA_Center
         RenderWeight=0.110000
         OnDraw=CustomHUDMenuOnslaught.DrawMap
     End Object
     i_Preview=GUIImage'GUI2K4.CustomHUDMenuOnslaught.RadarPreviewImage'


     Begin Object Class=GUIImage Name=RadarPreviewBlend
         Image=Texture'Engine.MenuGray'
         ImageStyle=ISTY_Stretched
         ImageAlign=IMGA_Center
         WinTop=0.195204
         WinLeft=0.076300
         WinWidth=0.311700
         WinHeight=0.311700
     End Object
     i_PreviewBlend=GUIImage'GUI2K4.CustomHUDMenuOnslaught.RadarPreviewBlend'


     Begin Object Class=GUISectionBackground Name=OptionBackground
         Caption="Onslaught HUD Options"
         WinTop=0.040869
         WinLeft=0.416250
         WinWidth=0.562501
         WinHeight=0.931115
         bBoundToParent=True
         bScaleToParent=True
         OnPreDraw=OptionBackground.InternalPreDraw
     End Object
     sb_Options=GUISectionBackground'GUI2K4.CustomHUDMenuOnslaught.OptionBackground'


     Begin Object Class=GUISectionBackground Name=PreviewBackground
         bFillClient=True
         Caption="Preview"
         WinTop=0.040869
         WinLeft=0.022134
         WinWidth=0.385772
         WinHeight=0.699076
         bBoundToParent=True
         bScaleToParent=True
         OnPreDraw=PreviewBackground.InternalPreDraw
     End Object
     sb_Preview=GUISectionBackground'GUI2K4.CustomHUDMenuOnslaught.PreviewBackground'


     Begin Object Class=GUISectionBackground Name=RadarPositionBackground
         Caption="Radar Position"
         NumColumns=2
         WinTop=0.749726
         WinLeft=0.022134
         WinWidth=0.385772
         WinHeight=0.221081
         bBoundToParent=True
         bScaleToParent=True
         OnPreDraw=RadarPositionBackground.InternalPreDraw
     End Object
     sb_Position=GUISectionBackground'GUI2K4.CustomHUDMenuOnslaught.RadarPositionBackground'


     Begin Object Class=moCheckBox Name=EnableMap
         Caption="Enable Radar Map"
         OnCreateComponent=EnableMap.InternalOnCreateComponent
         Hint="The radar map is an bird's eye view of the current map, showing indicators for node positions and status"
         WinTop=0.116915
         WinLeft=0.479238
         WinWidth=0.436524
         WinHeight=0.060000
         TabOrder=3
         bBoundToParent=True
         bScaleToParent=True
         OnChange=CustomHUDMenuOnslaught.InternalOnChange
     End Object
     ch_RadarMap=moCheckBox'GUI2K4.CustomHUDMenuOnslaught.EnableMap'


     Begin Object Class=moCheckBox Name=NodeBeamCheck
         Caption="Show Node Beams"
         OnCreateComponent=NodeBeamCheck.InternalOnCreateComponent
         Hint="Display beams of light above nodes which are vulnerable to attack"
         WinTop=0.225805
         WinLeft=0.479238
         WinWidth=0.436524
         WinHeight=0.060000
         TabOrder=4
         bBoundToParent=True
         bScaleToParent=True
         OnChange=CustomHUDMenuOnslaught.InternalOnChange
     End Object
     ch_NodeBeams=moCheckBox'GUI2K4.CustomHUDMenuOnslaught.NodeBeamCheck'


     Begin Object Class=moSlider Name=RadarScaleSlider
         MaxValue=0.500000
         MinValue=0.100000
         Caption="Radar Map Scale"
         OnCreateComponent=RadarScaleSlider.InternalOnCreateComponent
         Hint="Change the size of the radar map on the HUD"
         WinTop=0.482552
         WinLeft=0.431807
         WinWidth=0.528751
         WinHeight=0.069779
         TabOrder=5
         bBoundToParent=True
         bScaleToParent=True
         OnChange=CustomHUDMenuOnslaught.InternalOnChange
     End Object
     sl_RadarScale=moSlider'GUI2K4.CustomHUDMenuOnslaught.RadarScaleSlider'


     Begin Object Class=moSlider Name=IconScaleSlider
         MaxValue=4.000000
         Caption="Radar Map Icon Scale"
         OnCreateComponent=IconScaleSlider.InternalOnCreateComponent
         Hint="Changes the scaling of the icons displayed on the radar map"
         WinTop=0.591833
         WinLeft=0.431807
         WinWidth=0.528751
         WinHeight=0.069779
         TabOrder=6
         bBoundToParent=True
         bScaleToParent=True
         OnChange=CustomHUDMenuOnslaught.InternalOnChange
     End Object
     sl_IconScale=moSlider'GUI2K4.CustomHUDMenuOnslaught.IconScaleSlider'


     Begin Object Class=moSlider Name=RadarTransparencySlider
         MaxValue=255.000000
         bIntSlider=True
         Caption="Radar Map Opacity"
         OnCreateComponent=RadarTransparencySlider.InternalOnCreateComponent
         Hint="Change the opacity of the radar map's background"
         WinTop=0.369622
         WinLeft=0.431807
         WinWidth=0.528751
         WinHeight=0.069779
         TabOrder=7
         bBoundToParent=True
         bScaleToParent=True
         OnChange=CustomHUDMenuOnslaught.InternalOnChange
     End Object
     sl_RadarTrans=moSlider'GUI2K4.CustomHUDMenuOnslaught.RadarTransparencySlider'


     Begin Object Class=moFloatEdit Name=RadarPosXFloat
         MinValue=0.075000
         MaxValue=1.000000
         Step=0.050000
         CaptionWidth=0.010000
         Caption="X:"
         OnCreateComponent=RadarPosXFloat.InternalOnCreateComponent
         Hint="Adjust the position (left-to-right) of the radar map"
         WinTop=0.848623
         WinLeft=0.056826
         WinWidth=0.139523
         WinHeight=0.034570
         TabOrder=0
         bBoundToParent=True
         bScaleToParent=True
         OnChange=CustomHUDMenuOnslaught.InternalOnChange
     End Object
     fl_PositionX=moFloatEdit'GUI2K4.CustomHUDMenuOnslaught.RadarPosXFloat'


     Begin Object Class=moFloatEdit Name=RadarPosYFloat
         MinValue=0.000000
         MaxValue=0.730000
         Step=0.050000
         CaptionWidth=0.010000
         Caption="Y:"
         OnCreateComponent=RadarPosYFloat.InternalOnCreateComponent
         Hint="Adjust the position (top-to-bottom) of the radar map"
         WinTop=0.896968
         WinLeft=0.056826
         WinWidth=0.139523
         WinHeight=0.034570
         TabOrder=1
         bBoundToParent=True
         bScaleToParent=True
         OnChange=CustomHUDMenuOnslaught.InternalOnChange
     End Object
     fl_PositionY=moFloatEdit'GUI2K4.CustomHUDMenuOnslaught.RadarPosYFloat'


     Begin Object Class=GUIButton Name=ToggleButton
         bWrapCaption=True
         WinTop=0.771852
         WinLeft=0.218035
         WinWidth=0.160937
         WinHeight=0.098412
         TabOrder=2
         OnClick=CustomHUDMenuOnslaught.TogglePreview
         OnKeyEvent=ToggleButton.InternalOnKeyEvent
     End Object
     b_TogglePreview=GUIButton'GUI2K4.CustomHUDMenuOnslaught.ToggleButton'


     bPreviewRadar=True
     ShowRadarText="Show Only Radar"
     ShowScreenText="Show Entire Screen"
     DefaultRadarTextureName="ONS-Torlan.myLevel.BackgroundImage"
     Begin Object Class=GUIButton Name=CancelButton
         Caption="Cancel"
         Hint="Click to close this menu, discarding changes."
         WinTop=0.898800
         WinLeft=0.658306
         WinWidth=0.136349
         WinHeight=0.063881
         TabOrder=9
         bBoundToParent=True
         bScaleToParent=True
         bStandardized=True
         OnClick=CustomHUDMenuOnslaught.InternalOnClick
         OnKeyEvent=CancelButton.InternalOnKeyEvent
     End Object
     b_Cancel=GUIButton'GUI2K4.CustomHUDMenuOnslaught.CancelButton'


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


     Begin Object Class=GUIButton Name=OkButton
         Caption="OK"
         Hint="Click to close this menu, saving changes."
         WinTop=0.898800
         WinLeft=0.802881
         WinWidth=0.136349
         WinHeight=0.063881
         TabOrder=10
         bBoundToParent=True
         bScaleToParent=True
         bStandardized=True
         OnClick=CustomHUDMenuOnslaught.InternalOnClick
         OnKeyEvent=OkButton.InternalOnKeyEvent
     End Object
     b_OK=GUIButton'GUI2K4.CustomHUDMenuOnslaught.OkButton'


     WinTop=0.050000
     WinLeft=0.029688
     WinWidth=0.944062
     WinHeight=0.867814
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 09:49:36.943 - Created with UnCodeX