CSGDesitnationCombo.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. // CSGDesitnationCombo.h : header file
  13. //
  14. #ifndef CSGDESTINATIONCOMBO_H
  15. #define CSGDESTINATIONCOMBO_H 1
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CCSGDesitnationCombo window
  18. class CWorldEditorDoc;
  19. class CCSGDesitnationCombo : public CComboBox
  20. {
  21. // Construction
  22. public:
  23. CCSGDesitnationCombo();
  24. BOOL OnIdle(LONG lCount);
  25. void SelectBrushEntity( CEntity *penBrush);
  26. CTString m_strLastSelectedName;
  27. CEntity *GetSelectedBrushEntity(void);
  28. CUpdateableRT m_udComboEntries;
  29. CWorldEditorDoc *m_pLastDoc;
  30. // Attributes
  31. public:
  32. // Operations
  33. public:
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CCSGDesitnationCombo)
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. public:
  40. virtual ~CCSGDesitnationCombo();
  41. // Generated message map functions
  42. protected:
  43. //{{AFX_MSG(CCSGDesitnationCombo)
  44. afx_msg void OnSelchange();
  45. afx_msg void OnDropdown();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. /////////////////////////////////////////////////////////////////////////////
  50. #endif // CSGDESTINATIONCOMBO_H