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