returns current option
| 859 | |
| 860 | // returns current option |
| 861 | int16_t newuiMenu::GetCurrentOption() const { |
| 862 | if (m_cursheetidx != -1) { |
| 863 | return m_sheetbtn[m_cursheetidx].GetID(); |
| 864 | } |
| 865 | |
| 866 | return -1; |
| 867 | } |
| 868 | |
| 869 | newuiSheet *newuiMenu::GetCurrentSheet() const { return m_cursheet; } |
| 870 |
no test coverage detected