Permalink
Browse files

(minor) Tweaking the opacity.

  • Loading branch information...
1 parent 4f093de commit 5564b5b3196c04e95bf652979c2ffd9f0a007aa4 @ELLIOTTCABLE committed Jun 11, 2010
Showing with 7 additions and 4 deletions.
  1. +7 −4 YRSolcounter.m
View
11 YRSolcounter.m
@@ -67,21 +67,24 @@ -(void) handleTimer: (NSTimer*)_ {
int length = [solCount length];
NSRange nanosolRange = NSMakeRange(length - (1 * 4), 4);
NSRange microsolRange = NSMakeRange(length - (2 * 4), 4);
- NSRange millisolRange = NSMakeRange(length - (3 * 4), 4);
+//NSRange millisolRange = NSMakeRange(length - (3 * 4), 4);
NSRange radixRange = NSMakeRange(length - (3 * 4) - 1, 1);
NSRange solRange = NSMakeRange(length - (4 * 4) - 1, 4);
NSRange kilosolRange = NSMakeRange(0, 3);
[attributedSolCount addAttribute: NSFontAttributeName value: radixFont range: radixRange];
[attributedSolCount addAttribute: NSForegroundColorAttributeName
- value: [[NSColor blackColor] colorWithAlphaComponent:.3]
+ value: [[NSColor blackColor] colorWithAlphaComponent:.2]
range: nanosolRange];
[attributedSolCount addAttribute: NSForegroundColorAttributeName
- value: [[NSColor blackColor] colorWithAlphaComponent:.3]
+ value: [[NSColor blackColor] colorWithAlphaComponent:.2]
range: microsolRange];
[attributedSolCount addAttribute: NSForegroundColorAttributeName
- value: [[NSColor blackColor] colorWithAlphaComponent:.3]
+ value: [[NSColor blackColor] colorWithAlphaComponent:.2]
+ range: solRange];
+ [attributedSolCount addAttribute: NSForegroundColorAttributeName
+ value: [[NSColor blackColor] colorWithAlphaComponent:.2]
range: kilosolRange];
[textField setAttributedStringValue: attributedSolCount];

0 comments on commit 5564b5b

Please sign in to comment.