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

FractalDlg.h

Go to the documentation of this file.
00001 #if !defined(AFX_FRACTALDLG_H__5AC9A364_6800_4782_A893_83B2B23B91EF__INCLUDED_)
00002 #define AFX_FRACTALDLG_H__5AC9A364_6800_4782_A893_83B2B23B91EF__INCLUDED_
00003 /*########################################################################
00004         FractalDlg.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 
00027 // CFractalDlg dialog
00028 
00034 class CFractalDlg : public CDialog
00035 {
00036 // Construction
00037 public:
00038         CFractalDlg(CWnd* pParent = NULL);   // standard constructor
00039 
00040         static void set_default_view (double x, double y, double width, double angle) ;
00041 
00042         int inq_fractal_type (void) const { return m_fractal_type ; }
00043         void set_fractal_type (int type) { m_fractal_type = type ; }
00044 
00045 // Dialog Data
00046         //{{AFX_DATA(CFractalDlg)
00047         enum { IDD = IDD_FRACTAL_DLG };
00048         CComboBox       m_fractal_combo;
00049         double  m_zx;
00050         double  m_zy;
00051         double  m_view_x;
00052         double  m_view_y;
00053         double  m_view_width;
00054         double  m_view_angle;
00055         BOOL    m_invert_u;
00056         //}}AFX_DATA
00057 
00058 
00059 // Overrides
00060         // ClassWizard generated virtual function overrides
00061         //{{AFX_VIRTUAL(CFractalDlg)
00062         protected:
00063         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00064         //}}AFX_VIRTUAL
00065 
00066 // Implementation
00067 protected:
00068 
00069         // Generated message map functions
00070         //{{AFX_MSG(CFractalDlg)
00071         virtual BOOL OnInitDialog();
00072         virtual void OnOK();
00073         afx_msg void OnResetBtn();
00074         //}}AFX_MSG
00075         DECLARE_MESSAGE_MAP()
00076 
00077 private:
00082         int m_fractal_type ;
00083 };
00084 
00085 //{{AFX_INSERT_LOCATION}}
00086 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00087 
00088 #endif // !defined(AFX_FRACTALDLG_H__5AC9A364_6800_4782_A893_83B2B23B91EF__INCLUDED_)

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