* Added ConvertToCMAP8() bitmap variant.

* Put header guards in the system namespace.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27035 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-08-18 11:40:01 +00:00
parent d9b93b821a
commit 6e006912aa
2 changed files with 137 additions and 119 deletions
+6 -4
View File
@@ -1,17 +1,17 @@
/*
* Copyright 2006-2008, Haiku. All rights reserved.
* Distributed under the terms of the MIT License.
*
*/
#ifndef _ICON_UTILS_H
#define _ICON_UTILS_H
#ifndef ICON_UTILS_H
#define ICON_UTILS_H
#include <Mime.h>
class BBitmap;
class BNode;
// This class is a little different from many other classes.
// You don't create an instance of it; you just call its various
// static member functions for utility-like operations.
@@ -65,6 +65,8 @@ public:
// to make any sense).
static status_t ConvertFromCMAP8(BBitmap* source,
BBitmap* result);
static status_t ConvertToCMAP8(BBitmap* source,
BBitmap* result);
static status_t ConvertFromCMAP8(const uint8* data,
uint32 width, uint32 height,
@@ -75,4 +77,4 @@ public:
uint32 bytesPerRow, BBitmap* result);
};
#endif // ICON_UTILS_H
#endif // _ICON_UTILS_H