| 65 | } |
| 66 | |
| 67 | void |
| 68 | CellView::set_unspecific_path (const unspecific_cell_path_type &p) |
| 69 | { |
| 70 | tl_assert (m_layout_href.get () != 0); |
| 71 | |
| 72 | mp_cell = 0; |
| 73 | m_cell_index = 0; |
| 74 | m_unspecific_path = p; |
| 75 | m_specific_path.clear (); |
| 76 | |
| 77 | if (p.size () > 0 && m_layout_href.get () && p.back () < m_layout_href->layout ().cells ()) { |
| 78 | m_cell_index = p.back (); |
| 79 | mp_cell = &m_layout_href->layout ().cell (p.back ()); |
| 80 | } |
| 81 | |
| 82 | mp_ctx_cell = mp_cell; |
| 83 | m_ctx_cell_index = m_cell_index; |
| 84 | } |
| 85 | |
| 86 | void |
| 87 | CellView::set_specific_path (const specific_cell_path_type &p) |
no test coverage detected