diff options
author | willemferguson <willemferguson@zoology.up.ac.za> | 2019-11-28 21:04:52 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-03 20:37:57 -0800 |
commit | 6d7f26f4bf794c0faa79370dd788d90391542d30 (patch) | |
tree | 3963059d648eeb8acf8a31a0eab0807e59308de9 /commands/command.cpp | |
parent | 4e86dd3a5221ca37545cba9950a712f938367113 (diff) | |
download | subsurface-6d7f26f4bf794c0faa79370dd788d90391542d30.tar.gz |
Desktop: add additional star widgets to Information tab
Connect the UI to the underlying dive structure. Enable proper initialisation
and management of star widgets while Information tab is active. Enable undo for
the addtional star widgets.
Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'commands/command.cpp')
-rw-r--r-- | commands/command.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/commands/command.cpp b/commands/command.cpp index 4257324ec..d04128b8a 100644 --- a/commands/command.cpp +++ b/commands/command.cpp @@ -183,6 +183,26 @@ int editVisibility(int newValue, bool currentDiveOnly) return execute_edit(new EditVisibility(newValue, currentDiveOnly)); } +int editWaveSize(int newValue, bool currentDiveOnly) +{ + return execute_edit(new EditWaveSize(newValue, currentDiveOnly)); +} + +int editCurrent(int newValue, bool currentDiveOnly) +{ + return execute_edit(new EditCurrent(newValue, currentDiveOnly)); +} + +int editSurge(int newValue, bool currentDiveOnly) +{ + return execute_edit(new EditSurge(newValue, currentDiveOnly)); +} + +int editChill(int newValue, bool currentDiveOnly) +{ + return execute_edit(new EditChill(newValue, currentDiveOnly)); +} + int editAirTemp(int newValue, bool currentDiveOnly) { return execute_edit(new EditAirTemp(newValue, currentDiveOnly)); |