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

Inheritance: ButtonWidget
Show file Open project: pchote/OpenRA

Public Properties

Property Type Description
BaseName string
IsSelected Func
ItemKey string

Public Methods

Method Description
Clone ( ) : OpenRA.Widgets.Widget
Draw ( ) : void
Setup ( ScrollItemWidget template, Func isSelected, System.Action onClick ) : ScrollItemWidget
Setup ( ScrollItemWidget template, Func isSelected, System.Action onClick, System.Action onDoubleClick ) : ScrollItemWidget
Setup ( string key, ScrollItemWidget template, Func isSelected, System.Action onClick, System.Action onDoubleClick ) : ScrollItemWidget

Protected Methods

Method Description
ScrollItemWidget ( ScrollItemWidget other ) : System

Private Methods

Method Description
ScrollItemWidget ( ModData modData ) : System

Method Details

Clone() public method

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

Draw() public method

public Draw ( ) : void
return void

ScrollItemWidget() protected method

protected ScrollItemWidget ( ScrollItemWidget other ) : System
other ScrollItemWidget
return System

Setup() public static method

public static Setup ( ScrollItemWidget template, Func isSelected, System.Action onClick ) : ScrollItemWidget
template ScrollItemWidget
isSelected Func
onClick System.Action
return ScrollItemWidget

Setup() public static method

public static Setup ( ScrollItemWidget template, Func isSelected, System.Action onClick, System.Action onDoubleClick ) : ScrollItemWidget
template ScrollItemWidget
isSelected Func
onClick System.Action
onDoubleClick System.Action
return ScrollItemWidget

Setup() public static method

public static Setup ( string key, ScrollItemWidget template, Func isSelected, System.Action onClick, System.Action onDoubleClick ) : ScrollItemWidget
key string
template ScrollItemWidget
isSelected Func
onClick System.Action
onDoubleClick System.Action
return ScrollItemWidget

Property Details

BaseName public property

public string BaseName
return string

IsSelected public property

public Func IsSelected
return Func

ItemKey public property

public string ItemKey
return string