Mercurial > public > ostc4
comparison Discovery/Src/tMenu.c @ 1018:808153ba3fec GasConsumption
Disable the menu items for editing scrubber timer parameters if an
inactive scrubber timer is selected.
This removes the confusion when users edit a scrubber that is not
active, and are then surprised when the scrubber timer does not work
during the dive. (mikeller)
| author | heinrichsweikamp |
|---|---|
| date | Mon, 09 Jun 2025 09:42:16 +0200 |
| parents | 21142f4fa968 |
| children | 3d9552e4997c |
comparison
equal
deleted
inserted
replaced
| 1017:5924a2d1d3ba | 1018:808153ba3fec |
|---|---|
| 1514 | 1514 |
| 1515 char *makeGrey(bool isGrey) | 1515 char *makeGrey(bool isGrey) |
| 1516 { | 1516 { |
| 1517 return isGrey ? "\031" : ""; | 1517 return isGrey ? "\031" : ""; |
| 1518 } | 1518 } |
| 1519 | |
| 1520 | |
| 1521 char printCheckbox(bool isChecked) | |
| 1522 { | |
| 1523 return isChecked ? '\005' : '\006'; | |
| 1524 } |
