import net.haspamelodica.swt.helper.swtobjectwrappers.Font;
import net.haspamelodica.swt.helper.swtobjectwrappers.Point;
import net.haspamelodica.swt.helper.swtobjectwrappers.Rectangle;
-import net.mograsim.logic.model.model.components.GUIComponent;
+import net.mograsim.logic.model.model.components.ModelComponent;
import net.mograsim.logic.model.model.wires.Pin;
import net.mograsim.logic.model.serializing.IdentifyParams;
import net.mograsim.logic.model.snippets.Renderer;
public class PinNamesSymbolRenderer implements Renderer
{
- private final GUIComponent component;
+ private final ModelComponent component;
private final Map<Pin, Position> pinPositions;
private final double pinLabelHeight;
private final double pinLabelMargin;
- public PinNamesSymbolRenderer(GUIComponent component, PinNamesParams params)
+ public PinNamesSymbolRenderer(ModelComponent component, PinNamesParams params)
{
this.component = component;
this.pinPositions = new HashMap<>();