[haiku-commits] r35037 - haiku/trunk/src/libs/icon

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 12 Jan 2010 23:11:17 +0100 (CET)

Author: stippi
Date: 2010-01-12 23:11:17 +0100 (Tue, 12 Jan 2010)
New Revision: 35037
Changeset: http://dev.haiku-os.org/changeset/35037/haiku

Modified:
   haiku/trunk/src/libs/icon/IconRenderer.cpp
Log:
Small cleanup.


Modified: haiku/trunk/src/libs/icon/IconRenderer.cpp
===================================================================
--- haiku/trunk/src/libs/icon/IconRenderer.cpp  2010-01-12 22:09:59 UTC (rev 
35036)
+++ haiku/trunk/src/libs/icon/IconRenderer.cpp  2010-01-12 22:11:17 UTC (rev 
35037)
@@ -123,7 +123,7 @@
        }
 
        Style* style = styleItem->style;
-       Gradient* gradient = style->Gradient();         
+       Gradient* gradient = style->Gradient();
        const agg::rgba8* colors = style->GammaCorrectedColors(fGammaTable);
 
        switch (gradient->Type()) {
@@ -175,8 +175,8 @@
 {
        typedef agg::pod_auto_array<agg::rgba8, 256>    ColorArray;
        typedef agg::span_interpolator_linear<>                 Interpolator;
-       typedef agg::span_gradient<agg::rgba8, 
-                                                          Interpolator, 
+       typedef agg::span_gradient<agg::rgba8,
+                                                          Interpolator,
                                                           GradientFunction,
                                                           ColorArray>          
        GradientGenerator;
 
@@ -232,8 +232,8 @@
                bitmap->Bounds().IntegerWidth() + 1,
                bitmap->Bounds().IntegerHeight() + 1, bitmap->BytesPerRow());
 
-       fBaseRendererPre.clip_box(0, 0, fBitmap->Bounds().IntegerWidth(),
-               fBitmap->Bounds().IntegerHeight());
+       fBaseRendererPre.clip_box(0, 0, bitmap->Bounds().IntegerWidth(),
+               bitmap->Bounds().IntegerHeight());
 }
 
 // destructor


Other related posts:

  • » [haiku-commits] r35037 - haiku/trunk/src/libs/icon - superstippi