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

Inheritance: OpenRA.Widgets.Widget
ファイルを表示 Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
IgnoreMouseInput bool
OnMouseDown Action
Preview Func
ShowSpawnPoints bool
SpawnOccupants SpawnOccupant>>.Func
TooltipContainer string
TooltipSpawnIndex int
TooltipTemplate string

Public Methods

Method Description
Clone ( ) : OpenRA.Widgets.Widget
ConvertToPreview ( CPos cell, MapGridType gridType ) : int2
Draw ( ) : void
HandleMouseInput ( MouseInput mi ) : bool
MapPreviewWidget ( ) : System
MouseEntered ( ) : void
MouseExited ( ) : void

Protected Methods

Method Description
MapPreviewWidget ( MapPreviewWidget other ) : System

Method Details

Clone() public method

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

ConvertToPreview() public method

public ConvertToPreview ( CPos cell, MapGridType gridType ) : int2
cell CPos
gridType MapGridType
return int2

Draw() public method

public Draw ( ) : void
return void

HandleMouseInput() public method

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

MapPreviewWidget() public method

public MapPreviewWidget ( ) : System
return System

MapPreviewWidget() protected method

protected MapPreviewWidget ( MapPreviewWidget other ) : System
other MapPreviewWidget
return System

MouseEntered() public method

public MouseEntered ( ) : void
return void

MouseExited() public method

public MouseExited ( ) : void
return void

Property Details

IgnoreMouseInput public_oe property

public bool IgnoreMouseInput
return bool

OnMouseDown public_oe property

public Action OnMouseDown
return Action

Preview public_oe property

public Func Preview
return Func

ShowSpawnPoints public_oe property

public bool ShowSpawnPoints
return bool

SpawnOccupants public_oe property

public Func> SpawnOccupants
return SpawnOccupant>>.Func

TooltipContainer public_oe property

public string TooltipContainer
return string

TooltipSpawnIndex public_oe property

public int TooltipSpawnIndex
return int

TooltipTemplate public_oe property

public string TooltipTemplate
return string