| 87 | } |
| 88 | |
| 89 | void GmenuLeftRight(bool isRight) |
| 90 | { |
| 91 | if (!sgpCurrItem->isSlider()) |
| 92 | return; |
| 93 | |
| 94 | uint16_t step = sgpCurrItem->sliderStep(); |
| 95 | if (isRight) { |
| 96 | if (step == sgpCurrItem->sliderSteps()) |
| 97 | return; |
| 98 | step++; |
| 99 | } else { |
| 100 | if (step == 0) |
| 101 | return; |
| 102 | step--; |
| 103 | } |
| 104 | sgpCurrItem->setSliderStep(step); |
| 105 | sgpCurrItem->fnMenu(false); |
| 106 | } |
| 107 | |
| 108 | int GmenuGetLineWidth(TMenuItem *pItem) |
| 109 | { |
no test coverage detected