C# Class BlisterUI.Widgets.BaseWidget

Inheritance: IDisposable
Datei anzeigen 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_oe property

protected Point align
return Point

anchor protected_oe property

protected Point anchor
return Point

layer protected_oe property

protected float layer
return float

offAlign protected_oe property

protected Point offAlign
return Point

offLayer protected_oe property

protected float offLayer
return float

offset protected_oe property

protected Point offset
return Point

widgetRect protected_oe property

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