Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CSchedulerSettingsPage Class Reference

#include <PageSettingsScheduler.h>

Inheritance diagram for CSchedulerSettingsPage:

CSettingsPage List of all members.

Public Types

enum  { IDD = IDD_SETTINGS_SCHEDULER }

Public Member Functions

 CSchedulerSettingsPage ()
virtual ~CSchedulerSettingsPage ()
virtual void OnOK ()

Public Attributes

BOOL m_bSchedulerEnable
CSpinButtonCtrl m_wndLimitedSpin
int m_nLimited
BOOL m_bLimitedNetworks
CStatic m_wndDisplay

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg BOOL OnEraseBkgnd (CDC *pDC)
afx_msg void OnPaint ()
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
afx_msg void OnLButtonDblClk (UINT nFlags, CPoint point)
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)
afx_msg void OnRButtonUp (UINT nFlags, CPoint point)

Protected Attributes

BYTE m_pSchedule [7][24]
CImageList m_pTimeSlices
CBitmap m_bmHeader
BYTE m_nHoverDay
BYTE m_nHoverHour
BYTE m_nDownDay
BYTE m_nDownHour
BOOL m_bPaint
BYTE m_nPaintValue
CString m_sDayName [7]

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 42 of file PageSettingsScheduler.h.


Constructor & Destructor Documentation

CSchedulerSettingsPage::CSchedulerSettingsPage  ) 
 

Definition at line 56 of file PageSettingsScheduler.cpp.

CSchedulerSettingsPage::~CSchedulerSettingsPage  )  [virtual]
 

Definition at line 65 of file PageSettingsScheduler.cpp.


Member Function Documentation

void CSchedulerSettingsPage::DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 69 of file PageSettingsScheduler.cpp.

References CSettingsPage::DoDataExchange(), IDC_SCHEDULER_DISPLAY, IDC_SCHEDULER_ENABLE, IDC_SCHEDULER_LIMITED, IDC_SCHEDULER_LIMITED_NETWORKS, IDC_SCHEDULER_LIMITED_SPIN, m_bLimitedNetworks, m_bSchedulerEnable, m_nLimited, m_wndDisplay, and m_wndLimitedSpin.

BOOL CSchedulerSettingsPage::OnEraseBkgnd CDC *  pDC  )  [protected]
 

Reimplemented from CSettingsPage.

Definition at line 269 of file PageSettingsScheduler.cpp.

BOOL CSchedulerSettingsPage::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 84 of file PageSettingsScheduler.cpp.

References CSettings::sScheduler::Enable, IDB_SCHEDULER_HEADER, IDB_SCHEDULER_TIMESLICES, IDS_DAY_FRIDAY, IDS_DAY_MONDAY, IDS_DAY_SATURDAY, IDS_DAY_SUNDAY, IDS_DAY_THURSDAY, IDS_DAY_TUESDAY, IDS_DAY_WEDNESDAY, CSettings::sScheduler::LimitedBandwidth, CSettings::sScheduler::LimitedNetworks, LoadString(), m_bLimitedNetworks, m_bmHeader, m_bPaint, m_bSchedulerEnable, m_nDownDay, m_nDownHour, m_nHoverDay, m_nHoverHour, m_nLimited, m_nPaintValue, CScheduler::m_pSchedule, m_pSchedule, m_pTimeSlices, m_sDayName, m_wndLimitedSpin, CSettingsPage::OnInitDialog(), Schedule, CSettings::Scheduler, and Settings.

void CSchedulerSettingsPage::OnLButtonDblClk UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 220 of file PageSettingsScheduler.cpp.

References m_bPaint, m_nDownDay, m_nDownHour, m_nHoverDay, m_nHoverHour, m_nPaintValue, and m_pSchedule.

void CSchedulerSettingsPage::OnLButtonDown UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 187 of file PageSettingsScheduler.cpp.

References m_bPaint, m_nDownDay, m_nDownHour, m_nHoverDay, m_nHoverHour, m_nPaintValue, and m_pSchedule.

void CSchedulerSettingsPage::OnLButtonUp UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 198 of file PageSettingsScheduler.cpp.

References m_bPaint, m_nDownDay, m_nDownHour, m_nHoverDay, m_nHoverHour, m_nPaintValue, and m_pSchedule.

void CSchedulerSettingsPage::OnMouseMove UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 122 of file PageSettingsScheduler.cpp.

References HEADING_HEIGHT, m_bPaint, m_nDownHour, m_nHoverDay, m_nHoverHour, m_nPaintValue, m_pSchedule, m_sDayName, and m_wndDisplay.

void CSchedulerSettingsPage::OnOK  )  [virtual]
 

Reimplemented from CSettingsPage.

Definition at line 324 of file PageSettingsScheduler.cpp.

References CSettings::sScheduler::Enable, CSettings::sScheduler::LimitedBandwidth, CSettings::sScheduler::LimitedNetworks, m_bLimitedNetworks, m_bSchedulerEnable, m_nLimited, m_pSchedule, CScheduler::m_pSchedule, CSettingsPage::OnOK(), CScheduler::Save(), Schedule, CSettings::Scheduler, and Settings.

void CSchedulerSettingsPage::OnPaint  )  [protected]
 

Definition at line 274 of file PageSettingsScheduler.cpp.

References HEADING_HEIGHT, m_bmHeader, m_nHoverDay, m_nHoverHour, m_pSchedule, m_pTimeSlices, SCHEDULE_FULL_SPEED, SCHEDULE_LIMITED_SPEED, and SCHEDULE_OFF.

void CSchedulerSettingsPage::OnRButtonDown UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 237 of file PageSettingsScheduler.cpp.

References m_bPaint, m_nDownDay, m_nDownHour, m_nHoverDay, m_nHoverHour, m_nPaintValue, and m_pSchedule.

void CSchedulerSettingsPage::OnRButtonUp UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 248 of file PageSettingsScheduler.cpp.

References m_bPaint, m_nDownDay, m_nDownHour, m_nHoverDay, m_nHoverHour, m_nPaintValue, and m_pSchedule.


Member Data Documentation

BOOL CSchedulerSettingsPage::m_bLimitedNetworks
 

Definition at line 46 of file PageSettingsScheduler.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

CBitmap CSchedulerSettingsPage::m_bmHeader [protected]
 

Definition at line 55 of file PageSettingsScheduler.h.

Referenced by OnInitDialog(), and OnPaint().

BOOL CSchedulerSettingsPage::m_bPaint [protected]
 

Definition at line 62 of file PageSettingsScheduler.h.

Referenced by OnInitDialog(), OnLButtonDblClk(), OnLButtonDown(), OnLButtonUp(), OnMouseMove(), OnRButtonDown(), and OnRButtonUp().

BOOL CSchedulerSettingsPage::m_bSchedulerEnable
 

Definition at line 43 of file PageSettingsScheduler.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BYTE CSchedulerSettingsPage::m_nDownDay [protected]
 

Definition at line 59 of file PageSettingsScheduler.h.

Referenced by OnInitDialog(), OnLButtonDblClk(), OnLButtonDown(), OnLButtonUp(), OnRButtonDown(), and OnRButtonUp().

BYTE CSchedulerSettingsPage::m_nDownHour [protected]
 

Definition at line 60 of file PageSettingsScheduler.h.

Referenced by OnInitDialog(), OnLButtonDblClk(), OnLButtonDown(), OnLButtonUp(), OnMouseMove(), OnRButtonDown(), and OnRButtonUp().

BYTE CSchedulerSettingsPage::m_nHoverDay [protected]
 

Definition at line 57 of file PageSettingsScheduler.h.

Referenced by OnInitDialog(), OnLButtonDblClk(), OnLButtonDown(), OnLButtonUp(), OnMouseMove(), OnPaint(), OnRButtonDown(), and OnRButtonUp().

BYTE CSchedulerSettingsPage::m_nHoverHour [protected]
 

Definition at line 58 of file PageSettingsScheduler.h.

Referenced by OnInitDialog(), OnLButtonDblClk(), OnLButtonDown(), OnLButtonUp(), OnMouseMove(), OnPaint(), OnRButtonDown(), and OnRButtonUp().

int CSchedulerSettingsPage::m_nLimited
 

Definition at line 45 of file PageSettingsScheduler.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BYTE CSchedulerSettingsPage::m_nPaintValue [protected]
 

Definition at line 63 of file PageSettingsScheduler.h.

Referenced by OnInitDialog(), OnLButtonDblClk(), OnLButtonDown(), OnLButtonUp(), OnMouseMove(), OnRButtonDown(), and OnRButtonUp().

BYTE CSchedulerSettingsPage::m_pSchedule[7][24] [protected]
 

Definition at line 52 of file PageSettingsScheduler.h.

Referenced by OnInitDialog(), OnLButtonDblClk(), OnLButtonDown(), OnLButtonUp(), OnMouseMove(), OnOK(), OnPaint(), OnRButtonDown(), and OnRButtonUp().

CImageList CSchedulerSettingsPage::m_pTimeSlices [protected]
 

Definition at line 54 of file PageSettingsScheduler.h.

Referenced by OnInitDialog(), and OnPaint().

CString CSchedulerSettingsPage::m_sDayName[7] [protected]
 

Definition at line 65 of file PageSettingsScheduler.h.

Referenced by OnInitDialog(), and OnMouseMove().

CStatic CSchedulerSettingsPage::m_wndDisplay
 

Definition at line 47 of file PageSettingsScheduler.h.

Referenced by DoDataExchange(), and OnMouseMove().

CSpinButtonCtrl CSchedulerSettingsPage::m_wndLimitedSpin
 

Definition at line 44 of file PageSettingsScheduler.h.

Referenced by DoDataExchange(), and OnInitDialog().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:11 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2