Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

MainFrm.h

Go to the documentation of this file.
00001 #if !defined(AFX_MAINFRM_H__2C1D6C2F_8688_42EB_AA25_483BEFD5ECB7__INCLUDED_)
00002 #define AFX_MAINFRM_H__2C1D6C2F_8688_42EB_AA25_483BEFD5ECB7__INCLUDED_
00003 /*########################################################################
00004         MainFrm.h
00005 
00006         Copyright 2002 Mark Williams, all rights reserved.
00007         Contact: mark@extrabit.com
00008         http://www.extrabit.com
00009 
00010         This program is free software; you can redistribute it and/or
00011         modify it under the terms of the GNU General Public License
00012         as published by the Free Software Foundation; either version 2
00013         of the License, or (at your option) any later version.
00014 
00015         This program is distributed in the hope that it will be useful,
00016         but WITHOUT ANY WARRANTY; without even the implied warranty of
00017         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018         GNU General Public License for more details.
00019 
00020 ########################################################################*/
00021 
00022 #if _MSC_VER > 1000
00023 #pragma once
00024 #endif // _MSC_VER > 1000
00025 
00026 #include "FracWnd.h"
00027 
00028 
00031 class CMainFrame : public CFrameWnd
00032 {
00033         
00034 public:
00035         CMainFrame();
00036 protected: 
00037         DECLARE_DYNAMIC(CMainFrame)
00038 
00039 // Attributes
00040 public:
00041 
00042 // Operations
00043 public:
00044         void update_frac_wnd (void) ;
00045         void update_status_bar (double x, double y, double width, double angle) ;
00046         void show_status (CString) ;
00047 
00048 // Overrides
00049         // ClassWizard generated virtual function overrides
00050         //{{AFX_VIRTUAL(CMainFrame)
00051         virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
00052         virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
00053         //}}AFX_VIRTUAL
00054 
00055 // Implementation
00056 public:
00057         virtual ~CMainFrame();
00058 #ifdef _DEBUG
00059         virtual void AssertValid() const;
00060         virtual void Dump(CDumpContext& dc) const;
00061 #endif
00062 
00063 protected:  // control bar embedded members
00064         CStatusBar  m_wndStatusBar;
00065         CFracWnd    m_wndView;
00066 
00067 // Generated message map functions
00068 protected:
00069         //{{AFX_MSG(CMainFrame)
00070         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00071         afx_msg void OnSetFocus(CWnd *pOldWnd);
00072                 // NOTE - the ClassWizard will add and remove member functions here.
00073                 //    DO NOT EDIT what you see in these blocks of generated code!
00074         //}}AFX_MSG
00075         DECLARE_MESSAGE_MAP()
00076 };
00077 
00079 
00080 //{{AFX_INSERT_LOCATION}}
00081 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00082 
00083 #endif // !defined(AFX_MAINFRM_H__2C1D6C2F_8688_42EB_AA25_483BEFD5ECB7__INCLUDED_)

Generated on Sun Jul 21 11:52:14 2002 for FractalViewer by doxygen1.2.16