This class is useful when a list of paired value string+id is needed.
This is also the entry point to display a popup for selecting a value by user: midi, preset, bank, drum, generator, ...
More...
Public Attributes | |
int | Index |
Index associated to the label (not to mix up with Position in list): More... | |
string | Label |
Label associated to the index. More... | |
int | Position |
Position in a list (not to mix up with Index which is a value associated to the Label) More... | |
This class is useful when a list of paired value string+id is needed.
This is also the entry point to display a popup for selecting a value by user: midi, preset, bank, drum, generator, ...
int MidiPlayerTK.MPTKListItem.Index |
Index associated to the label (not to mix up with Position in list):
Patch
number if patch list, Bank
number if bank list, Midi
Index for selecting a Midi from the MidiDB. Generator
Id for selecting a generator to apply.string MidiPlayerTK.MPTKListItem.Label |
Label associated to the index.
Patch
Label if patch list (Piano, Violin, ...), Midi
File Name for selecting a Midi from the MidiDB. Generator
Name for selecting a generator to apply.int MidiPlayerTK.MPTKListItem.Position |
Position in a list (not to mix up with Index which is a value associated to the Label)