]> git.sesse.net Git - vlc/blobdiff - modules/gui/beos/DrawingTidbits.h
Removes trailing spaces. Removes tabs.
[vlc] / modules / gui / beos / DrawingTidbits.h
index 145c31d632e23869297ad4272cc1c05a70b03d40..3a5a6140465bac5312b241f3f2ec63d0570834ab 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
  * DrawingTidbits.h
  *****************************************************************************
- * Copyright (C) 2001 VideoLAN
- * $Id: DrawingTidbits.h,v 1.2 2002/09/30 18:30:27 titer Exp $
+ * Copyright (C) 2001 the VideoLAN team
+ * $Id$
  *
  * Authors: Tony Castley <tcastley@mail.powerup.com.au>
  *          Stephan Aßmus <stippi@yellowbites.com>
@@ -11,7 +11,7 @@
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
@@ -19,7 +19,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 #ifndef __DRAWING_TIBITS__
@@ -35,13 +35,13 @@ bool operator!=(const rgb_color &, const rgb_color &);
 inline rgb_color
 Color(int32 r, int32 g, int32 b, int32 alpha = 255)
 {
-       rgb_color result;
-       result.red = r;
-       result.green = g;
-       result.blue = b;
-       result.alpha = alpha;
+    rgb_color result;
+    result.red = r;
+    result.green = g;
+    result.blue = b;
+    result.alpha = alpha;
 
-       return result;
+    return result;
 }
 
 const rgb_color kWhite = { 255, 255, 255, 255};
@@ -58,16 +58,16 @@ void ReplaceTransparentColor(BBitmap *bitmap, rgb_color with);
 // and fromHeight must be smaller or equal to the bitmaps size!
 // only supported colorspaces are B_RGB32 and B_RGBA32
 status_t scale_bitmap( BBitmap* bitmap,
-                                          uint32 fromWidth, uint32 fromHeight );
+                       uint32 fromWidth, uint32 fromHeight );
 
 // bitmaps need to be the same size, or this function will fail
 // currently supported conversions:
-//   B_YCbCr422        -> B_RGB32
-//   B_RGB32   -> B_RGB32
-//   B_RGB16   -> B_RGB32
+//   B_YCbCr422    -> B_RGB32
+//   B_RGB32    -> B_RGB32
+//   B_RGB16    -> B_RGB32
 // not yet implemented conversions:
-//   B_YCbCr420        -> B_RGB32
-//   B_YUV422  -> B_RGB32
+//   B_YCbCr420    -> B_RGB32
+//   B_YUV422    -> B_RGB32
 status_t convert_bitmap(BBitmap* inBitmap, BBitmap* outBitmap);
 
 // dims bitmap (in place) by finding the distance of
@@ -81,9 +81,9 @@ status_t convert_bitmap(BBitmap* inBitmap, BBitmap* outBitmap);
 //   B_RGBA32
 //   B_CMAP8
 status_t dim_bitmap(BBitmap* bitmap, rgb_color center,
-                                       float dimLevel);
+                    float dimLevel);
 
 rgb_color dimmed_color_cmap8(rgb_color color, rgb_color center,
-                                                        float dimLevel);
+                             float dimLevel);
 
-#endif // __DRAWING_TIBITS__
+#endif    // __DRAWING_TIBITS__