fractaldialog.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef FRACTALDLG_H
  2. #define FRACTALDLG_H
  3. /*************************************************************************************************\
  4. FogDlg.h : Interface for the FractalDlg component. Lets user change refractalize
  5. terrain settings
  6. //---------------------------------------------------------------------------//
  7. // Copyright (C) Microsoft Corporation. All rights reserved. //
  8. //===========================================================================//
  9. \*************************************************************************************************/
  10. #include "stdafx.h"
  11. #include "resource.h"
  12. /////////////////////////////////////////////////////////////////////////////
  13. // FractalDlg dialog
  14. class FractalDlg : public CDialog
  15. {
  16. public:
  17. // Construction
  18. FractalDlg(CWnd* pParent = NULL); // standard constructor
  19. unsigned char GetNoise(){ return m_noise; }
  20. unsigned char GetThreshold(){ return m_threshold; }
  21. void SetThreshold( unsigned char newThreshold ){ m_threshold = newThreshold; }
  22. void SetNoise( unsigned char newNoise ){ m_noise = newNoise; }
  23. enum { IDD = IDD_FRACTAL };
  24. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  25. private:
  26. unsigned char m_threshold;
  27. unsigned char m_noise;
  28. };
  29. #endif // end of file ( FractalDlg.h )