Property | Type | Description | |
---|---|---|---|
IsDrawn | bool |
Property | Type | Description | |
---|---|---|---|
m_DoDrag | bool | ||
m_DragOffset | |||
m_DragTolerance | int | ||
m_IsDraggable | bool |
Method | Description | |
---|---|---|
CenterAround ( |
Centers this dialog around a UIElement (UIImage, UILabel or similar).
|
|
Draw ( |
||
IsMouseOver ( InputHelper Input ) : bool | ||
MouseEvents ( InputHelper Helper ) : void | ||
SetSize ( int Width, int Height ) : void |
Sets the size of this UIDialog instance.
|
|
UIDialog ( UIScreen Screen, |
Constructs a new UIDialog instance.
|
|
Update ( InputHelper Helper, |
Method | Description | |
---|---|---|
CloseButton_OnButtonClicked ( object Sender ) : void |
public CenterAround ( |
||
Element | The element to center around. | |
OffsetX | int | Offset on the X-axis when centering. |
OffsetY | int | Offset on the Y-axis when centering. |
return | void |
public Draw ( |
||
SBatch | ||
LayerDepth | float | |
return | void |
public IsMouseOver ( InputHelper Input ) : bool | ||
Input | InputHelper | |
return | bool |
public MouseEvents ( InputHelper Helper ) : void | ||
Helper | InputHelper | |
return | void |
public SetSize ( int Width, int Height ) : void | ||
Width | int | The width to set it to. |
Height | int | The height to set it to. |
return | void |
public UIDialog ( UIScreen Screen, |
||
Screen | UIScreen | A UIScreen instance. |
Pos | A Vector2 instance specifying the position of this dialog. | |
IsTall | bool | Will this dialog use a tall background template? |
IsDraggable | bool | Is this dialog draggable? |
HasExitButton | bool | Does this dialog have an exit button? |
return | Files |
public Update ( InputHelper Helper, |
||
Helper | InputHelper | |
GTime | ||
return | void |
protected Vector2,Microsoft.Xna.Framework m_DragOffset | ||
return |