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

XInterface.Tab_VideoSettings

Extends
UT2K3TabPanel

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K3TabPanel
                  |   
                  +-- XInterface.Tab_VideoSettings

Variables Summary
stringBitDepthText[2]
DisplayModeDisplayModes[23]
boolShowSShot
Inherited Variables from XInterface.GUITabPanel
bFillHeight, FadeInTime, MyButton, PanelCaption

Structures Summary
DisplayMode
Width, Height

Functions Summary
functionbool ApplyChanges (GUIComponent Sender)
function CheckSupportedResolutions ()
function InitComponent (GUIController MyController, GUIComponent MyOwner)
function InternalOnChange (GUIComponent Sender)
functionbool InternalOnClick (GUIComponent Sender)
function InternalOnLoadINI (GUIComponent Sender, string s)
functionstring InternalOnSaveINI (GUIComponent Sender)
function Refresh ()
Inherited Functions from XInterface.GUITabPanel
CanShowPanel, Free, InitPanel, OnDestroyPanel, Refresh, ShowPanel


Variables Detail

BitDepthText[2] Source code

var localized string BitDepthText[2];

DisplayModes[23] Source code

var DisplayMode DisplayModes[23];

ShowSShot Source code

var bool ShowSShot;


Structures Detail

DisplayMode Source code

struct DisplayMode
{
var int Height;
var int Width;
};



Functions Detail

ApplyChanges Source code

function bool ApplyChanges ( GUIComponent Sender )

CheckSupportedResolutions Source code

function CheckSupportedResolutions ( )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender )

InternalOnLoadINI Source code

function InternalOnLoadINI ( GUIComponent Sender, string s )

InternalOnSaveINI Source code

function string InternalOnSaveINI ( GUIComponent Sender )

Refresh Source code

function Refresh ( )


Defaultproperties

defaultproperties
{
     DisplayModes(0)=(Width=320,Height=240)
     DisplayModes(1)=(Width=512,Height=384)
     DisplayModes(2)=(Width=640,Height=480)
     DisplayModes(3)=(Width=720,Height=480)
     DisplayModes(4)=(Width=800,Height=500)
     DisplayModes(5)=(Width=800,Height=600)
     DisplayModes(6)=(Width=840,Height=524)
     DisplayModes(7)=(Width=896,Height=600)
     DisplayModes(8)=(Width=1024,Height=640)
     DisplayModes(9)=(Width=1024,Height=768)
     DisplayModes(10)=(Width=1152,Height=720)
     DisplayModes(11)=(Width=1152,Height=864)
     DisplayModes(12)=(Width=1280,Height=800)
     DisplayModes(13)=(Width=1280,Height=854)
     DisplayModes(14)=(Width=1280,Height=960)
     DisplayModes(15)=(Width=1280,Height=1024)
     DisplayModes(16)=(Width=1344,Height=840)
     DisplayModes(17)=(Width=1440,Height=900)
     DisplayModes(18)=(Width=1600,Height=1200)
     DisplayModes(19)=(Width=1680,Height=1050)
     DisplayModes(20)=(Width=1920,Height=1200)
     DisplayModes(21)=(Width=2048,Height=1280)
     DisplayModes(22)=(Width=2560,Height=1600)
     BitDepthText(0)="16-bit Color"
     BitDepthText(1)="32-bit Color"
     Begin Object Class=moComboBox Name=VideoResolution
         bReadOnly=Wahr
         CaptionWidth=0.375000
         Caption="Resolution"
         OnCreateComponent=VideoResolution.InternalOnCreateComponent
         IniOption="@INTERNAL"
         IniDefault="640x480"
         Hint="Select the video resolution at which you wish to play."
         WinTop=0.047396
         WinLeft=0.124258
         WinWidth=0.390000
         WinHeight=0.050000
         OnLoadINI=Tab_VideoSettings.InternalOnLoadINI
         OnSaveINI=Tab_VideoSettings.InternalOnSaveINI
     End Object
     Controls(0)=moComboBox'XInterface.Tab_VideoSettings.VideoResolution'

     Begin Object Class=moComboBox Name=VideoColorDepth
         CaptionWidth=0.375000
         Caption="Color Depth"
         OnCreateComponent=VideoColorDepth.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="false"
         Hint="Select the maximum number of colors to display at one time."
         WinTop=0.152345
         WinLeft=0.121484
         WinWidth=0.390000
         WinHeight=0.050000
         OnLoadINI=Tab_VideoSettings.InternalOnLoadINI
         OnSaveINI=Tab_VideoSettings.InternalOnSaveINI
     End Object
     Controls(1)=moComboBox'XInterface.Tab_VideoSettings.VideoColorDepth'

     Begin Object Class=moCheckBox Name=VideoFullScreen
         ComponentJustification=TXTA_Left
         CaptionWidth=0.375000
         Caption="Full Screen"
         OnCreateComponent=VideoFullScreen.InternalOnCreateComponent
         IniOption="@Internal"
         IniDefault="True"
         Hint="Check this box to run the game full screen."
         WinTop=0.047396
         WinLeft=0.667226
         WinWidth=0.350000
         WinHeight=0.040000
         OnLoadINI=Tab_VideoSettings.InternalOnLoadINI
         OnSaveINI=Tab_VideoSettings.InternalOnSaveINI
     End Object
     Controls(2)=moCheckBox'XInterface.Tab_VideoSettings.VideoFullScreen'

     Begin Object Class=GUIButton Name=VideoApply
         Caption="Apply Changes"
         Hint="Apply all changes to your video settings."
         WinTop=0.152345
         WinLeft=0.667226
         WinWidth=0.250000
         WinHeight=0.050000
         bVisible=Falsch
         OnClick=Tab_VideoSettings.ApplyChanges
         OnKeyEvent=VideoApply.InternalOnKeyEvent
     End Object
     Controls(3)=GUIButton'XInterface.Tab_VideoSettings.VideoApply'

     Begin Object Class=GUIImage Name=GammaBK
         Image=Texture'InterfaceContent.Menu.BorderBoxD'
         ImageColor=(A=160)
         ImageStyle=ISTY_Stretched
         WinTop=0.280365
         WinLeft=0.021641
         WinWidth=0.957500
         WinHeight=0.697273
     End Object
     Controls(4)=GUIImage'XInterface.Tab_VideoSettings.GammaBK'

     Begin Object Class=GUILabel Name=GammaLabel
         Caption="Gamma"
         TextAlign=TXTA_Center
         TextColor=(B=255,G=255,R=255)
         StyleName="TextLabel"
         WinTop=0.341146
         WinLeft=0.060547
         WinWidth=0.250000
         WinHeight=32.000000
     End Object
     Controls(5)=GUILabel'XInterface.Tab_VideoSettings.GammaLabel'

     Begin Object Class=GUISlider Name=GammaSlider
         MinValue=0.500000
         MaxValue=2.500000
         IniOption="ini:Engine.Engine.ViewportManager Gamma"
         IniDefault="0.8"
         Hint="Use the slider to adjust the Gamma to suit your monitor."
         WinTop=0.402345
         WinLeft=0.062500
         WinWidth=0.250000
         OnClick=GammaSlider.InternalOnClick
         OnMousePressed=GammaSlider.InternalOnMousePressed
         OnMouseRelease=GammaSlider.InternalOnMouseRelease
         OnKeyEvent=GammaSlider.InternalOnKeyEvent
         OnCapturedMouseMove=GammaSlider.InternalCapturedMouseMove
     End Object
     Controls(6)=GUISlider'XInterface.Tab_VideoSettings.GammaSlider'

     Begin Object Class=GUILabel Name=BrightnessLabel
         Caption="Brightness"
         TextAlign=TXTA_Center
         TextColor=(B=255,G=255,R=255)
         StyleName="TextLabel"
         WinTop=0.555990
         WinLeft=0.061524
         WinWidth=0.250000
         WinHeight=32.000000
     End Object
     Controls(7)=GUILabel'XInterface.Tab_VideoSettings.BrightnessLabel'

     Begin Object Class=GUISlider Name=BrightnessSlider
         MaxValue=1.000000
         IniOption="ini:Engine.Engine.ViewportManager Brightness"
         IniDefault="0.8"
         Hint="Use the slider to adjust the Brightness to suit your monitor."
         WinTop=0.623699
         WinLeft=0.062500
         WinWidth=0.250000
         OnClick=BrightnessSlider.InternalOnClick
         OnMousePressed=BrightnessSlider.InternalOnMousePressed
         OnMouseRelease=BrightnessSlider.InternalOnMouseRelease
         OnKeyEvent=BrightnessSlider.InternalOnKeyEvent
         OnCapturedMouseMove=BrightnessSlider.InternalCapturedMouseMove
     End Object
     Controls(8)=GUISlider'XInterface.Tab_VideoSettings.BrightnessSlider'

     Begin Object Class=GUILabel Name=ContrastLabel
         Caption="Contrast"
         TextAlign=TXTA_Center
         TextColor=(B=255,G=255,R=255)
         StyleName="TextLabel"
         WinTop=0.790365
         WinLeft=0.059570
         WinWidth=0.250000
         WinHeight=32.000000
     End Object
     Controls(9)=GUILabel'XInterface.Tab_VideoSettings.ContrastLabel'

     Begin Object Class=GUISlider Name=ContrastSlider
         MaxValue=1.000000
         IniOption="ini:Engine.Engine.ViewportManager Contrast"
         IniDefault="0.8"
         Hint="Use the slider to adjust the Contrast to suit your monitor."
         WinTop=0.851565
         WinLeft=0.062500
         WinWidth=0.250000
         OnClick=ContrastSlider.InternalOnClick
         OnMousePressed=ContrastSlider.InternalOnMousePressed
         OnMouseRelease=ContrastSlider.InternalOnMouseRelease
         OnKeyEvent=ContrastSlider.InternalOnKeyEvent
         OnCapturedMouseMove=ContrastSlider.InternalCapturedMouseMove
     End Object
     Controls(10)=GUISlider'XInterface.Tab_VideoSettings.ContrastSlider'

     Begin Object Class=GUIImage Name=GammaBar
         Image=Texture'InterfaceContent.Menu.GammaSet1'
         WinTop=0.377604
         WinLeft=0.454102
         WinWidth=0.400000
         WinHeight=0.500000
     End Object
     Controls(11)=GUIImage'XInterface.Tab_VideoSettings.GammaBar'

     Begin Object Class=GUILabel Name=BrightDesc1
         Caption="Adjust the Gamma Setting so that the"
         TextAlign=TXTA_Center
         TextColor=(B=0,G=200,R=230)
         WinTop=0.800000
         WinLeft=0.151367
         WinHeight=32.000000
         bVisible=Falsch
     End Object
     Controls(12)=GUILabel'XInterface.Tab_VideoSettings.BrightDesc1'

     Begin Object Class=GUILabel Name=BrightDesc2
         Caption="Square is completely black."
         TextAlign=TXTA_Center
         TextColor=(B=0,G=200,R=230)
         WinTop=0.870000
         WinLeft=0.136719
         WinHeight=32.000000
         bVisible=Falsch
     End Object
     Controls(13)=GUILabel'XInterface.Tab_VideoSettings.BrightDesc2'

     Begin Object Class=GUIButton Name=VideoLeft
         StyleName="ArrowLeft"
         WinTop=0.573959
         WinLeft=0.397656
         WinWidth=0.043555
         WinHeight=0.084414
         bVisible=Falsch
         bNeverFocus=Wahr
         bRepeatClick=Wahr
         OnClick=Tab_VideoSettings.InternalOnClick
         OnKeyEvent=VideoLeft.InternalOnKeyEvent
     End Object
     Controls(14)=GUIButton'XInterface.Tab_VideoSettings.VideoLeft'

     Begin Object Class=GUIButton Name=VideoRight
         StyleName="ArrowRight"
         WinTop=0.573959
         WinLeft=0.864063
         WinWidth=0.043555
         WinHeight=0.084414
         bVisible=Falsch
         bNeverFocus=Wahr
         bRepeatClick=Wahr
         OnClick=Tab_VideoSettings.InternalOnClick
         OnKeyEvent=VideoRight.InternalOnKeyEvent
     End Object
     Controls(15)=GUIButton'XInterface.Tab_VideoSettings.VideoRight'

     WinTop=0.150000
     WinHeight=0.740000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Mo 16.4.2007 11:20:32.296 - Created with UnCodeX