#pragma once #ifndef BITMAPYONETICI_H #define BITMAPYONETICI_H #ifndef RESIMTIPLERI_H #include "ResimTipleri.h" #endif #ifndef BYTE_H #include #endif class CResim : public Resim { public: HBITMAP hBitmap; BitmapVeriBaslik* pVeriBasligi; Byte* BitmapVeri; RGBQUAD bmiColor[1]; BitmapDosyaBasligi* pResimDosyaBaslik; CResim(void); CResim(Byte& BitmapVeri); CResim(HBITMAP /* hBitmap*/); ~CResim(void); bool BitmapAl(Byte& BitmapVeri); bool BitmapAl(HBITMAP Bitmap); bool BitmapAl(HICON hSimge); virtual Byte* ByteCevir(); operator HBITMAP(); private: bool ResimYukle(); }; class CSimge : public CResim { public: ICONINFO SimgeBilgileri; CResim SimgeMask; CSimge(void); CSimge(HICON Simge); CSimge(Byte& SimgeVeri); virtual Byte* ByteCevir(); }; #endif