(Graphics g, int ofs, boolean sel)
| 69 | } |
| 70 | |
| 71 | public void drawItem(Graphics g, int ofs, boolean sel) { |
| 72 | int w=g.getClipWidth(); |
| 73 | int h=g.getClipHeight(); |
| 74 | int xo=g.getClipX(); |
| 75 | int yo=g.getClipY(); |
| 76 | /* |
| 77 | if (!sel) { |
| 78 | int oldColor=g.getColor(); |
| 79 | g.setColor(ColorTheme.getInstance().getColor(ColorTheme.LIST_BGND_EVEN)); |
| 80 | g.fillRect(0, 0, w, h); |
| 81 | |
| 82 | g.setColor(oldColor); |
| 83 | } |
| 84 | */ |
| 85 | if (collapsed && unreadMessages>0) { |
| 86 | w -= il.getWidth(); |
| 87 | il.drawImage(g, RosterIcons.ICON_MESSAGE_INDEX, w, (getVHeight() - il.getWidth()) >> 1); |
| 88 | } |
| 89 | |
| 90 | super.drawItem(g, ofs, sel); |
| 91 | } |
| 92 | |
| 93 | protected String mainbar(String mainbarStart) { |
| 94 | StringBuffer mb=new StringBuffer(mainbarStart) |
nothing calls this directly
no test coverage detected