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

Inheritance: OpenRA.Widgets.Widget
Mostra file Open project: OpenRA/OpenRA

Public Properties

Property Type Description
ClockAnimation string
ClockPalette string
ClockSequence string
IconMargin int
IconSize int2
IconSpriteOffset int2
TooltipContainer string
TooltipTemplate string

Public Methods

Method Description
Draw ( ) : void
HandleKeyPress ( KeyInput e ) : bool
HandleMouseInput ( MouseInput mi ) : bool
MouseEntered ( ) : void
MouseExited ( ) : void
RefreshIcons ( ) : void
Tick ( ) : void

Protected Methods

Method Description
ClickIcon ( SupportPowerIcon clicked ) : void

Private Methods

Method Description
SupportPowersWidget ( World world, WorldRenderer worldRenderer ) : System

Method Details

ClickIcon() protected method

protected ClickIcon ( SupportPowerIcon clicked ) : void
clicked SupportPowerIcon
return void

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

MouseEntered() public method

public MouseEntered ( ) : void
return void

MouseExited() public method

public MouseExited ( ) : void
return void

RefreshIcons() public method

public RefreshIcons ( ) : void
return void

Tick() public method

public Tick ( ) : void
return void

Property Details

ClockAnimation public_oe property

public string ClockAnimation
return string

ClockPalette public_oe property

public string ClockPalette
return string

ClockSequence public_oe property

public string ClockSequence
return string

IconMargin public_oe property

public int IconMargin
return int

IconSize public_oe property

public int2 IconSize
return int2

IconSpriteOffset public_oe property

public int2 IconSpriteOffset
return int2

TooltipContainer public_oe property

public string TooltipContainer
return string

TooltipTemplate public_oe property

public string TooltipTemplate
return string