summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui
diff options
context:
space:
mode:
authortkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-10-31 16:36:22 +0000
committertkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-10-31 16:36:22 +0000
commitf3fab24980879df4f0c784936a8aeab19c4a1b83 (patch)
tree6ecc555affbcbe9c825a4629fa315c9f25b2b91f /trunk/pdf-over-gui
parent2c512895c9b4e1a8aa6b015359e1c6dff8472028 (diff)
downloadpdf-over-f3fab24980879df4f0c784936a8aeab19c4a1b83.tar.gz
pdf-over-f3fab24980879df4f0c784936a8aeab19c4a1b83.tar.bz2
pdf-over-f3fab24980879df4f0c784936a8aeab19c4a1b83.zip
Set foreground color to black
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12664 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-gui')
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java3
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;