00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: PicLook.h,v 1.6 2001/09/16 19:03:23 uzadow Exp $ 00005 | application class declaration 00006 | 00007 | PaintLib MDI MFC graphic files viewer 00008 | 00009 | Copyright (c) 1998 Bernard Delmée courtesy of Dilys bvba. 00010 | 00011 \-------------------------------------------------------------------- 00012 */ 00013 00014 #ifndef INCL_PICLOOK 00015 #define INCL_PICLOOK 00016 00017 #ifndef __AFXWIN_H__ 00018 # error include 'stdafx.h' before including this file for PCH 00019 #endif 00020 00021 #include "resource.h" // main symbols 00022 #include "planydec.h" // PaintLib multi-format decoder class 00023 00024 // private message for palette negotiations 00025 #define WM_DOREALIZE (WM_USER + 0) 00026 00027 ///////////////////////////////////////////////////////////////////////////// 00028 // CPaintLibViewerApp : 00029 // See PicLook.cpp for the implementation of this class 00030 // 00031 00032 class CPaintLibViewerApp : public CWinApp 00033 { 00034 public: 00035 CPaintLibViewerApp(); 00036 PLAnyPicDecoder *GetDecoder() 00037 { 00038 return &m_theDecoder; 00039 } 00040 00041 // Overrides 00042 virtual BOOL InitInstance(); 00043 00044 int GetScreenBPP() const; 00045 00046 protected: 00047 // global decoder object (embedded in unique app instance) 00048 PLAnyPicDecoder m_theDecoder; 00049 00050 // Implementation 00051 00052 //{{AFX_MSG(CPaintLibViewerApp) 00053 afx_msg void OnAppAbout(); 00054 //}}AFX_MSG 00055 DECLARE_MESSAGE_MAP() 00056 }; 00057 00058 #endif // INCL_PICLOOK 00059 /* 00060 /-------------------------------------------------------------------- 00061 | 00062 | $Log: PicLook.h,v $ 00063 | Revision 1.6 2001/09/16 19:03:23 uzadow 00064 | Added global name prefix PL, changed most filenames. 00065 | 00066 | Revision 1.5 2000/03/28 21:05:04 Ulrich von Zadow 00067 | Added zoom capability. 00068 | 00069 | Revision 1.4 2000/01/10 23:53:02 Ulrich von Zadow 00070 | Changed formatting & removed tabs. 00071 | 00072 | Revision 1.3 1999/12/02 17:07:35 Ulrich von Zadow 00073 | Changes by bdelmee. 00074 | 00075 | 00076 -------------------------------------------------------------------- 00077 */