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

XInterface.TestImagePage

Extends
TestPageBase

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.TestPageBase
               |   
               +-- XInterface.TestImagePage

Variables Summary
GUIButtonb_Add
moComboBoxco_Align
moComboBoxco_Render
moComboBoxco_Select
moComboBoxco_Style
array<string>Images
GUIImagei_Test
GUILabell_ImageSize
GUINumericEditnu_Height
GUINumericEditnu_PortionX1
GUINumericEditnu_PortionX2
GUINumericEditnu_PortionY1
GUINumericEditnu_PortionY2
GUINumericEditnu_Width
Inherited Variables from XInterface.GUIPage
Background, BackgroundColor, BackgroundRStyle, bAllowedAsLast, bCaptureInput, bCheckResolution, bDisconnectOnOpen, bPauseIfPossible, bPersistent, bRenderWorld, bRequire640x480, bRestorable, CloseSound, InactiveFadeColor, OpenSound, ParentPage, Timers

Functions Summary
function ChangePortion (GUIComponent Sender))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InternalOnChange (GUIComponent Sender ))
functionbool InternalOnClick (GUIComponent Sender ))
function InternalOnOpen ()))
function InternalOnRendered (Canvas C))
functionMaterial LoadTexture (string TextureFullName))
function OnNewImgAlign (GUIComponent Sender))
function OnNewImgSelect (GUIComponent Sender))
function OnNewImgStyle (GUIComponent Sender))
function ResizeImage (GUIComponent Sender))
function SetNewImage (string ImageName))
Inherited Functions from XInterface.GUIPage
AllowOpen, ChangeHint, CheckResolution, Closed, Free, GetDataString, GetRestoreParams, HandleObject, HandleParameters, InitComponent, IsOpen, NotifyLevelChange, PlayCloseSound, PlayOpenSound, SetDataString, SetFocus


Variables Detail

b_Add Source code

var automated GUIButton b_Add;

co_Align Source code

var automated moComboBox co_Align;

co_Render Source code

var automated moComboBox co_Render;

co_Select Source code

var automated moComboBox co_Select;

co_Style Source code

var automated moComboBox co_Style;

Images Source code

var config array<string> Images;

i_Test Source code

var automated GUIImage i_Test;

l_ImageSize Source code

var automated GUILabel l_ImageSize;

nu_Height Source code

var automated GUINumericEdit nu_Height;

nu_PortionX1 Source code

var automated GUINumericEdit nu_PortionX1;

nu_PortionX2 Source code

var automated GUINumericEdit nu_PortionX2;

nu_PortionY1 Source code

var automated GUINumericEdit nu_PortionY1;

nu_PortionY2 Source code

var automated GUINumericEdit nu_PortionY2;

nu_Width Source code

var automated GUINumericEdit nu_Width;


Functions Detail

ChangePortion Source code

function ChangePortion ( GUIComponent Sender) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender ) )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender ) )

InternalOnOpen Source code

function InternalOnOpen ( ) )

InternalOnRendered Source code

function InternalOnRendered ( Canvas C) )

LoadTexture Source code

function Material LoadTexture ( string TextureFullName) )

OnNewImgAlign Source code

function OnNewImgAlign ( GUIComponent Sender) )

OnNewImgSelect Source code

function OnNewImgSelect ( GUIComponent Sender) )

OnNewImgStyle Source code

function OnNewImgStyle ( GUIComponent Sender) )

ResizeImage Source code

function ResizeImage ( GUIComponent Sender) )

SetNewImage Source code

function SetNewImage ( string ImageName) )


Defaultproperties

defaultproperties
{
     Begin Object Class=GUIImage Name=TheImage
         ImageRenderStyle=MSTY_Normal
         WinTop=0.115365
         WinLeft=0.088281
         WinWidth=0.600000
         WinHeight=0.976563
         RenderWeight=0.400000
     End Object
     i_Test=GUIImage'XInterface.TestImagePage.TheImage'


     Begin Object Class=moComboBox Name=ImageStyle
         bReadOnly=True
         CaptionWidth=0.100000
         Caption="Image Style"
         OnCreateComponent=ImageStyle.InternalOnCreateComponent
         WinTop=0.045000
         WinLeft=0.000000
         WinWidth=0.250000
         WinHeight=0.040000
         TabOrder=4
         OnChange=TestImagePage.OnNewImgStyle
     End Object
     co_Style=moComboBox'XInterface.TestImagePage.ImageStyle'


     Begin Object Class=moComboBox Name=ImageAlign
         bReadOnly=True
         CaptionWidth=0.100000
         Caption="Align"
         OnCreateComponent=ImageAlign.InternalOnCreateComponent
         WinTop=0.045000
         WinLeft=0.265625
         WinWidth=0.208984
         WinHeight=0.040000
         TabOrder=5
         OnChange=TestImagePage.OnNewImgAlign
     End Object
     co_Align=moComboBox'XInterface.TestImagePage.ImageAlign'


     Begin Object Class=moComboBox Name=SelectImage
         CaptionWidth=0.100000
         Caption="Select Image"
         OnCreateComponent=SelectImage.InternalOnCreateComponent
         WinTop=0.000000
         WinLeft=0.000000
         WinWidth=0.538086
         WinHeight=0.040000
         TabOrder=0
         OnChange=TestImagePage.OnNewImgSelect
     End Object
     co_Select=moComboBox'XInterface.TestImagePage.SelectImage'


     Begin Object Class=moComboBox Name=ImageRenderStyle
         bReadOnly=True
         CaptionWidth=0.100000
         Caption="Render Style"
         OnCreateComponent=ImageRenderStyle.InternalOnCreateComponent
         WinTop=0.045000
         WinLeft=0.480469
         WinWidth=0.326172
         WinHeight=0.040000
         TabOrder=6
         OnChange=TestImagePage.InternalOnChange
     End Object
     co_Render=moComboBox'XInterface.TestImagePage.ImageRenderStyle'


     Begin Object Class=GUINumericEdit Name=ImageWidth
         MinValue=10
         MaxValue=1014
         Step=10
         WinLeft=0.731055
         WinWidth=0.107617
         WinHeight=0.040000
         TabOrder=2
         OnDeActivate=ImageWidth.ValidateValue
         OnChange=TestImagePage.ResizeImage
     End Object
     nu_Width=GUINumericEdit'XInterface.TestImagePage.ImageWidth'


     Begin Object Class=GUINumericEdit Name=ImageHeight
         MinValue=10
         MaxValue=758
         Step=10
         WinLeft=0.838672
         WinWidth=0.069531
         WinHeight=0.040000
         TabOrder=3
         OnDeActivate=ImageHeight.ValidateValue
         OnChange=TestImagePage.ResizeImage
     End Object
     nu_Height=GUINumericEdit'XInterface.TestImagePage.ImageHeight'


     Begin Object Class=GUINumericEdit Name=ImagePortionX1
         MinValue=-1
         MaxValue=1024
         Step=10
         WinTop=0.221354
         WinLeft=0.003516
         WinWidth=0.083203
         WinHeight=0.040000
         TabOrder=7
         OnDeActivate=ImagePortionX1.ValidateValue
         OnChange=TestImagePage.ChangePortion
     End Object
     nu_PortionX1=GUINumericEdit'XInterface.TestImagePage.ImagePortionX1'


     Begin Object Class=GUINumericEdit Name=ImagePortionX2
         MinValue=-1
         MaxValue=1024
         Step=10
         WinTop=0.301354
         WinLeft=0.003516
         WinWidth=0.083203
         WinHeight=0.040000
         TabOrder=9
         OnDeActivate=ImagePortionX2.ValidateValue
         OnChange=TestImagePage.ChangePortion
     End Object
     nu_PortionX2=GUINumericEdit'XInterface.TestImagePage.ImagePortionX2'


     Begin Object Class=GUINumericEdit Name=ImagePortionY1
         MinValue=-1
         MaxValue=1024
         Step=10
         WinTop=0.261354
         WinLeft=0.003516
         WinWidth=0.083203
         WinHeight=0.040000
         TabOrder=8
         OnDeActivate=ImagePortionY1.ValidateValue
         OnChange=TestImagePage.ChangePortion
     End Object
     nu_PortionY1=GUINumericEdit'XInterface.TestImagePage.ImagePortionY1'


     Begin Object Class=GUINumericEdit Name=ImagePortionY2
         MinValue=-1
         MaxValue=1024
         Step=10
         WinTop=0.341354
         WinLeft=0.003516
         WinWidth=0.083203
         WinHeight=0.040000
         TabOrder=10
         OnDeActivate=ImagePortionY2.ValidateValue
         OnChange=TestImagePage.ChangePortion
     End Object
     nu_PortionY2=GUINumericEdit'XInterface.TestImagePage.ImagePortionY2'


     Begin Object Class=GUIButton Name=AddImage
         Caption="Add"
         WinLeft=0.539258
         WinWidth=0.050273
         TabOrder=1
         OnClick=TestImagePage.InternalOnClick
         OnKeyEvent=AddImage.InternalOnKeyEvent
     End Object
     b_Add=GUIButton'XInterface.TestImagePage.AddImage'


     Begin Object Class=GUILabel Name=ImageDims
         FontScale=FNS_Small
         StyleName="TextLabel"
         WinLeft=0.594336
         WinWidth=0.121289
         WinHeight=0.040000
     End Object
     l_ImageSize=GUILabel'XInterface.TestImagePage.ImageDims'


     Images(0)="PlayerPictures.cEgyptFemaleBA"
     Images(1)="InterfaceContent.Menu.bg07"
     Images(2)="2K4Menus.Controls.menuBackground2"
     Images(3)="2K4Menus.Controls.popupBorder_b"
     Images(4)="2K4Menus.Controls.editbox2_b"
     OnOpen=TestImagePage.InternalOnOpen
     OnRendered=TestImagePage.InternalOnRendered
}

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