summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:00:32 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:00:32 +0000
commit714123471b8bc8eaedecf720f5c0d6ff7e65adc9 (patch)
treeb2d9bf04bd689fbf6b026cd56cefcfe7fd5273b6 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls
parentb5ab39d42704ab66e8e17b557521b11c34d6aeae (diff)
downloadmocca-714123471b8bc8eaedecf720f5c0d6ff7e65adc9.tar.gz
mocca-714123471b8bc8eaedecf720f5c0d6ff7e65adc9.tar.bz2
mocca-714123471b8bc8eaedecf720f5c0d6ff7e65adc9.zip
Set foreground color to black
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@78 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java
index 5ee261f1..a3e95e23 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java
+++ b/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;