21#ifndef SYM_DIFF_CANVAS_CONTEXT_H
22#define SYM_DIFF_CANVAS_CONTEXT_H
37 std::shared_ptr<const void> aOwner =
nullptr );
std::map< wxString, const LIB_SYMBOL * > SYMBOL_MAP
Library content is a map of (canonical_name -> LIB_SYMBOL*).
Define a library symbol object.
void ConfigureSymDiffCanvasContext(WIDGET_DIFF_CANVAS &aCanvas, LIB_SYMBOL *aBefore, LIB_SYMBOL *aAfter, std::shared_ptr< const void > aOwner)
Draw aBefore and aAfter, which aOwner keeps alive for as long as the canvas shows them.
void 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.