| 5004 | } |
| 5005 | |
| 5006 | void |
| 5007 | LayoutViewBase::select_cellviews_fit (const std::list <CellView> &cvs) |
| 5008 | { |
| 5009 | if (m_cellviews != cvs) { |
| 5010 | |
| 5011 | for (int index = 0; index < int (m_cellviews.size ()); ++index) { |
| 5012 | cellview_about_to_change_event (index); |
| 5013 | } |
| 5014 | |
| 5015 | cellviews_about_to_change_event (); |
| 5016 | |
| 5017 | set_min_hier_levels (0); |
| 5018 | cancel_esc (); |
| 5019 | m_cellviews = cvs; |
| 5020 | zoom_fit (); |
| 5021 | finish_cellviews_changed (); |
| 5022 | |
| 5023 | for (int index = 0; index < int (m_cellviews.size ()); ++index) { |
| 5024 | cellview_changed (index); |
| 5025 | } |
| 5026 | |
| 5027 | update_content (); |
| 5028 | |
| 5029 | } else { |
| 5030 | zoom_fit (); |
| 5031 | } |
| 5032 | } |
| 5033 | |
| 5034 | void |
| 5035 | LayoutViewBase::cellview_changed (unsigned int index) |
nothing calls this directly
no test coverage detected