diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2012-10-18 08:46:13 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2012-10-18 08:46:13 +0200 |
commit | 1b21c58a97db6be37186690a7e830dde1e6ad97e (patch) | |
tree | 6ecc555affbcbe9c825a4629fa315c9f25b2b91f /trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls | |
parent | 5fd76c5831e7e6f4c36119ec142fd1f0b3adcc4c (diff) | |
download | pdf-over-1b21c58a97db6be37186690a7e830dde1e6ad97e.tar.gz pdf-over-1b21c58a97db6be37186690a7e830dde1e6ad97e.tar.bz2 pdf-over-1b21c58a97db6be37186690a7e830dde1e6ad97e.zip |
Set foreground color to black
Diffstat (limited to 'trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls')
-rw-r--r-- | trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java index 5ee261f1..a3e95e23 100644 --- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java @@ -83,7 +83,8 @@ public abstract class MainBarButton extends Canvas { this.inactiveBackground = new Color(getDisplay(),0xD4, 0xE7, 0xF1); this.activeBackground1 = new Color(getDisplay(),0x6B, 0xA5, 0xD9); this.activeBackground = new Color(getDisplay(),0xB4, 0xCD, 0xEC); - this.textColor = this.getForeground(); + //this.textColor = this.getForeground(); + this.textColor = new Color(getDisplay(), 0x00, 0x00, 0x00); this.borderColor = new Color(getDisplay(), 0xf9, 0xf9, 0xf9); this.inactiveText = new Color(getDisplay(), 0x40, 0x40, 0x40); this.textsize = StateComposite.TEXT_SIZE_BUTTON; |