mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 13:08:49 -05:00
Add ability to append multiple Options to an OptionProperty
via addOptions(vector<int>, vector<string>)
This commit is contained in:
@@ -74,6 +74,13 @@ public:
|
||||
*/
|
||||
void addOption(int value, std::string desc);
|
||||
|
||||
/**
|
||||
* Appends options with vectors of values and descriptions
|
||||
* \param values A std::vector<int> of values for the options
|
||||
* \param descs A std::vector<string> of descriptions for each value
|
||||
*/
|
||||
void addOptions(std::vector<int> values, std::vector<std::string> descs);
|
||||
|
||||
/**
|
||||
* Returns the list of available options.
|
||||
* /return The list of available options
|
||||
|
||||
Reference in New Issue
Block a user