| 240 | const double animation_interval = 0.5; |
| 241 | |
| 242 | LayoutViewBase::LayoutViewBase (db::Manager *manager, bool editable, lay::Plugin *plugin_parent, unsigned int options) |
| 243 | : lay::Dispatcher (plugin_parent, false /*not standalone*/), |
| 244 | mp_ui (0), |
| 245 | dm_redraw (this, &LayoutViewBase::redraw), |
| 246 | dm_update_layer_sources (this, &LayoutViewBase::do_update_layer_sources), |
| 247 | m_editable (editable), |
| 248 | m_options (options), |
| 249 | m_annotation_shapes (manager) |
| 250 | { |
| 251 | // either it's us or the parent has a dispatcher |
| 252 | tl_assert (dispatcher () != 0); |
| 253 | |
| 254 | init (manager); |
| 255 | } |
| 256 | |
| 257 | LayoutViewBase::LayoutViewBase (lay::LayoutView *ui, db::Manager *manager, bool editable, lay::Plugin *plugin_parent, unsigned int options) |
| 258 | : lay::Dispatcher (plugin_parent, false /*not standalone*/), |
nothing calls this directly
no test coverage detected