// Poetry.h : main header file for the POETRY application // // (C) COPYRIGHT John Henckel, mailto:henckel@iname.com Aug 1998 // // Permission to use, copy, modify, distribute and sell this software // and its documentation for any purpose is hereby granted without fee, // provided that the above copyright notice appear in all copies. // // Visit my website! http://www.GeoCities.com/Paris/6502 #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // main symbols ///////////////////////////////////////////////////////////////////////////// // MainApp: // See Poetry.cpp for the implementation of this class // class MainApp : public CWinApp { public: void IdleRestart(); MainApp(); BOOL InitGraphics(HDC hdc); // create the memory bitmap and render context HDC glMemDC; // memory bitmap HGLRC glContext; // render context LONG idleCount; // These are used by on-idle LONG fresh; POSITION tpos, dpos, vpos; CDocTemplate* nextTem; CDocument* nextDoc; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(MainApp) public: virtual BOOL InitInstance(); virtual BOOL OnIdle(LONG lCount); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(MainApp) afx_msg void OnAppAbout(); // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() }; /////////////////////////////////////////////////////////////////////////////