TargetAreaDlg.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #ifndef TARGETAREADLG_H
  2. #define TARGETAREADLG_H
  3. /*************************************************************************************************\
  4. TargetAreaDlg.h : Interface for the TargetAreaDlg component.
  5. //---------------------------------------------------------------------------//
  6. // Copyright (C) Microsoft Corporation. All rights reserved. //
  7. //===========================================================================//
  8. \*************************************************************************************************/
  9. #include "resource.h"
  10. #include <elist.h>
  11. #include "Objective.h"
  12. #include "EditorObjectMgr.h"
  13. #include "stdafx.h"
  14. class TargetAreaDlg: public CDialog
  15. {
  16. public:
  17. TargetAreaDlg( float &targetCenterX, float &targetCenterY, float &targetRadius );
  18. BOOL OnCommand(WPARAM wParam, LPARAM lParam); // called by child controls to inform of an event
  19. void OnCancel();
  20. void OnOK();
  21. virtual ~TargetAreaDlg();
  22. BOOL OnInitDialog();
  23. private:
  24. typedef CDialog inherited;
  25. // suppressing these
  26. inline TargetAreaDlg();
  27. TargetAreaDlg& operator=( const TargetAreaDlg& lgUnitPtr );
  28. float *m_pTargetCenterX;
  29. float *m_pTargetCenterY;
  30. float *m_pTargetRadius;
  31. CEdit *m_pTargetCenterXEditBox;
  32. CEdit *m_pTargetCenterYEditBox;
  33. CEdit *m_pTargetRadiusEditBox;
  34. CButton *m_pCancelButton;
  35. CButton *m_pOKButton;
  36. };
  37. //*************************************************************************************************
  38. #endif // end of file ( TargetAreaDlg.h )