viewing paste ResimYonetic.h | C

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
#pragma once
 
#ifndef BITMAPYONETICI_H
#define BITMAPYONETICI_H
 
#ifndef RESIMTIPLERI_H
#include "ResimTipleri.h"
#endif
 
#ifndef BYTE_H
#include <Byte.h>
#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
Viewed 922 times, submitted by Guest.