KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sym_diff_canvas_context.cpp File Reference
#include <diff_merge/sym_diff_canvas_context.h>
#include <diff_merge/sch_diff_canvas_context.h>
#include <diff_merge/sym_item_diff.h>
#include <diff_merge/diff_scene.h>
#include <gal/painter.h>
#include <kiid.h>
#include <lib_symbol.h>
#include <sch_item.h>
#include <sch_view.h>
#include <widgets/widget_diff_canvas.h>
#include <map>

Go to the source code of this file.

Namespaces

namespace  KICAD_DIFF
 

Functions

void KICAD_DIFF::ConfigureSymDiffCanvasContext (WIDGET_DIFF_CANVAS &aCanvas, LIB_SYMBOL *aBefore, LIB_SYMBOL *aAfter, std::shared_ptr< const void > aOwner=nullptr)
 Draw aBefore and aAfter, which aOwner keeps alive for as long as the canvas shows them.
 
void KICAD_DIFF::ShowSymbolPair (WIDGET_DIFF_CANVAS &aCanvas, const SYM_LIB_DIFFER::SYMBOL_MAP &aBefore, const SYM_LIB_DIFFER::SYMBOL_MAP &aAfter, const wxString &aName)
 Draw the symbol aName as it is in aBefore and aAfter.