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

Inheritance: OpenRA.Widgets.Widget
Show file 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 property

public string Font
return string

IsDisabled public property

public Func IsDisabled
return Func

Key public property

public Hotkey Key
return Hotkey

LeftMargin public property

public int LeftMargin
return int

OnLoseFocus public property

public Action,System OnLoseFocus
return System.Action

RightMargin public property

public int RightMargin
return int

TextColor public property

public Color TextColor
return Color

TextColorDisabled public property

public Color TextColorDisabled
return Color

VisualHeight public property

public int VisualHeight
return int

blinkCycle protected property

protected int blinkCycle
return int

showEntry protected property

protected bool showEntry
return bool