DlgPlayerSettings.h 1.7 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. // DlgPlayerSettings.h : header file
  13. //
  14. #ifndef DLGPLAYERSETTINGS_H
  15. #define DLGPLAYERSETTINGS_H 1
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CDlgPlayerSettings dialog
  18. class CDlgPlayerControls;
  19. class CDlgPlayerSettings : public CDialog
  20. {
  21. // Construction
  22. public:
  23. CDlgPlayerSettings(CWnd* pParent = NULL); // standard constructor
  24. void InitPlayersAndControlsLists(void);
  25. // Dialog Data
  26. //{{AFX_DATA(CDlgPlayerSettings)
  27. enum { IDD = IDD_SETTINGS_PLAYERS };
  28. CListBox m_listAvailableControls;
  29. CListBox m_listAvailablePlayers;
  30. //}}AFX_DATA
  31. // Overrides
  32. // ClassWizard generated virtual function overrides
  33. //{{AFX_VIRTUAL(CDlgPlayerSettings)
  34. protected:
  35. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  36. //}}AFX_VIRTUAL
  37. // Implementation
  38. public:
  39. // Generated message map functions
  40. //{{AFX_MSG(CDlgPlayerSettings)
  41. afx_msg void OnPlayerAppearance();
  42. virtual BOOL OnInitDialog();
  43. afx_msg void OnEditControls();
  44. afx_msg void OnRenameControls();
  45. afx_msg void OnRenamePlayer();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };
  49. #endif // DLGPLAYERSETTINGS_H