- Extends
- TestPageBase
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPage
|
+-- XInterface.TestPageBase
|
+-- XInterface.TestImagePage
Inherited Variables from XInterface.GUIPage |
Background, BackgroundColor, BackgroundRStyle, bAllowedAsLast, bCaptureInput, bCheckResolution, bDisconnectOnOpen, bPauseIfPossible, bPersistent, bRenderWorld, bRequire640x480, bRestorable, CloseSound, InactiveFadeColor, OpenSound, ParentPage, Timers |
Inherited Functions from XInterface.GUIPage |
AllowOpen, ChangeHint, CheckResolution, Closed, Free, GetDataString, GetRestoreParams, HandleObject, HandleParameters, InitComponent, IsOpen, NotifyLevelChange, PlayCloseSound, PlayOpenSound, SetDataString, SetFocus |
var config array<string> Images;
function InternalOnOpen ( )
function InternalOnRendered (
Canvas C )
function Material LoadTexture (
string TextureFullName )
function SetNewImage ( string ImageName )
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
}
|
Creation time: Wed 7/2/2007 19:16:20.187 - Created with
UnCodeX