}\r
private void drawComponent(GeneralGC gc, BasicGUIComponent component)\r
{\r
- TranslatedGC tgc = new TranslatedGC(gc, componentPositions.get(component));\r
- component.render(tgc);\r
- tgc.setBackground(display.getSystemColor(SWT.COLOR_BLUE));\r
- for(int i = 0; i < component.getConnectedWireArraysCount(); i ++)\r
- {\r
- Point connectionPoint = component.getWireArrayConnectionPoint(i);\r
- if(connectionPoint != null)\r
- tgc.fillOval(connectionPoint.x - 1, connectionPoint.y - 1, 2, 2);\r
- }\r
+ component.render(new TranslatedGC(gc, componentPositions.get(component)));\r
}\r
private void mouseDown(Event e)\r
{\r