////////////////////////////////////////////////////////////////////////////////
//
// gaykadlg.h -  
//
////////////////////////////////////////////////////////////////////////////////
#ifndef __GAYKADLG_H
#define __GAYKADLG_H

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000  

//    
#include "resource.h"


//    
class Gayka5915;    
struct SimpleBase;


////////////////////////////////////////////////////////////////////////////////
//
//  
//
////////////////////////////////////////////////////////////////////////////////
class GaykaDlg : public CDialog
{
protected:
  Gayka5915&  m_gayka;    //   
  SimpleBase& m_base;     //    
  int         m_bitMapId; //  

public:
	GaykaDlg( Gayka5915& gayka, SimpleBase& m_base, CWnd* pParent = NULL ); 

	//{{AFX_DATA(GaykaDlg)
	enum { IDD = GAYKA_DIALOG };
	CComboBox	m_diam;
	CButton	  m_key;
	CEdit	    m_stepEdit;
	CEdit	    m_angEdit;
	CButton	  m_slimStep;
	CButton	  m_simple;
  CButton   m_spcObj;
	CStatic	  m_showStatic;
	float	    m_stepHatch;
	float	    m_angleHatch;
	//}}AFX_DATA

	//{{AFX_VIRTUAL(GaykaDlg)
protected:
	virtual void DoDataExchange(CDataExchange* pDX);
	//}}AFX_VIRTUAL

protected:
	//{{AFX_MSG(GaykaDlg)
	virtual BOOL OnInitDialog();    //   
	afx_msg void OnPaint();         //   
	afx_msg void OnView();          // 
	afx_msg void OnSecview();       // /
	afx_msg void OnSideview();      //  
	afx_msg void OnTopview();       //  
	afx_msg void OnPerf1();         //  1
	afx_msg void OnPerf2();         //  2
  afx_msg void OnSpcObj();        //  
	afx_msg void OnDrawaxis();      //  
	afx_msg void OnSimple();        // 
	afx_msg void OnSlimstep();      //  
	afx_msg void OnChangeHAng();    //   - 
	afx_msg void OnChangeHShag();   //   - 
	afx_msg void OnAddkey();        //    
	afx_msg void OnSelchangeDiam(); //    
	afx_msg void OnHelpButton();    //  
	afx_msg void OnUpdateHAngle();
	//}}AFX_MSG

  DECLARE_MESSAGE_MAP()

private:
	void SetHatchWindowEnable( bool enable );
};

//{{AFX_INSERT_LOCATION}}
#endif // !defined(__GAYKADLG_H)
