C# Class OpenBve.Menu.SingleMenu

显示文件 Open project: leezer3/OpenBVE Class Usage Examples

Public Properties

Property Type Description
Align Renderer.TextAlignment
Height int
ItemWidth int
Items MenuEntry[]
Selection int
TopItem int
Width int

Public Methods

Method Description
SingleMenu ( MenuType menuType, int data ) : OpenBveApi.Colors

Method Details

SingleMenu() public method

public SingleMenu ( MenuType menuType, int data ) : OpenBveApi.Colors
menuType MenuType
data int
return OpenBveApi.Colors

Property Details

Align public_oe property

public Renderer.TextAlignment Align
return Renderer.TextAlignment

Height public_oe property

public int Height
return int

ItemWidth public_oe property

public int ItemWidth
return int

Items public_oe property

public MenuEntry[] Items
return MenuEntry[]

Selection public_oe property

public int Selection
return int

TopItem public_oe property

public int TopItem
return int

Width public_oe property

public int Width
return int