#include <Downloads_Bittorrent.h>
Public Member Functions | |
| CDownloads_Bittorrent () | |
| void | UpdatePeersStat () |
| void | set_ActiveTab (int nTab) |
| void | UpdateStat () |
| void | ApplyLanguage () |
| void | Set_ActiveDownload (vmsDownloadSmartPtr dld) |
| BOOL | Create (CWnd *pParent) |
| virtual | ~CDownloads_Bittorrent () |
Public Attributes | |
| CDownloads_Bittorrent_Files | m_files |
| CDownloads_Bittorrent_Peers | m_peers |
| CDownloads_Bittorrent_General | m_general |
Protected Member Functions | |
| void | ApplyCurTab () |
| void | ApplySize () |
| afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
| afx_msg void | OnSize (UINT nType, int cx, int cy) |
| afx_msg void | OnSelchange (NMHDR *pNMHDR, LRESULT *pResult) |
| afx_msg void | OnShowWindow (BOOL bShow, UINT nStatus) |
Protected Attributes | |
| std::vector< CWnd * > | m_vTabs |
| CFont | m_fontItems |
Definition at line 16 of file Downloads_Bittorrent.h.
| CDownloads_Bittorrent::CDownloads_Bittorrent | ( | ) |
| CDownloads_Bittorrent::~CDownloads_Bittorrent | ( | ) | [virtual] |
Definition at line 23 of file Downloads_Bittorrent.cpp.
| void CDownloads_Bittorrent::UpdatePeersStat | ( | ) |
Definition at line 157 of file Downloads_Bittorrent.cpp.
References m_general, m_peers, CDownloads_Bittorrent_General::UpdatePeersStat(), and CDownloads_Bittorrent_Peers::UpdateStat().
Referenced by CDownloadsWnd::OnTimer().
| void CDownloads_Bittorrent::set_ActiveTab | ( | int | nTab | ) |
Definition at line 118 of file Downloads_Bittorrent.cpp.
References ApplyCurTab().
Referenced by OnCreate().
| void CDownloads_Bittorrent::UpdateStat | ( | ) |
Definition at line 113 of file Downloads_Bittorrent.cpp.
References m_general, and CDownloads_Bittorrent_General::UpdateStat().
Referenced by CDownloaderProperties_ListPage::OnApply(), and CDownloads_Info::UpdateBtStat().
| void CDownloads_Bittorrent::ApplyLanguage | ( | ) |
Definition at line 69 of file Downloads_Bittorrent.cpp.
References CDownloads_Bittorrent_Files::ApplyLanguage(), CDownloads_Bittorrent_Peers::ApplyLanguage(), CDownloads_Bittorrent_General::ApplyLanguage(), L_FILES, L_GENERAL, L_PEERS, LPSTR, LS, m_files, m_general, and m_peers.
Referenced by CDownloads_Info::ApplyLanguage().
| void CDownloads_Bittorrent::Set_ActiveDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 60 of file Downloads_Bittorrent.cpp.
References FALSE, m_files, m_general, m_peers, NULL, CDownloads_Bittorrent_Files::set_ActiveDownload(), CDownloads_Bittorrent_Peers::set_ActiveDownload(), and CDownloads_Bittorrent_General::set_ActiveDownload().
Referenced by CDownloads_Info::Set_ActiveDownload(), and CDownloads_Info::UpdateBtStat().
| BOOL CDownloads_Bittorrent::Create | ( | CWnd * | pParent | ) |
Definition at line 36 of file Downloads_Bittorrent.cpp.
References FALSE, m_fontItems, and TRUE.
Referenced by CDownloads_Info::OnCreate().
| void CDownloads_Bittorrent::ApplyCurTab | ( | ) | [protected] |
Definition at line 141 of file Downloads_Bittorrent.cpp.
References ApplySize(), and m_vTabs.
Referenced by OnSelchange(), and set_ActiveTab().
| void CDownloads_Bittorrent::ApplySize | ( | ) | [protected] |
Definition at line 125 of file Downloads_Bittorrent.cpp.
References m_vTabs.
Referenced by ApplyCurTab(), and OnSize().
| int CDownloads_Bittorrent::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Definition at line 89 of file Downloads_Bittorrent.cpp.
References CDownloads_Bittorrent_Files::Create(), CDownloads_Bittorrent_Peers::Create(), CDownloads_Bittorrent_General::Create(), m_files, m_general, m_peers, and set_ActiveTab().
| void CDownloads_Bittorrent::OnSize | ( | UINT | nType, | |
| int | cx, | |||
| int | cy | |||
| ) | [protected] |
| void CDownloads_Bittorrent::OnSelchange | ( | NMHDR * | pNMHDR, | |
| LRESULT * | pResult | |||
| ) | [protected] |
| void CDownloads_Bittorrent::OnShowWindow | ( | BOOL | bShow, | |
| UINT | nStatus | |||
| ) | [protected] |
Definition at line 30 of file Downloads_Bittorrent.h.
Referenced by ApplyLanguage(), CDownloads_Bittorrent(), OnCreate(), CDownloadsWnd::OnTimer(), and Set_ActiveDownload().
Definition at line 33 of file Downloads_Bittorrent.h.
Referenced by ApplyLanguage(), CDownloads_Bittorrent(), OnCreate(), Set_ActiveDownload(), and UpdatePeersStat().
Definition at line 35 of file Downloads_Bittorrent.h.
Referenced by ApplyLanguage(), CDownloads_Bittorrent(), OnCreate(), CDownloadsWnd::OnTimer(), Set_ActiveDownload(), UpdatePeersStat(), and UpdateStat().
std::vector<CWnd*> CDownloads_Bittorrent::m_vTabs [protected] |
Definition at line 44 of file Downloads_Bittorrent.h.
Referenced by ApplyCurTab(), ApplySize(), CDownloads_Bittorrent(), and OnShowWindow().
CFont CDownloads_Bittorrent::m_fontItems [protected] |
1.5.6