import net.haspamelodica.swt.helper.gcs.GeneralGC;
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.ui.model.ViewModelModifiable;
import net.mograsim.logic.ui.model.wires.Pin;
{
private static final double width = 35;
private static final double pinDistance = 10;
- private static final double minHeight = 25;
private static final double fontHeight = 5;
private final String label;
}
@Override
- protected void renderSymbol(GeneralGC gc)
+ protected void renderSymbol(GeneralGC gc, Rectangle visibleRegion)
{
double posX = getBounds().x;
double posY = getBounds().y;
}
@Override
- protected void renderOutline(GeneralGC gc)
+ protected void renderOutline(GeneralGC gc, Rectangle visibleRegion)
{
gc.drawRectangle(getBounds());
}