| 1471 | } |
| 1472 | |
| 1473 | int View::get_cursor_index_by_key(uint64_t key) |
| 1474 | { |
| 1475 | auto &lst = get_cursorList(); |
| 1476 | |
| 1477 | int dex = 0; |
| 1478 | for (auto c : lst){ |
| 1479 | if (c->get_key() == key){ |
| 1480 | return dex; |
| 1481 | } |
| 1482 | ++dex; |
| 1483 | } |
| 1484 | return -1; |
| 1485 | } |
| 1486 | |
| 1487 | void View::check_calibration() |
| 1488 | { |
no test coverage detected