From a9cef6f8aaeb524f25c35e3f455879403bdb8d61 Mon Sep 17 00:00:00 2001 From: Kirill Kalishev Date: Fri, 30 Oct 2009 15:37:03 +0300 Subject: [PATCH] tool window combo - icon & line --- platform/icons/src/general/combo.png | Bin 189 -> 286 bytes .../wm/impl/content/ContentComboLabel.java | 9 ++++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/platform/icons/src/general/combo.png b/platform/icons/src/general/combo.png index 26de9ab365291bdb045c31f588cb7cb3746329f4..68af914f97976ff68b7e83fff5db98a5089065d2 100644 GIT binary patch delta 258 zcmV+d0sa2H0iFVoB!3xnMObuGZ)S9NVRB^vL1b@YWgtmyVP|DhWnpA_ami&o0002M zNklrxK9j@_gW|*!h!Ip5j=e&Rj^M}l1=^Q?J2^n2` z8(null, manager.getContents()) { @Override @@ -150,6 +151,12 @@ public class ContentComboLabel extends BaseLabel { super.paintChildren(g); if (isToDrawCombo()) { myComboIcon.paintIcon(this, g); + g.setColor(new Color(255, 255, 255, 100)); + int x = myComboIcon.getIconRec().x - 3; + int yTop = myComboIcon.getIconRec().y; + int yBottom = yTop + myComboIcon.getIconHeight(); + g.drawLine(x, yTop + 1, x, yBottom - 3); + } }