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

Method MouseTracker

src/laybasic/laybasic/layMouseTracker.cc:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31{
32
33MouseTracker::MouseTracker (lay::LayoutViewBase *view)
34 : lay::ViewService (view->canvas ()), lay::Plugin (view), mp_view (view),
35 m_cursor_color (tl::Color ()), m_cursor_line_style (0), m_cursor_enabled (false)
36{
37 ui ()->grab_mouse (this, false);
38}
39
40bool
41MouseTracker::leave_event (bool)

Callers

nothing calls this directly

Calls 2

uiFunction · 0.70
grab_mouseMethod · 0.45

Tested by

no test coverage detected