MCPcopy Create free account
hub / github.com/KLayout/klayout / LayoutViewBase

Method LayoutViewBase

src/laybasic/laybasic/layLayoutViewBase.cc:242–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240const double animation_interval = 0.5;
241
242LayoutViewBase::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
257LayoutViewBase::LayoutViewBase (lay::LayoutView *ui, db::Manager *manager, bool editable, lay::Plugin *plugin_parent, unsigned int options)
258 : lay::Dispatcher (plugin_parent, false /*not standalone*/),

Callers

nothing calls this directly

Calls 2

dispatcherFunction · 0.70
initFunction · 0.50

Tested by

no test coverage detected