MCPcopy Create free account
hub / github.com/cemu-project/Cemu / OnParentMove

Method OnParentMove

src/gui/debugger/DebuggerWindow2.cpp:393–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393void DebuggerWindow2::OnParentMove(const wxPoint& main_position, const wxSize& main_size)
394{
395 m_main_position = main_position;
396 m_main_size = main_size;
397
398 if (!m_config.data().pin_to_main)
399 return;
400
401 wxSize size(m_main_size.x, GetSize().GetHeight());
402 SetSize(size);
403
404 wxPoint position = m_main_position;
405 position.y -= size.y;
406 SetPosition(position);
407
408 m_register_window->OnMainMove(main_position, main_size);
409 m_dump_window->OnMainMove(main_position, main_size);
410 m_breakpoint_window->OnMainMove(main_position, main_size);
411 m_module_window->OnMainMove(main_position, main_size);
412 m_symbol_window->OnMainMove(main_position, main_size);
413}
414
415void DebuggerWindow2::OnNotifyModuleLoaded(wxCommandEvent& event)
416{

Callers 2

OnSizeEventMethod · 0.80
OnMoveMethod · 0.80

Calls 2

dataMethod · 0.45
OnMainMoveMethod · 0.45

Tested by

no test coverage detected