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
{
	OnRendered=InternalOnRendered
	Begin Object Class=GUIImage Name=TheImage
		WinWidth=0.600000
		WinHeight=0.976563
		WinLeft=0.088281
		WinTop=0.115365
		RenderWeight=0.4
		ImageStyle=ISTY_Normal
		ImageRenderStyle=MSTY_Normal
		ImageAlign=IMGA_TopLeft
	End Object
	i_Test=TheImage


	Begin Object Class=moComboBox Name=SelectImage
		Caption="Select Image"
		WinWidth=0.538086
		WinHeight=0.040000
		WinLeft=0.000000
		WinTop=0.000000
		OnChange=OnNewImgSelect
		CaptionWidth=0.1
		ComponentWidth=-1
		bAutoSizeCaption=True
		TabOrder=0
	End Object
	co_Select=SelectImage


	Begin Object Class=GUIbutton Name=AddImage
		OnClick=InternalOnClick
		Caption="Add"
		WinWidth=0.050273
		WinHeight=0.040000
		WinLeft=0.539258
		WinTop=0.000000
		TabOrder=1
	End Object
	b_Add=AddImage


	Begin Object Class=moComboBox Name=ImageStyle
		WinWidth=0.250000
		WinHeight=0.040000
		WinLeft=0.000
		WinTop=0.045
		OnChange=OnNewImgStyle
		Caption="Image Style"
		CaptionWidth=0.1
		ComponentWidth=-1
		bAutoSizeCaption=True
		bReadOnly=True
		TabOrder=4
	End Object
	co_Style=ImageStyle


	Begin Object Class=moComboBox Name=ImageAlign
		WinWidth=0.208984
		WinHeight=0.040000
		WinLeft=0.265625
		WinTop=0.045
		OnChange=OnNewImgAlign
		Caption="Align"
		CaptionWidth=0.1
		ComponentWidth=-1
		bAutoSizeCaption=True
		bReadOnly=True
		TabOrder=5
	End Object
	co_Align=ImageAlign


	Begin Object Class=moComboBox Name=ImageRenderStyle
		WinWidth=0.326172
		WinHeight=0.040000
		WinLeft=0.480469
		WinTop=0.0450
		Caption="Render Style"
		OnChange=InternalOnChange
		CaptionWidth=0.1
		ComponentWidth=-1
		bAutoSizeCaption=True
		bReadOnly=True
		TabOrder=6
	End Object
	co_Render=ImageRenderStyle


	Begin Object Class=GUINumericEdit Name=ImageWidth
		WinWidth=0.107617
		WinHeight=0.040000
		WinLeft=0.731055
		WinTop=0.000000
		OnChange=ResizeImage
		MinValue=10
		MaxValue=1014
		Step=10
		TabOrder=2
	End Object
	nu_Width=ImageWidth


	Begin Object Class=GUINumericEdit Name=ImageHeight
		WinWidth=0.069531
		WinHeight=0.040000
		WinLeft=0.838672
		WinTop=0.000000
		OnChange=ResizeImage
		MinValue=10
		MaxValue=758
		Step=10
		TabOrder=3
	End Object
	nu_Height=ImageHeight


	Begin Object Class=GUILabel Name=ImageDims
		WinWidth=0.121289
		WinHeight=0.040000
		WinLeft=0.594336
		WinTop=0.000000
		StyleName="TextLabel"
		FontScale=FNS_Small
	End Object
	l_ImageSize=ImageDims


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


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


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


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


	OnOpen=InternalOnOpen
	bRenderWorld=False
	bRequire640x480=True
	bCaptureInput=True


	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"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:24.894 - Created with UnCodeX