C# Class OpenRA.Mods.Common.Widgets.HotkeyEntryWidget

Inheritance: OpenRA.Widgets.Widget
Mostrar archivo Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
Font string
IsDisabled Func
Key Hotkey
LeftMargin int
OnLoseFocus System.Action
RightMargin int
TextColor Color
TextColorDisabled Color
VisualHeight int

Protected Properties

Property Type Description
blinkCycle int
showEntry bool

Public Methods

Method Description
Clone ( ) : OpenRA.Widgets.Widget
Draw ( ) : void
HandleKeyPress ( KeyInput e ) : bool
HandleMouseInput ( MouseInput mi ) : bool
HotkeyEntryWidget ( ) : System
Tick ( ) : void
YieldKeyboardFocus ( ) : bool

Protected Methods

Method Description
HotkeyEntryWidget ( HotkeyEntryWidget widget ) : System

Method Details

Clone() public method

public Clone ( ) : OpenRA.Widgets.Widget
return OpenRA.Widgets.Widget

Draw() public method

public Draw ( ) : void
return void

HandleKeyPress() public method

public HandleKeyPress ( KeyInput e ) : bool
e KeyInput
return bool

HandleMouseInput() public method

public HandleMouseInput ( MouseInput mi ) : bool
mi MouseInput
return bool

HotkeyEntryWidget() public method

public HotkeyEntryWidget ( ) : System
return System

HotkeyEntryWidget() protected method

protected HotkeyEntryWidget ( HotkeyEntryWidget widget ) : System
widget HotkeyEntryWidget
return System

Tick() public method

public Tick ( ) : void
return void

YieldKeyboardFocus() public method

public YieldKeyboardFocus ( ) : bool
return bool

Property Details

Font public_oe property

public string Font
return string

IsDisabled public_oe property

public Func IsDisabled
return Func

Key public_oe property

public Hotkey Key
return Hotkey

LeftMargin public_oe property

public int LeftMargin
return int

OnLoseFocus public_oe property

public Action,System OnLoseFocus
return System.Action

RightMargin public_oe property

public int RightMargin
return int

TextColor public_oe property

public Color TextColor
return Color

TextColorDisabled public_oe property

public Color TextColorDisabled
return Color

VisualHeight public_oe property

public int VisualHeight
return int

blinkCycle protected_oe property

protected int blinkCycle
return int

showEntry protected_oe property

protected bool showEntry
return bool