[haiku-commits] r39708 - haiku/trunk/src/add-ons/decorators/SATDecorator

  • From: clemens.zeidler@xxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 2 Dec 2010 22:05:46 +0100 (CET)

Author: czeidler
Date: 2010-12-02 22:05:46 +0100 (Thu, 02 Dec 2010)
New Revision: 39708
Changeset: http://dev.haiku-os.org/changeset/39708

Modified:
   haiku/trunk/src/add-ons/decorators/SATDecorator/SATDecorator.cpp
Log:
Just a very slight improvement of the S&T highlight colour. Change it from red 
to a more descent greenish. Think the border colour is acceptable but the 
highlighted tab still looks awful. Feel free to improve it! 
By the way, is there a pattern how to select the colours?



Modified: haiku/trunk/src/add-ons/decorators/SATDecorator/SATDecorator.cpp
===================================================================
--- haiku/trunk/src/add-ons/decorators/SATDecorator/SATDecorator.cpp    
2010-12-02 20:51:38 UTC (rev 39707)
+++ haiku/trunk/src/add-ons/decorators/SATDecorator/SATDecorator.cpp    
2010-12-02 21:05:46 UTC (rev 39708)
@@ -29,15 +29,15 @@
 static const float kResizeKnobSize = 18.0;
 
 static const rgb_color kHighlightFrameColors[6] = {
-       { 152, 0, 0, 255 },
-       { 240, 0, 0, 255 },
-       { 224, 0, 0, 255 },
-       { 208, 0, 0, 255 },
-       { 152, 0, 0, 255 },
-       { 108, 0, 0, 255 }
+       { 72, 152, 0, 255 },
+       { 160, 240, 0, 255 },
+       { 144, 224, 0, 255 },
+       { 128, 208, 0, 255 },
+       { 72, 152, 0, 255 },
+       { 38, 108, 0, 255 }
 };
 
-static const rgb_color kHighlightTabColor      = { 255, 0, 0, 255 };
+static const rgb_color kHighlightTabColor      = { 128, 208, 0, 255 };
 static const rgb_color kHighlightTabColorLight = tint_color(kHighlightTabColor,
        (B_LIGHTEN_MAX_TINT + B_LIGHTEN_2_TINT) / 2);
 static const rgb_color kHighlightTabColorBevel = tint_color(kHighlightTabColor,


Other related posts: