mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 04:58:59 -05:00
Add ability to OptionProperty to return the currently selected Option
This commit is contained in:
@@ -117,6 +117,12 @@ public:
|
||||
*/
|
||||
void setValue(int value) override;
|
||||
|
||||
/**
|
||||
* Returns the currently selected option.
|
||||
* \return The currently selected option
|
||||
*/
|
||||
const Option& option() const;
|
||||
|
||||
/**
|
||||
* Get the description of the option that matches <code>value</code>
|
||||
* \param value The value of the option
|
||||
|
||||
Reference in New Issue
Block a user