C# Класс BlisterUI.Widgets.BaseWidget

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
align Point
anchor Point
layer float
offAlign Point
offLayer float
offset Point
widgetRect Microsoft.Xna.Framework.Rectangle

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
DisposeOther ( ) : void
OnParentRecompute ( BaseWidget w ) : void
Recompute ( ) : void

Описание методов

AddAllDrawables() публичный абстрактный Метод

public abstract AddAllDrawables ( WidgetRenderer r ) : void
r WidgetRenderer
Результат void

BaseWidget() публичный Метод

public BaseWidget ( WidgetRenderer r ) : System
r WidgetRenderer
Результат System

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

DisposeOther() защищенный абстрактный Метод

protected abstract DisposeOther ( ) : void
Результат void

GetOffset() публичный Метод

public GetOffset ( int x, int y ) : Point
x int
y int
Результат Point

Inside() публичный Метод

public Inside ( int x, int y ) : bool
x int
y int
Результат bool

Inside() публичный Метод

public Inside ( int x, int y, Vector2 &ratio ) : bool
x int
y int
ratio Vector2
Результат bool

OnParentRecompute() защищенный Метод

protected OnParentRecompute ( BaseWidget w ) : void
w BaseWidget
Результат void

PreInit() публичный абстрактный Метод

public abstract PreInit ( ) : void
Результат void

Recompute() защищенный Метод

protected Recompute ( ) : void
Результат void

RemoveAllDrawables() публичный абстрактный Метод

public abstract RemoveAllDrawables ( WidgetRenderer r ) : void
r WidgetRenderer
Результат void

Описание свойств

align защищенное свойство

protected Point align
Результат Point

anchor защищенное свойство

protected Point anchor
Результат Point

layer защищенное свойство

protected float layer
Результат float

offAlign защищенное свойство

protected Point offAlign
Результат Point

offLayer защищенное свойство

protected float offLayer
Результат float

offset защищенное свойство

protected Point offset
Результат Point

widgetRect защищенное свойство

protected Rectangle,Microsoft.Xna.Framework widgetRect
Результат Microsoft.Xna.Framework.Rectangle