(final Graphics g, boolean up)
| 623 | } |
| 624 | |
| 625 | protected void drawTraffic(final Graphics g, boolean up) { |
| 626 | int pos=(up)?(width/2)+3:(width/2)-3; |
| 627 | int pos2=(up)?height-4:height-2; |
| 628 | |
| 629 | //g.setColor((up)?0xff0000:0x00ff00); |
| 630 | g.setColor(getMainBarRGB()); |
| 631 | g.drawLine(pos, height-5, pos, height-1); |
| 632 | g.drawLine(pos-1, pos2, pos+1, pos2); |
| 633 | g.fillRect(pos-2, height-3, 1, 1); |
| 634 | g.fillRect(pos+2, height-3, 1, 1); |
| 635 | } |
| 636 | |
| 637 | protected void drawPopUp(final Graphics g) { |
| 638 | PopUp.getInstance().paintCustom(g); |
no test coverage detected