#include <canobj.h>


In some situations, e.g. when drawing wires or when draging objects in hierarchies, it is helpfull if other objects provide visual feedback, that they e.g. would accept the currently edited objects. If e.g. a wire is drawn, all pins that can accept the wire can turn green and all other pins can turn red. This function is usually called for the show object of a a2dCanvasView and goes down recursively. The id paramater identifies the editing situation. This is a a2dIdBase derived ID object, that is usually stored as a static member in a class. Objects that don't know a specific ID simply ignore it. Generally this function is called at least twice, once when the visual feedback should start, and once when it should end.
Pins are tested for possible connection to pins on other objects. If some pin can connect the EditFeedback() with the feedback id a2dPin::sm_feedbackCanConnect is called on it.
Definition at line 2187 of file canobj.h.