C# Class LayoutFarm.InternalUI.EaseBox

Inheritance: UIBox
显示文件 Open project: prepare/HTML-Renderer

Public Methods

Method Description
AddChild ( UIElement ui ) : void
ClearChildren ( ) : void
EaseBox ( int width, int height ) : System
GetChild ( int index ) : UIElement
GetChildIter ( ) : IEnumerable
GetPrimaryRenderElement ( RootGraphic rootgfx ) : RenderElement
PerformContentLayout ( ) : void
RemoveChild ( UIElement ui ) : void
RemoveSelf ( ) : void
SetViewport ( int x, int y ) : void

Protected Methods

Method Description
OnContentLayout ( ) : void
OnGuestTalk ( UIGuestTalkEventArgs e ) : void
OnLostMouseSelectedFocus ( UIMouseEventArgs e ) : void
OnMouseDown ( UIMouseEventArgs e ) : void
OnMouseLeave ( UIMouseEventArgs e ) : void
OnMouseMove ( UIMouseEventArgs e ) : void
OnMouseUp ( UIMouseEventArgs e ) : void
OnMouseWheel ( UIMouseEventArgs e ) : void
SetDesiredSize ( int w, int h ) : void
SetPrimaryRenderElement ( CustomRenderBox primElement ) : void

Method Details

AddChild() public method

public AddChild ( UIElement ui ) : void
ui UIElement
return void

ClearChildren() public method

public ClearChildren ( ) : void
return void

EaseBox() public method

public EaseBox ( int width, int height ) : System
width int
height int
return System

GetChild() public method

public GetChild ( int index ) : UIElement
index int
return UIElement

GetChildIter() public method

public GetChildIter ( ) : IEnumerable
return IEnumerable

GetPrimaryRenderElement() public method

public GetPrimaryRenderElement ( RootGraphic rootgfx ) : RenderElement
rootgfx RootGraphic
return RenderElement

OnContentLayout() protected method

protected OnContentLayout ( ) : void
return void

OnGuestTalk() protected method

protected OnGuestTalk ( UIGuestTalkEventArgs e ) : void
e LayoutFarm.UI.UIGuestTalkEventArgs
return void

OnLostMouseSelectedFocus() protected method

protected OnLostMouseSelectedFocus ( UIMouseEventArgs e ) : void
e LayoutFarm.UI.UIMouseEventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( UIMouseEventArgs e ) : void
e LayoutFarm.UI.UIMouseEventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( UIMouseEventArgs e ) : void
e LayoutFarm.UI.UIMouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( UIMouseEventArgs e ) : void
e LayoutFarm.UI.UIMouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( UIMouseEventArgs e ) : void
e LayoutFarm.UI.UIMouseEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( UIMouseEventArgs e ) : void
e LayoutFarm.UI.UIMouseEventArgs
return void

PerformContentLayout() public method

public PerformContentLayout ( ) : void
return void

RemoveChild() public method

public RemoveChild ( UIElement ui ) : void
ui UIElement
return void

RemoveSelf() public method

public RemoveSelf ( ) : void
return void

SetDesiredSize() protected method

protected SetDesiredSize ( int w, int h ) : void
w int
h int
return void

SetPrimaryRenderElement() protected method

protected SetPrimaryRenderElement ( CustomRenderBox primElement ) : void
primElement CustomRenderBox
return void

SetViewport() public method

public SetViewport ( int x, int y ) : void
x int
y int
return void