Bitmap_Alpha.h
Go to the documentation of this file.00001 00013 #ifndef __Bitmap_Alpha_H__ 00014 #define __Bitmap_Alpha_H__ 00015 00016 // Includes 00017 #include "Bitmap.h" 00018 00019 // Forward declares 00020 class Image; 00021 00022 // Bitmap 00023 class Bitmap_Alpha:public Bitmap 00024 { 00025 public: 00026 00027 Bitmap_Alpha(); 00028 00029 Bitmap_Alpha( 00030 const Asset& asset 00031 ); 00032 00033 Bitmap_Alpha( 00034 int width, 00035 int height 00036 ); 00037 00038 Bitmap_Alpha( 00039 const Image& image, 00040 bool useGrayscaleInsteadOfAlpha = false 00041 ); 00042 00043 ~Bitmap_Alpha(); 00044 00045 virtual StringId GetType(); 00046 00047 virtual void Save(Asset& asset) const; 00048 virtual void Load(const Asset& asset); 00049 00050 virtual void WriteToAsset(Asset* asset) const; 00051 virtual void ReadFromAsset(const Asset* asset); 00052 00053 }; 00054 00055 00056 00057 00058 #endif /* __Bitmap_Alpha_H__ */ 00059
Reproduction/republishing of any material on this site without permission is strictly prohibited.
