CtrlEditFloat.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* Copyright (c) 2002-2012 Croteam Ltd.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of version 2 of the GNU General Public License as published by
  4. the Free Software Foundation
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License along
  10. with this program; if not, write to the Free Software Foundation, Inc.,
  11. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
  12. // CtrlEditFloat.h : header file
  13. //
  14. #ifndef CTRLEDITFLOAT_H
  15. #define CTRLEDITFLOAT_H 1
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CCtrlEditFloat window
  18. class CCtrlEditFloat : public CEdit
  19. {
  20. // Construction
  21. public:
  22. CCtrlEditFloat();
  23. // Attributes
  24. public:
  25. // ptr to parent dialog
  26. CPropertyComboBar *m_pDialog;
  27. // Operations
  28. public:
  29. // sets ptr to parent dialog
  30. void SetDialogPtr( CPropertyComboBar *pDialog);
  31. // Overrides
  32. // ClassWizard generated virtual function overrides
  33. //{{AFX_VIRTUAL(CCtrlEditFloat)
  34. public:
  35. virtual BOOL PreTranslateMessage(MSG* pMsg);
  36. //}}AFX_VIRTUAL
  37. // Implementation
  38. public:
  39. virtual ~CCtrlEditFloat();
  40. // Generated message map functions
  41. protected:
  42. //{{AFX_MSG(CCtrlEditFloat)
  43. afx_msg void OnChange();
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. };
  47. /////////////////////////////////////////////////////////////////////////////
  48. #endif // CTRLEDITFLOAT_H