Свойство | Тип | Описание | |
---|---|---|---|
Background | string | ||
BaseLine | int | ||
Contrast | bool | ||
ContrastColorDark | Color | ||
ContrastColorLight | Color | ||
Depressed | bool | ||
Disabled | bool | ||
Font | string | ||
GetColor | Func |
||
GetColorDisabled | Func |
||
GetContrastColorDark | Func |
||
GetContrastColorLight | Func |
||
GetKey | Hotkey>.Func | ||
GetText | Func |
||
GetTooltipText | Func |
||
Highlighted | bool | ||
IsDisabled | Func |
||
IsHighlighted | Func |
||
OnClick | System.Action | ||
OnDoubleClick | System.Action | ||
OnKeyPress | Action |
||
OnMouseDown | Action |
||
OnMouseUp | Action |
||
Shadow | bool | ||
TextColor | Color | ||
TextColorDisabled | Color | ||
TooltipContainer | string | ||
TooltipTemplate | string | ||
VisualHeight | int |
Свойство | Тип | Описание | |
---|---|---|---|
ModRules | Ruleset |
Метод | Описание | |
---|---|---|
Clone ( ) : OpenRA.Widgets.Widget | ||
Draw ( ) : void | ||
DrawBackground ( |
||
DrawBackground ( string baseName, |
||
HandleKeyPress ( KeyInput e ) : bool | ||
HandleMouseInput ( MouseInput mi ) : bool | ||
MouseEntered ( ) : void | ||
MouseExited ( ) : void | ||
YieldMouseFocus ( MouseInput mi ) : bool |
Метод | Описание | |
---|---|---|
ButtonWidget ( ButtonWidget other ) : System |
Метод | Описание | |
---|---|---|
ButtonWidget ( ModData modData ) : System |
protected ButtonWidget ( ButtonWidget other ) : System | ||
other | ButtonWidget | |
Результат | System |
public DrawBackground ( |
||
rect | ||
disabled | bool | |
pressed | bool | |
hover | bool | |
highlighted | bool | |
Результат | void |
public static DrawBackground ( string baseName, |
||
baseName | string | |
rect | ||
disabled | bool | |
pressed | bool | |
hover | bool | |
highlighted | bool | |
Результат | void |
public HandleKeyPress ( KeyInput e ) : bool | ||
e | KeyInput | |
Результат | bool |
public HandleMouseInput ( MouseInput mi ) : bool | ||
mi | MouseInput | |
Результат | bool |
public YieldMouseFocus ( MouseInput mi ) : bool | ||
mi | MouseInput | |
Результат | bool |