diff options
author | Yana Stamcheva <yana@jitsi.org> | 2008-09-15 10:44:44 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2008-09-15 10:44:44 +0000 |
commit | 55d4b459e65d77c2bc1e84749022cb1f43835e7c (patch) | |
tree | 67804e8ec26a42c793f151322a499ba1630935e2 /src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java | |
parent | 30593e037f1fcb92df6671b9feb12a2568bd659c (diff) | |
download | jitsi-55d4b459e65d77c2bc1e84749022cb1f43835e7c.zip jitsi-55d4b459e65d77c2bc1e84749022cb1f43835e7c.tar.gz jitsi-55d4b459e65d77c2bc1e84749022cb1f43835e7c.tar.bz2 |
Configurable transparency of the contact list rows.
Diffstat (limited to 'src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java b/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java index bdcea9e..bde71d3 100644 --- a/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java +++ b/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java @@ -43,6 +43,10 @@ public class ContactListCellRenderer .getImage(ImageLoader.MORE_INFO_ICON), ImageLoader .getImage(ImageLoader.MORE_INFO_ICON)); + private int rowTransparency + = GuiActivator.getResources() + .getSettingsInt("contactListRowTransparency"); + private boolean isSelected = false; private int index = 0; @@ -260,7 +264,7 @@ public class ContactListCellRenderer g2.setColor(new Color( bgColor.getRed(), bgColor.getGreen(), bgColor.getBlue(), - 200)); + rowTransparency)); g2.fillRect(0, 0, this.getWidth(), this.getHeight()); } |