mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-06 15:15:53 +00:00
comments
This commit is contained in:
committed by
milkdropper
parent
ffdb4806a7
commit
15230781e1
@ -149,11 +149,14 @@ const std::string & PresetLoader::getPresetName ( PresetIndex index ) const
|
||||
return _presetNames[index];
|
||||
}
|
||||
|
||||
|
||||
// Get vector of preset names
|
||||
const std::vector<std::string> &PresetLoader::getPresetNames() const
|
||||
{
|
||||
return _presetNames;
|
||||
}
|
||||
|
||||
// Get the preset index given a name
|
||||
const unsigned int PresetLoader::getPresetIndex(std::string &name) const
|
||||
{
|
||||
//Need a better structure than a vector for reverse lookup
|
||||
|
||||
Reference in New Issue
Block a user