home *** CD-ROM | disk | FTP | other *** search
/ Large Pack of OldSkool DOS MOD Trackers / beaversweeper_v101.zip / src / TrackerOptions.cpp < prev    next >
C/C++ Source or Header  |  2003-01-06  |  1KB  |  68 lines

  1. // TrackerOptions.cpp : implementation file
  2. //
  3.  
  4.  
  5. #include "stdafx.h"
  6. #include "tracker.h"
  7. #include "TrackerOptions.h"
  8.  
  9. #ifdef _DEBUG
  10. #define new DEBUG_NEW
  11. #undef THIS_FILE
  12. static char THIS_FILE[] = __FILE__;
  13. #endif
  14.  
  15.  
  16.  
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CTrackerOptions
  19.  
  20. IMPLEMENT_DYNAMIC(CTrackerOptions, CPropertySheet)
  21.  
  22.  
  23. CTrackerOptions::CTrackerOptions(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)    
  24. {    
  25.     CPropertySheet::Construct( pszCaption, pParentWnd, iSelectPage );
  26.  
  27.     m_color = new CPropPageColor();    
  28.     AddPage( (CPropertyPage*) m_color );        
  29.  
  30.     m_editor = new CPropPageEditor();
  31.     AddPage( (CPropertyPage*) m_editor );
  32.  
  33.     m_midi = new CPropPageMidi();
  34.     AddPage( (CPropertyPage*) m_midi );
  35.  
  36.     m_sound = new CPropPageSound();
  37.     AddPage( (CPropertyPage*) m_sound );
  38.  
  39.  
  40. }
  41.  
  42. CTrackerOptions::~CTrackerOptions()
  43. {
  44.     delete m_color;
  45.     delete m_editor;
  46.     delete m_midi;
  47.     delete m_sound;
  48. }
  49.  
  50.  
  51.  
  52. BEGIN_MESSAGE_MAP(CTrackerOptions, CPropertySheet)
  53.     //{{AFX_MSG_MAP(CTrackerOptions)
  54.         // NOTE - the ClassWizard will add and remove mapping macros here.
  55.     //}}AFX_MSG_MAP
  56. END_MESSAGE_MAP()
  57.  
  58. /////////////////////////////////////////////////////////////////////////////
  59. // CTrackerOptions message handlers
  60.  
  61. BOOL CTrackerOptions::OnInitDialog() 
  62. {
  63.     BOOL bResult = CPropertySheet::OnInitDialog();
  64.     // TODO: Add your specialized code here
  65.     
  66.     return bResult;
  67. }
  68.