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

Inheritance: OpenRA.Widgets.Widget
Datei anzeigen Open project: OpenRA/OpenRA Class Usage Examples

Public Properties

Property Type Description
ClockAnimation string
ClockPalette string
ClockSequence string
Columns int
DisabledTabClick string
IconMargin int2
IconRowOffset int
IconSize int2
IconSpriteOffset int2
MaxIconRowOffset int
MaximumRows int
MinimumRows int
NotBuildableAnimation string
NotBuildablePalette string
NotBuildableSequence string
ReadyTextAltColor Color
ReadyTextStyle ReadyTextStyleOptions
TabClick string
TooltipContainer string
TooltipTemplate string
World World

Public Methods

Method Description
Draw ( ) : void
GetCursor ( int2 pos ) : string
HandleKeyPress ( KeyInput e ) : bool
HandleMouseInput ( MouseInput mi ) : bool
MouseEntered ( ) : void
MouseExited ( ) : void
PickUpCompletedBuilding ( ) : void
RefreshIcons ( ) : void
ScrollDown ( ) : void
ScrollToTop ( ) : void
ScrollUp ( ) : void
Tick ( ) : void

Protected Methods

Method Description
PickUpCompletedBuildingIcon ( ProductionIcon icon, ProductionItem item ) : bool

Private Methods

Method Description
HandleEvent ( ProductionIcon icon, MouseButton btn, Modifiers modifiers ) : bool
HandleLeftClick ( ProductionItem item, ProductionIcon icon, int handleCount ) : bool
HandleMiddleClick ( ProductionItem item, ProductionIcon icon, int handleCount ) : bool
HandleRightClick ( ProductionItem item, ProductionIcon icon, int handleCount ) : bool
ProductionPaletteWidget ( OrderManager orderManager, World world, WorldRenderer worldRenderer ) : System

Method Details

Draw() public method

public Draw ( ) : void
return void

GetCursor() public method

public GetCursor ( int2 pos ) : string
pos int2
return string

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

PickUpCompletedBuilding() public method

public PickUpCompletedBuilding ( ) : void
return void

PickUpCompletedBuildingIcon() protected method

protected PickUpCompletedBuildingIcon ( ProductionIcon icon, ProductionItem item ) : bool
icon ProductionIcon
item OpenRA.Mods.Common.Traits.ProductionItem
return bool

RefreshIcons() public method

public RefreshIcons ( ) : void
return void

ScrollDown() public method

public ScrollDown ( ) : void
return void

ScrollToTop() public method

public ScrollToTop ( ) : void
return void

ScrollUp() public method

public ScrollUp ( ) : 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

Columns public_oe property

public int Columns
return int

DisabledTabClick public_oe property

public string DisabledTabClick
return string

IconMargin public_oe property

public int2 IconMargin
return int2

IconRowOffset public_oe property

public int IconRowOffset
return int

IconSize public_oe property

public int2 IconSize
return int2

IconSpriteOffset public_oe property

public int2 IconSpriteOffset
return int2

MaxIconRowOffset public_oe property

public int MaxIconRowOffset
return int

MaximumRows public_oe property

public int MaximumRows
return int

MinimumRows public_oe property

public int MinimumRows
return int

NotBuildableAnimation public_oe property

public string NotBuildableAnimation
return string

NotBuildablePalette public_oe property

public string NotBuildablePalette
return string

NotBuildableSequence public_oe property

public string NotBuildableSequence
return string

ReadyTextAltColor public_oe property

public Color ReadyTextAltColor
return Color

ReadyTextStyle public_oe property

public ReadyTextStyleOptions ReadyTextStyle
return ReadyTextStyleOptions

TabClick public_oe property

public string TabClick
return string

TooltipContainer public_oe property

public string TooltipContainer
return string

TooltipTemplate public_oe property

public string TooltipTemplate
return string

World public_oe property

public World World
return World