Property | Type | Description | |
---|---|---|---|
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 |
Property | Type | Description | |
---|---|---|---|
ModRules | Ruleset |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
ButtonWidget ( ButtonWidget other ) : System |
Method | Description | |
---|---|---|
ButtonWidget ( ModData modData ) : System |
protected ButtonWidget ( ButtonWidget other ) : System | ||
other | ButtonWidget | |
return | System |
public DrawBackground ( |
||
rect | ||
disabled | bool | |
pressed | bool | |
hover | bool | |
highlighted | bool | |
return | void |
public static DrawBackground ( string baseName, |
||
baseName | string | |
rect | ||
disabled | bool | |
pressed | bool | |
hover | bool | |
highlighted | bool | |
return | void |
public HandleMouseInput ( MouseInput mi ) : bool | ||
mi | MouseInput | |
return | bool |
public YieldMouseFocus ( MouseInput mi ) : bool | ||
mi | MouseInput | |
return | bool |