C# Class BlisterUI.Widgets.BaseWidget

Inheritance: IDisposable
Show file Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Protected Properties

Property Type Description
align Point
anchor Point
layer float
offAlign Point
offLayer float
offset Point
widgetRect Microsoft.Xna.Framework.Rectangle

Public Methods

Method Description
AddAllDrawables ( WidgetRenderer r ) : void
BaseWidget ( WidgetRenderer r ) : System
Dispose ( ) : void
GetOffset ( int x, int y ) : Point
Inside ( int x, int y ) : bool
Inside ( int x, int y, Vector2 &ratio ) : bool
PreInit ( ) : void
RemoveAllDrawables ( WidgetRenderer r ) : void

Protected Methods

Method Description
DisposeOther ( ) : void
OnParentRecompute ( BaseWidget w ) : void
Recompute ( ) : void

Method Details

AddAllDrawables() public abstract method

public abstract AddAllDrawables ( WidgetRenderer r ) : void
r WidgetRenderer
return void

BaseWidget() public method

public BaseWidget ( WidgetRenderer r ) : System
r WidgetRenderer
return System

Dispose() public method

public Dispose ( ) : void
return void

DisposeOther() protected abstract method

protected abstract DisposeOther ( ) : void
return void

GetOffset() public method

public GetOffset ( int x, int y ) : Point
x int
y int
return Point

Inside() public method

public Inside ( int x, int y ) : bool
x int
y int
return bool

Inside() public method

public Inside ( int x, int y, Vector2 &ratio ) : bool
x int
y int
ratio Vector2
return bool

OnParentRecompute() protected method

protected OnParentRecompute ( BaseWidget w ) : void
w BaseWidget
return void

PreInit() public abstract method

public abstract PreInit ( ) : void
return void

Recompute() protected method

protected Recompute ( ) : void
return void

RemoveAllDrawables() public abstract method

public abstract RemoveAllDrawables ( WidgetRenderer r ) : void
r WidgetRenderer
return void

Property Details

align protected property

protected Point align
return Point

anchor protected property

protected Point anchor
return Point

layer protected property

protected float layer
return float

offAlign protected property

protected Point offAlign
return Point

offLayer protected property

protected float offLayer
return float

offset protected property

protected Point offset
return Point

widgetRect protected property

protected Rectangle,Microsoft.Xna.Framework widgetRect
return Microsoft.Xna.Framework.Rectangle