00001 //------------------------------------------------------------------------------ 00002 // DIBVIEW.H header file 00003 //------------------------------------------------------------------------------ 00004 #ifndef DIBVIEW_H 00005 #define DIBVIEW_H 00006 00007 class DIB; 00008 00009 #define DIB_ACTUAL 20 00010 #define DIB_STRETCH 21 00011 #define DIB_TILE 22 00012 00013 class _export DIBVIEW : public DIB 00014 { 00015 WORD wDisplay; 00016 int cxDib, cyDib; 00017 00018 public: 00019 DIBVIEW(); 00020 ~DIBVIEW() {} 00021 00022 BOOL LoadDIB(LPCSTR szDib); 00023 00024 void PaintDIB(HWND hwnd, HDC hdc); 00025 00026 int GetDisplayType() { return wDisplay; } 00027 void SetDisplayType(int type) { wDisplay = type; } 00028 }; 00029 00030 #endif 00031