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

KFGui.KFTab_DetailSettings

Extends
UT2K4Tab_DetailSettings

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K4TabPanel
                  |   
                  +-- GUI2K4.Settings_Tabs
                     |   
                     +-- GUI2K4.UT2K4Tab_DetailSettings
                        |   
                        +-- KFGui.KFTab_DetailSettings

Constants Summary
MAX_DETAIL_OPTIONS=7
Inherited Contants from GUI2K4.UT2K4Tab_DetailSettings
RENDERMODECOUNT

Variables Summary
boolbShowPerfWarning
moCheckboxch_Advanced
moCheckboxch_HDR
moCheckboxch_MotionBlur
moCheckboxch_TripBuff
moCheckboxch_VSync
moCheckboxch_WideScreen
moComboBoxco_GlobalDetails
moComboBoxco_ScopeDetail
KFTab_DetailSettings
boolbHDR
boolbHDRD
boolbMotionBlur
boolbMotionBlurD
boolbTripBuff
boolbTripBuffD
boolbVSync
boolbVSyncD
boolbWideScreen
boolbWideScreenD
stringDetailOptions[MAX_DETAIL_OPTIONS]
intiGlobalDetails
intiGlobalDetailsD
intiScopeDetail
intiScopeDetailD
stringScopeLevels[3]
Inherited Variables from GUI2K4.UT2K4Tab_DetailSettings
AnisotropyModes, bCorona, bCoronaD, bDecal, bDecalD, bDemo, bDynLight, bDynLightD, bFol, bFolD, bForceFSAAScreenshotSupport, bForceFSAAScreenshotSupportD, bFullScreen, bFullScreenD, bIgnoreChange, bIgnoreResNotice, bInvalidRes, BitDepthText[2], bPlayedSound, bProj, bProjD, bTexture, bTextureD, bTrilin, bTrilinD, bWeather, bWeatherD, ch_Coronas, ch_Decals, ch_DecoLayers, ch_DynLight, ch_ForceFSAAScreenshotSupport, ch_FullScreen, ch_Projectors, ch_Textures, ch_Trilinear, ch_Weather, co_Anisotropy, co_Char, co_ColorDepth, co_Decal, co_MeshLOD, co_MultiSamples, co_Physics, co_RenderDevice, co_Resolution, co_Shadows, co_Texture, co_World, DetailLevels[9], DisplayModes[22], DisplayPromptMenu, fBright, fContrast, fDistance, fDistanceD, fGamma, iAnisotropy, iAnisotropyD, iChar, iCharD, iColDepth, iColDepthD, iDecal, iDecalD, iMeshLOD, iMeshLODD, iMultiSamples, iMultiSamplesD, iMultiSamplesQL, iMultiSamplesQLD, InvalidSelectionText, iPhys, iPhysD, iShadow, iShadowD, iTexture, iTextureD, iWorld, iWorldD, i_Gamma, i_GammaBar, MultiSampleModes, MultiSampleQualityModes, RelaunchQuestion, RenderModeText[RENDERMODECOUNT], RenderMode[RENDERMODECOUNT], sb_Section1, sb_Section2, sb_Section3, ShadowOptions[3], sl_Brightness, sl_Contrast, sl_DistanceLOD, sl_Gamma, sRenDev, sRenDevD, sRes, sResD
Inherited Variables from GUI2K4.Settings_Tabs
bAlwaysApply, bExpert, bNeedApply, PerformanceWarningMenu, PerformanceWarningText, Setting, t_Footer, WarningCounter, WarningLength

Structures Summary
Inherited Structures from GUI2K4.UT2K4Tab_DetailSettings
DisplayMode

Functions Summary
function DisableHDRControlIfNeeded ()))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InitializeCombos ()))
function InternalOnChange (GUIComponent Sender))
function InternalOnLoadINI (GUIComponent Sender, string s))
functionbool InternalOnPreDraw (canvas Canvas))
function MyGetComboOptions (moComboBox Combo, out array<GUIListElem> Ar))
function ResetClicked ()))
function SaveSettings ()))
function SetupPositions ()))
function ShowPerformanceWarning (optional float Seconds))
function UpdateGlobalDetails ()))
function UpdateGlobalDetailsVisibility ()))
function UpdateShadows (bool bBlobShadow, bool bPlayerShadows))
function UpdateVehicleShadows (bool bVehicleShadows))
Inherited Functions from GUI2K4.UT2K4Tab_DetailSettings
AddNewResolution, CheckSliders, CheckSupportedResolutions, GetComboOptions, GetConfigString, GetDetailIndex, GetGUIString, InitComponent, InitializeCombos, InternalOnChange, InternalOnLoadINI, InternalOnPreDraw, MapAnisotropyModes, MapMultiSampleModes, Opened, Refresh, RenderDeviceClick, ResetClicked, ResetRenderDevice, ResetViewport, ResolutionChanged, SaveSettings, SetupPositions, ShowPanel, UpdateDecalStay, VideoChangeClose
Inherited Functions from GUI2K4.Settings_Tabs
AcceptClicked, Closed, DrawPerfWarn, GetNativeClassName, InitComponent, InternalOnChange, Opened, ResetClicked, SaveSettings, ShowPanel, ShowPerformanceWarning, Timer


Constants Detail

MAX_DETAIL_OPTIONS Source code

const MAX_DETAIL_OPTIONS = 7;


Variables Detail

bShowPerfWarning Source code

var bool bShowPerfWarning;

ch_Advanced Source code

var automated moCheckbox ch_Advanced;

ch_HDR Source code

var automated moCheckbox ch_HDR;

ch_MotionBlur Source code

var automated moCheckbox ch_MotionBlur;

ch_TripBuff Source code

var automated moCheckbox ch_TripBuff;

ch_VSync Source code

var automated moCheckbox ch_VSync;

ch_WideScreen Source code

var automated moCheckbox ch_WideScreen;

co_GlobalDetails Source code

var automated moComboBox co_GlobalDetails;

co_ScopeDetail Source code

var automated moComboBox co_ScopeDetail;

KFTab_DetailSettings

bHDR Source code

var(KFTab_DetailSettings) noexport transient bool bHDR;

bHDRD Source code

var(KFTab_DetailSettings) noexport transient bool bHDRD;

bMotionBlur Source code

var(KFTab_DetailSettings) noexport transient bool bMotionBlur;

bMotionBlurD Source code

var(KFTab_DetailSettings) noexport transient bool bMotionBlurD;

bTripBuff Source code

var(KFTab_DetailSettings) noexport transient bool bTripBuff;

bTripBuffD Source code

var(KFTab_DetailSettings) noexport transient bool bTripBuffD;

bVSync Source code

var(KFTab_DetailSettings) noexport transient bool bVSync;

bVSyncD Source code

var(KFTab_DetailSettings) noexport transient bool bVSyncD;

bWideScreen Source code

var(KFTab_DetailSettings) noexport transient bool bWideScreen;

bWideScreenD Source code

var(KFTab_DetailSettings) noexport transient bool bWideScreenD;

DetailOptions[MAX_DETAIL_OPTIONS] Source code

var(KFTab_DetailSettings) localized string DetailOptions[MAX_DETAIL_OPTIONS];

iGlobalDetails Source code

var(KFTab_DetailSettings) noexport transient int iGlobalDetails;

iGlobalDetailsD Source code

var(KFTab_DetailSettings) noexport transient int iGlobalDetailsD;

iScopeDetail Source code

var(KFTab_DetailSettings) noexport transient int iScopeDetail;

iScopeDetailD Source code

var(KFTab_DetailSettings) noexport transient int iScopeDetailD;

ScopeLevels[3] Source code

var(KFTab_DetailSettings) localized string ScopeLevels[3];


Functions Detail

DisableHDRControlIfNeeded Source code

function DisableHDRControlIfNeeded ( ) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InitializeCombos Source code

function InitializeCombos ( ) )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender) )

InternalOnLoadINI Source code

function InternalOnLoadINI ( GUIComponent Sender, string s) )

InternalOnPreDraw Source code

function bool InternalOnPreDraw ( canvas Canvas) )

MyGetComboOptions Source code

function MyGetComboOptions ( moComboBox Combo, out array<GUIListElem> Ar) )

ResetClicked Source code

function ResetClicked ( ) )

SaveSettings Source code

function SaveSettings ( ) )

SetupPositions Source code

function SetupPositions ( ) )

ShowPerformanceWarning Source code

function ShowPerformanceWarning ( optional float Seconds) )

UpdateGlobalDetails Source code

function UpdateGlobalDetails ( ) )

UpdateGlobalDetailsVisibility Source code

function UpdateGlobalDetailsVisibility ( ) )

UpdateShadows Source code

simulated function UpdateShadows ( bool bBlobShadow, bool bPlayerShadows) )

UpdateVehicleShadows Source code

simulated function UpdateVehicleShadows ( bool bVehicleShadows) )


Defaultproperties

defaultproperties
{
     Begin Object Class=moComboBox Name=GlobalDetails
         ComponentJustification=TXTA_Left
         CaptionWidth=0.550000
         Caption="Game details"
         OnCreateComponent=GlobalDetails.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="Higher"
         Hint="Changes the quality of the graphics in the game"
         WinTop=0.063021
         WinLeft=0.550000
         WinWidth=0.400000
         TabOrder=2
         OnChange=KFTab_DetailSettings.InternalOnChange
         OnLoadINI=KFTab_DetailSettings.InternalOnLoadINI
     End Object
     co_GlobalDetails=moComboBox'KFGui.KFTab_DetailSettings.GlobalDetails'


     Begin Object Class=moComboBox Name=ScopeDetail
         ComponentJustification=TXTA_Left
         CaptionWidth=0.650000
         Caption="Scope Detail"
         OnCreateComponent=ScopeDetail.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="Model (Low)"
         Hint="Changes how weapon scope views should be rendered"
         WinTop=0.063021
         WinLeft=0.550000
         WinWidth=0.400000
         TabOrder=9
         OnChange=KFTab_DetailSettings.InternalOnChange
         OnLoadINI=KFTab_DetailSettings.InternalOnLoadINI
     End Object
     co_ScopeDetail=moComboBox'KFGui.KFTab_DetailSettings.ScopeDetail'


     Begin Object Class=moCheckBox Name=HDRCheckbox
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="HDR Bloom"
         OnCreateComponent=HDRCheckbox.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="True"
         Hint="Enables the Bloom effect"
         WinTop=0.479308
         WinLeft=0.600000
         WinWidth=0.300000
         WinHeight=0.040000
         TabOrder=13
         OnChange=KFTab_DetailSettings.InternalOnChange
         OnLoadINI=KFTab_DetailSettings.InternalOnLoadINI
     End Object
     ch_HDR=moCheckBox'KFGui.KFTab_DetailSettings.HDRCheckbox'


     Begin Object Class=moCheckBox Name=Advanced
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="Show Advanced Options"
         OnCreateComponent=Advanced.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="True"
         Hint="Enables you to configure display options more precisely"
         WinTop=0.479308
         WinLeft=0.600000
         WinWidth=0.300000
         WinHeight=0.040000
         TabOrder=2
         OnChange=KFTab_DetailSettings.InternalOnChange
         OnLoadINI=KFTab_DetailSettings.InternalOnLoadINI
     End Object
     ch_Advanced=moCheckBox'KFGui.KFTab_DetailSettings.Advanced'


     Begin Object Class=moCheckBox Name=MotionBlur
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="Motion Blur"
         OnCreateComponent=MotionBlur.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="True"
         Hint="Enables motion blur effects"
         WinTop=0.479308
         WinLeft=0.600000
         WinWidth=0.300000
         WinHeight=0.040000
         TabOrder=13
         OnChange=KFTab_DetailSettings.InternalOnChange
         OnLoadINI=KFTab_DetailSettings.InternalOnLoadINI
     End Object
     ch_MotionBlur=moCheckBox'KFGui.KFTab_DetailSettings.MotionBlur'


     Begin Object Class=moCheckBox Name=VSyncbox
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="Vertical Sync"
         OnCreateComponent=VSyncbox.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="False"
         Hint="Syncs the frame rate to your monitor's refresh rate"
         WinTop=0.479308
         WinLeft=0.600000
         WinWidth=0.300000
         WinHeight=0.040000
         TabOrder=4
         OnChange=KFTab_DetailSettings.InternalOnChange
         OnLoadINI=KFTab_DetailSettings.InternalOnLoadINI
     End Object
     ch_VSync=moCheckBox'KFGui.KFTab_DetailSettings.VSyncbox'


     Begin Object Class=moCheckBox Name=TripBuffbox
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="Triple Buffering"
         OnCreateComponent=TripBuffbox.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="False"
         Hint="May help framerate/smoothness if VSync is turned on"
         WinTop=0.479308
         WinLeft=0.600000
         WinWidth=0.300000
         WinHeight=0.040000
         TabOrder=4
         OnChange=KFTab_DetailSettings.InternalOnChange
         OnLoadINI=KFTab_DetailSettings.InternalOnLoadINI
     End Object
     ch_TripBuff=moCheckBox'KFGui.KFTab_DetailSettings.TripBuffbox'


     Begin Object Class=moCheckBox Name=WideScreenbox
         ComponentJustification=TXTA_Left
         CaptionWidth=0.940000
         Caption="Widescreen"
         OnCreateComponent=WideScreenbox.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="True"
         Hint="Enables widescreen support"
         WinTop=0.479308
         WinLeft=0.600000
         WinWidth=0.300000
         WinHeight=0.040000
         TabOrder=4
         OnChange=KFTab_DetailSettings.InternalOnChange
         OnLoadINI=KFTab_DetailSettings.InternalOnLoadINI
     End Object
     ch_WideScreen=moCheckBox'KFGui.KFTab_DetailSettings.WideScreenbox'


     DetailOptions(0)="Lowest"
     DetailOptions(1)="Low"
     DetailOptions(2)="Medium"
     DetailOptions(3)="High"
     DetailOptions(4)="Higher"
     DetailOptions(5)="Highest"
     DetailOptions(6)="Custom"
     ScopeLevels(0)="Model (Low)"
     ScopeLevels(1)="Textured"
     ScopeLevels(2)="Model (High)"
     RenderModeText(0)="Direct 3D 9.0"
     RenderModeText(1)="Direct 3D"
     RenderModeText(2)="OpenGL"
     RenderMode(0)="D3D9Drv.D3D9RenderDevice"
     RenderMode(1)="D3DDrv.D3DRenderDevice"
     RenderMode(2)="OpenGLDrv.OpenGLRenderDevice"
     Begin Object Class=GUISectionBackground Name=sbSection1
         Caption="Resolution"
         WinTop=0.012761
         WinLeft=0.000948
         WinWidth=0.485000
         WinHeight=0.540729
         RenderWeight=0.010000
         OnPreDraw=sbSection1.InternalPreDraw
     End Object
     sb_Section1=GUISectionBackground'KFGui.KFTab_DetailSettings.sbSection1'


     Begin Object Class=GUISectionBackground Name=sbSection3
         bFillClient=True
         Caption="Gamma Test"
         WinTop=0.576061
         WinLeft=0.000948
         WinWidth=0.485000
         WinHeight=0.411928
         RenderWeight=0.010000
         OnPreDraw=sbSection3.InternalPreDraw
     End Object
     sb_Section3=GUISectionBackground'KFGui.KFTab_DetailSettings.sbSection3'


     Begin Object Class=GUIImage Name=GammaBar
         Image=Texture'2K4Menus.Controls.Gamma'
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         OnChange=KFTab_DetailSettings.InternalOnChange
     End Object
     i_GammaBar=GUIImage'KFGui.KFTab_DetailSettings.GammaBar'


     OnPreDraw=KFTab_DetailSettings.InternalOnPreDraw
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 13-10-2023 03:18:47.614 - Created with UnCodeX