Add callbacks to settings variables, use to update radar dialog location in settings dialog

This commit is contained in:
Dan Paulat 2022-12-22 00:56:52 -06:00
parent 87f611e026
commit f7cc902eef
5 changed files with 136 additions and 2 deletions

View file

@ -32,12 +32,19 @@ public:
/**
* Sets the settings variable associated with the interface. This must be
* set prior to setting any widgets.
* set prior to calling any other functions.
*
* @param variable Settings variable
*/
void SetSettingsVariable(SettingsVariable<T>& variable);
/**
* Gets the settings variable associated with the interface.
*
* @return Settings variable
*/
SettingsVariable<T>* GetSettingsVariable() const;
/**
* Sets the current value of the associated settings variable to the staged
* value.