#include <Downloads_Info.h>
Definition at line 30 of file Downloads_Info.h.
| CDownloads_Info::CDownloads_Info | ( | ) |
Definition at line 17 of file Downloads_Info.cpp.
References m_bBtTabShowing, and m_bBtTabWasActive.
| CDownloads_Info::~CDownloads_Info | ( | ) | [virtual] |
Definition at line 23 of file Downloads_Info.cpp.
| void CDownloads_Info::UpdateBtStat | ( | ) |
Definition at line 324 of file Downloads_Info.cpp.
References ApplyBtTab(), m_activeDld, m_bBtTabShowing, m_bt, CDownloads_Bittorrent::Set_ActiveDownload(), and CDownloads_Bittorrent::UpdateStat().
Referenced by CDownloadsWnd::_Events().
| int CDownloads_Info::get_CurTab | ( | ) |
Definition at line 311 of file Downloads_Info.cpp.
References DIT_LOG, and m_bBtTabShowing.
Referenced by CDownloadsWnd::_Events(), OnSelchange(), and SaveState().
| void CDownloads_Info::set_CurTab | ( | int | nIndex | ) |
Definition at line 303 of file Downloads_Info.cpp.
References ApplyCurTab(), DIT_LOG, and m_bBtTabShowing.
Referenced by CDownloadsWnd::_Events(), ApplyBtTab(), Create(), CDownloads_Opinions_WBEvents::OnDocumentComplete(), and CDownloads_Opinions_WBEvents::OnNavigateError().
| CDownloads_Progress * CDownloads_Info::Get_ProgressWindow | ( | ) |
| CDownloads_Log * CDownloads_Info::Get_LogWindow | ( | ) |
Definition at line 277 of file Downloads_Info.cpp.
References m_log.
Referenced by CDownloadsWnd::OnDLLogShowCol(), and CDownloadsWnd::UpdateDLLogColMenu().
| void CDownloads_Info::AddDownloadEvent | ( | fsDownloadEvents * | event | ) |
Definition at line 272 of file Downloads_Info.cpp.
References CDownloads_Log::AddRecord(), and m_log.
Referenced by CDownloadsWnd::_Events().
| void CDownloads_Info::UpdateActiveDownload | ( | ) |
Definition at line 266 of file Downloads_Info.cpp.
References m_progress, and CDownloads_Progress::UpdateDownload().
Referenced by CDownloadsWnd::OnTimer().
| void CDownloads_Info::Set_ActiveDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 255 of file Downloads_Info.cpp.
References ApplyBtTab(), m_activeDld, m_bt, m_log, m_opinions, m_progress, m_video, CDownloads_Bittorrent::Set_ActiveDownload(), CDownloads_Opinions::Set_ActiveDownload(), CDownloads_VideoPreview::Set_ActiveDownload(), CDownloads_Log::SetActiveDownload(), and CDownloads_Progress::SetActiveDownload().
Referenced by CDownloadsWnd::SetActiveDownload().
| vmsDownloadSmartPtr CDownloads_Info::Get_ActiveDownload | ( | ) |
Definition at line 250 of file Downloads_Info.cpp.
References CDownloads_Progress::GetActiveDownload(), and m_progress.
Referenced by CDownloadsWnd::_Events(), CDownloadsWnd::_threadCheckDldHasOpinions(), CDownloadsWnd::OnDldHasOpinions(), and CDownloadsWnd::OnTimer().
| void CDownloads_Info::SaveState | ( | ) |
Definition at line 188 of file Downloads_Info.cpp.
References _App, DIT_BT, get_CurTab(), m_bBtTabWasActive, m_log, m_video, CDownloads_VideoPreview::SaveState(), CListCtrlEx::SaveState(), and fsAppSettings::View_DldInfoCurTab().
Referenced by CDownloads_Downloads::SaveState().
| void CDownloads_Info::ApplyLanguage | ( | ) |
Definition at line 157 of file Downloads_Info.cpp.
References CDownloads_Bittorrent::ApplyLanguage(), CDownloads_VideoPreview::ApplyLanguage(), CDownloads_Log::ApplyLanguage(), L_BITTORRENT, L_LOG, L_MEDIA_PREVIEW_CONVERT, L_OPINIONS, L_PROGRESS, LPSTR, LS, m_bBtTabShowing, m_bt, m_log, and m_video.
Referenced by CDownloads_Downloads::ApplyLanguage().
| BOOL CDownloads_Info::Create | ( | CWnd * | pParent | ) |
Definition at line 37 of file Downloads_Info.cpp.
References _App, DIT_BT, DIT_LOG, FALSE, IDB_DOWNLOADSINFO, IsBtDownloadActive(), L_BITTORRENT, L_LOG, L_MEDIA_PREVIEW_CONVERT, L_OPINIONS, L_PROGRESS, LS, m_bBtTabShowing, m_bBtTabWasActive, m_images, m_itemsFont, SBMP, set_CurTab(), TRUE, and fsAppSettings::View_DldInfoCurTab().
Referenced by CDownloads_Downloads::OnCreate().
| void CDownloads_Info::ApplyBtTab | ( | ) | [protected] |
Definition at line 332 of file Downloads_Info.cpp.
References DIT_BT, DIT_LOG, IsBtDownloadActive(), L_BITTORRENT, LS, m_bBtTabShowing, m_bBtTabWasActive, and set_CurTab().
Referenced by Set_ActiveDownload(), and UpdateBtStat().
| BOOL CDownloads_Info::IsBtDownloadActive | ( | ) | [protected] |
Definition at line 319 of file Downloads_Info.cpp.
References m_activeDld, and NULL.
Referenced by ApplyBtTab(), and Create().
| void CDownloads_Info::ApplyCurTab | ( | ) | [protected] |
Definition at line 195 of file Downloads_Info.cpp.
References m_bBtTabShowing, m_bt, m_frame, m_log, m_opinions, m_progress, m_video, CDownloads_InfoFrame::SetChildWnd(), and CDownloads_Opinions::UpdateContent().
Referenced by OnSelchange(), and set_CurTab().
| int CDownloads_Info::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Definition at line 89 of file Downloads_Info.cpp.
References CDownloads_Bittorrent::Create(), CDownloads_Opinions::Create(), CDownloads_VideoPreview::Create(), CDownloads_Progress::Create(), CDownloads_Log::Create(), CDownloads_InfoFrame::Create(), m_bt, m_cy, m_frame, m_log, m_opinions, m_progress, m_video, and CDownloads_InfoFrame::SetChildWnd().
| void CDownloads_Info::OnSize | ( | UINT | nType, | |
| int | cx, | |||
| int | cy | |||
| ) | [protected] |
| void CDownloads_Info::OnPaint | ( | ) | [protected] |
Definition at line 133 of file Downloads_Info.cpp.
| void CDownloads_Info::OnSelchange | ( | NMHDR * | pNMHDR, | |
| LRESULT * | pResult | |||
| ) | [protected] |
Definition at line 147 of file Downloads_Info.cpp.
References ApplyCurTab(), DIT_BT, get_CurTab(), and m_bBtTabWasActive.
| BOOL CDownloads_Info::OnEraseBkgnd | ( | CDC * | pDC | ) | [protected] |
Definition at line 287 of file Downloads_Info.cpp.
References fsPartMediaPlayer::Get_State(), CVideoWindow::m_player, m_video, CDownloads_VideoPreview::m_wndVideo, and VFPS_CLOSED.
friend class CMainFrame [friend] |
Definition at line 32 of file Downloads_Info.h.
Definition at line 46 of file Downloads_Info.h.
Referenced by ApplyCurTab(), ApplyLanguage(), CDownloaderProperties_ListPage::OnApply(), OnCreate(), CDownloadsWnd::OnTimer(), Set_ActiveDownload(), and UpdateBtStat().
Definition at line 65 of file Downloads_Info.h.
Referenced by CDownloadsWnd::_Events(), ApplyCurTab(), OnCreate(), CDownloadsWnd::OnDldHasOpinions(), and Set_ActiveDownload().
Definition at line 66 of file Downloads_Info.h.
Referenced by CDownloadsWnd::_Events(), ApplyCurTab(), ApplyLanguage(), OnCreate(), CDownloads_Tasks::OnDldconvert(), CPluginFrame2::OnEraseBkgnd(), CPlugFrame2Tabs::OnEraseBkgnd(), CMainFrame::OnEraseBkgnd(), CDownloadsWnd::OnEraseBkgnd(), CDownloads_InfoFrame::OnEraseBkgnd(), OnEraseBkgnd(), CDownloads_Downloads::OnEraseBkgnd(), CClientAreaWnd::OnEraseBkgnd(), CChildView::OnEraseBkgnd(), CDownloadsWnd::OnTimer(), CDownloads_Tasks::OnUpdateToolBar(), SaveState(), and Set_ActiveDownload().
Definition at line 67 of file Downloads_Info.h.
Referenced by ApplyCurTab(), Get_ActiveDownload(), Get_ProgressWindow(), OnCreate(), CDownloads_Tasks::OnRClick(), Set_ActiveDownload(), and UpdateActiveDownload().
bool CDownloads_Info::m_bBtTabShowing [protected] |
Definition at line 71 of file Downloads_Info.h.
Referenced by ApplyBtTab(), ApplyCurTab(), ApplyLanguage(), CDownloads_Info(), Create(), get_CurTab(), set_CurTab(), and UpdateBtStat().
bool CDownloads_Info::m_bBtTabWasActive [protected] |
Definition at line 72 of file Downloads_Info.h.
Referenced by ApplyBtTab(), CDownloads_Info(), Create(), OnSelchange(), and SaveState().
vmsDownloadSmartPtr CDownloads_Info::m_activeDld [protected] |
Definition at line 74 of file Downloads_Info.h.
Referenced by IsBtDownloadActive(), Set_ActiveDownload(), and UpdateBtStat().
int CDownloads_Info::m_cy [protected] |
CDownloads_Log CDownloads_Info::m_log [protected] |
Definition at line 78 of file Downloads_Info.h.
Referenced by AddDownloadEvent(), ApplyCurTab(), ApplyLanguage(), Get_LogWindow(), OnCreate(), SaveState(), and Set_ActiveDownload().
CImageList CDownloads_Info::m_images [protected] |
CDownloads_InfoFrame CDownloads_Info::m_frame [protected] |
Definition at line 80 of file Downloads_Info.h.
Referenced by ApplyCurTab(), OnCreate(), and OnSize().
CFont CDownloads_Info::m_itemsFont [protected] |
1.5.6