C# Class OurSonic.UIManager.HScrollBox

Inheritance: Element
Mostrar archivo Open project: OurSonic/OurSonicSharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddControl ( Element control ) : Element
Construct ( ) : void
Draw ( CanvasRenderingContext2D canv ) : void
HScrollBox ( int x, int y, int itemHeight, int visibleItems, int itemWidth ) : System
OnClick ( Pointer e ) : bool
OnMouseOver ( Pointer e ) : bool
OnMouseUp ( Pointer e ) : bool
OnScroll ( Pointer e ) : bool

Method Details

AddControl() public method

public AddControl ( Element control ) : Element
control Element
return Element

Construct() public method

public Construct ( ) : void
return void

Draw() public method

public Draw ( CanvasRenderingContext2D canv ) : void
canv System.Html.Media.Graphics.CanvasRenderingContext2D
return void

HScrollBox() public method

public HScrollBox ( int x, int y, int itemHeight, int visibleItems, int itemWidth ) : System
x int
y int
itemHeight int
visibleItems int
itemWidth int
return System

OnClick() public method

public OnClick ( Pointer e ) : bool
e Pointer
return bool

OnMouseOver() public method

public OnMouseOver ( Pointer e ) : bool
e Pointer
return bool

OnMouseUp() public method

public OnMouseUp ( Pointer e ) : bool
e Pointer
return bool

OnScroll() public method

public OnScroll ( Pointer e ) : bool
e Pointer
return bool