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

ROInterface.ROUT2K4Tab_HudSettings


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
00054
00055
00056
00057
00058
00059
//-----------------------------------------------------------
//
//-----------------------------------------------------------
class ROUT2K4Tab_HudSettings extends UT2K4Tab_HudSettings;


function InitComponent(GUIController MyController, GUIComponent MyOwner)
{

	Super.Initcomponent(MyController, MyOwner);

	RemoveComponent(co_CustomHUD);
	RemoveComponent(ch_Score);
//	RemoveComponent(ch_Portraits);
//	RemoveComponent(ch_VCPortraits);
	RemoveComponent(ch_EnemyNames);
	RemoveComponent(sl_Red);
	RemoveComponent(sl_Blue);
	RemoveComponent(sl_Green);
	RemoveComponent(i_Preview);
	RemoveComponent(i_PreviewBG);
	RemoveComponent(i_Scale);
	RemoveComponent(ch_CustomColor);

	fScale = PlayerOwner().myHUD.HudScale * 100;
	fOpacity = (PlayerOwner().myHUD.HudOpacity / 255) * 100;

	sl_Scale.SetValue(fScale);
	sl_Opacity.SetValue(fOpacity);

    class'ROInterfaceUtil'.static.SetROStyle(MyController, Controls);
}

defaultproperties
{
     Begin Object Class=GUISectionBackground Name=GameBK
         Caption="Options"
         WinTop=0.057604
         WinLeft=0.031797
         WinWidth=0.448633
         WinHeight=0.801485
         RenderWeight=0.001000
         OnPreDraw=GameBK.InternalPreDraw
     End Object
     i_BG1=GUISectionBackground'ROInterface.ROUT2K4Tab_HudSettings.GameBK'

     Begin Object Class=GUISectionBackground Name=GameBK1
         Caption="Visuals"
         WinTop=0.060208
         WinLeft=0.517578
         WinWidth=0.448633
         WinHeight=0.801485
         RenderWeight=0.001000
         OnPreDraw=GameBK1.InternalPreDraw
     End Object
     i_BG2=GUISectionBackground'ROInterface.ROUT2K4Tab_HudSettings.GameBK1'

}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fri 13-10-2023 03:17:28.000 - Creation time: Fri 13-10-2023 03:19:07.800 - Created with UnCodeX