GroupBar.cpp 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /*
  2. ===========================================================================
  3. Copyright (C) 1999-2005 Id Software, Inc.
  4. This file is part of Quake III Arena source code.
  5. Quake III Arena source code is free software; you can redistribute it
  6. and/or modify it under the terms of the GNU General Public License as
  7. published by the Free Software Foundation; either version 2 of the License,
  8. or (at your option) any later version.
  9. Quake III Arena source code is distributed in the hope that it will be
  10. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with Foobar; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. ===========================================================================
  17. */
  18. // GroupBar.cpp : implementation file
  19. //
  20. #include "stdafx.h"
  21. #include "Radiant.h"
  22. #include "GroupBar.h"
  23. #ifdef _DEBUG
  24. #define new DEBUG_NEW
  25. #undef THIS_FILE
  26. static char THIS_FILE[] = __FILE__;
  27. #endif
  28. /////////////////////////////////////////////////////////////////////////////
  29. // CGroupBar dialog
  30. CGroupBar::CGroupBar(CWnd* pParent /*=NULL*/)
  31. : CDialogBar()
  32. {
  33. //{{AFX_DATA_INIT(CGroupBar)
  34. // NOTE: the ClassWizard will add member initialization here
  35. //}}AFX_DATA_INIT
  36. }
  37. void CGroupBar::DoDataExchange(CDataExchange* pDX)
  38. {
  39. CDialogBar::DoDataExchange(pDX);
  40. //{{AFX_DATA_MAP(CGroupBar)
  41. DDX_Control(pDX, IDC_COMBO_GROUPS, m_wndGroupList);
  42. //}}AFX_DATA_MAP
  43. }
  44. BEGIN_MESSAGE_MAP(CGroupBar, CDialogBar)
  45. //{{AFX_MSG_MAP(CGroupBar)
  46. ON_BN_CLICKED(IDC_BTN_ADDGROUP, OnBtnAddgroup)
  47. ON_BN_CLICKED(IDC_BTN_LISTGROUPS, OnBtnListgroups)
  48. ON_BN_CLICKED(IDC_BTN_REMOVEGROUP, OnBtnRemovegroup)
  49. //}}AFX_MSG_MAP
  50. END_MESSAGE_MAP()
  51. /////////////////////////////////////////////////////////////////////////////
  52. // CGroupBar message handlers
  53. void CGroupBar::OnBtnAddgroup()
  54. {
  55. // TODO: Add your control notification handler code here
  56. }
  57. void CGroupBar::OnBtnListgroups()
  58. {
  59. // TODO: Add your control notification handler code here
  60. }
  61. void CGroupBar::OnBtnRemovegroup()
  62. {
  63. // TODO: Add your control notification handler code here
  64. }