00001 #ifndef KDE__BITMAP_H
00002 #define KDE__BITMAP_H
00003
00004 #include <faith/pixmap.h>
00005
00006 namespace Faith
00007 {
00008
00015 class FAITH_CORE_EXPORT Bitmap : public Pixmap
00016 {
00017 struct KDEBitmapPrivate;
00018 KDEBitmapPrivate *d;
00019
00020 public:
00021 Bitmap();
00022 Bitmap(const Bitmap &pixmap);
00023 Bitmap(int w, int h);
00024 Bitmap(const Size &size);
00025 Bitmap(int w, int h, const unsigned char *bits, bool littleEndian=false);
00026
00027 virtual ~Bitmap();
00028
00029 protected:
00030 virtual void init(const Size &size, int depth);
00031 };
00032
00033 }
00034
00035 #endif