mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:50:05 +00:00
Add callbacks to settings variables, use to update radar dialog location in settings dialog
This commit is contained in:
parent
87f611e026
commit
f7cc902eef
5 changed files with 136 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue