InfoFrame.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /* Copyright (c) 2002-2012 Croteam Ltd.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of version 2 of the GNU General Public License as published by
  4. the Free Software Foundation
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License along
  10. with this program; if not, write to the Free Software Foundation, Inc.,
  11. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
  12. // InfoFrame.h : header file
  13. //
  14. #ifndef INFOFRAME_H
  15. #define INFOFRAME_H 1
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CInfoFrame frame
  18. class CInfoFrame : public CMiniFrameWnd
  19. {
  20. DECLARE_DYNCREATE(CInfoFrame)
  21. protected:
  22. // Attributes
  23. public:
  24. CInfoSheet *m_pInfoSheet;
  25. int m_PageWidth;
  26. int m_PageHeight;
  27. // Operations
  28. public:
  29. CInfoFrame(); // protected constructor used by dynamic creation
  30. virtual ~CInfoFrame();
  31. // Overrides
  32. // ClassWizard generated virtual function overrides
  33. //{{AFX_VIRTUAL(CInfoFrame)
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. public:
  38. // Generated message map functions
  39. //{{AFX_MSG(CInfoFrame)
  40. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  41. afx_msg void OnClose();
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. };
  45. /////////////////////////////////////////////////////////////////////////////
  46. #endif // INFOFRAME_H