| 390 | // shared with DrawItem so the click target lines up with what is drawn. |
| 391 | static constexpr float kCheckboxColumnWidth = 0.07f; |
| 392 | void ToggleChecked(int displayIdx) |
| 393 | { |
| 394 | int a = VisibleRow(displayIdx); |
| 395 | if (a >= 0 && a < _modRows.Size()) |
| 396 | _modRows[a].checked = !_modRows[a].checked; |
| 397 | } |
| 398 | // Toggle the tick ONLY when the click lands in the small checkbox column of a |
| 399 | // REAL row. u,v are the click position within the list (Control3D _u/_v, |
no outgoing calls
no test coverage detected