C# Class OpenBve.Menu.SingleMenu

Show file 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 property

public Renderer.TextAlignment Align
return Renderer.TextAlignment

Height public property

public int Height
return int

ItemWidth public property

public int ItemWidth
return int

Items public property

public MenuEntry[] Items
return MenuEntry[]

Selection public property

public int Selection
return int

TopItem public property

public int TopItem
return int

Width public property

public int Width
return int