#include <CtrlSearchDetailPanel.h>
Public Member Functions | |
CSearchDetailPanel () | |
virtual | ~CSearchDetailPanel () |
void | Update (CMatchFile *pFile) |
virtual BOOL | Create (CWnd *pParentWnd) |
Protected Member Functions | |
void | DrawThumbnail (CDC *pDC, CRect &rcClient, CRect &rcWork) |
void | DrawThumbnail (CDC *pDC, CRect &rcThumb) |
void | ClearReviews () |
BOOL | RequestPreview () |
void | CancelPreview () |
void | OnRun () |
BOOL | ExecuteRequest (CString strURL, BYTE **ppBuffer, DWORD *pnBuffer) |
void | OnPreviewLoaded (SHA1 *pSHA1, CImageFile *pImage) |
BOOL | CachePreviewImage (SHA1 *pSHA1, LPBYTE pBuffer, DWORD nBuffer) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnDestroy () |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
afx_msg void | OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
afx_msg BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnPaint () |
afx_msg BOOL | OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg BOOL | OnEraseBkgnd (CDC *pDC) |
afx_msg void | OnClickReview (RVN_ELEMENTEVENT *pNotify, LRESULT *pResult) |
Static Protected Member Functions | |
static void | DrawText (CDC *pDC, int nX, int nY, LPCTSTR pszText, RECT *pRect=NULL) |
static UINT | ThreadStart (LPVOID pParam) |
Protected Attributes | |
CMatchList * | m_pMatches |
BOOL | m_bValid |
CMatchFile * | m_pFile |
SHA1 | m_pSHA1 |
CString | m_sName |
CString | m_sStatus |
CRect | m_rcStatus |
CString | m_sSize |
int | m_nIcon48 |
int | m_nIcon32 |
int | m_nRating |
CSchema * | m_pSchema |
CMetaPanel | m_pMetadata |
CPtrList | m_pReviews |
int | m_nScrollWheelLines |
CCriticalSection | m_pSection |
CEvent | m_pWakeup |
BOOL | m_bCanPreview |
BOOL | m_bRunPreview |
BOOL | m_bIsPreviewing |
HANDLE | m_hThread |
BOOL | m_bThread |
CHttpRequest | m_pRequest |
CStringList | m_pPreviewURLs |
CBitmap | m_bmThumb |
CSize | m_szThumb |
CRect | m_rcThumb |
COLORREF | m_crLight |
int | m_nThumbSize |
Friends | |
class | Review |
Classes | |
class | Review |
|
Definition at line 73 of file CtrlSearchDetailPanel.cpp. References CCoolInterface::CalculateColour(), CoolInterface, CCoolInterface::m_crTipBack, and NULL. |
|
Definition at line 91 of file CtrlSearchDetailPanel.cpp. References ClearReviews(). |
|
Definition at line 996 of file CtrlSearchDetailPanel.cpp. References CMatchList::FileToItem(), CMatchFile::m_nPreview, m_pFile, m_pMatches, CMatchFile::m_pPreview, CMatchList::m_pSection, and NULL. Referenced by OnRun(). |
|
Definition at line 822 of file CtrlSearchDetailPanel.cpp. References CHttpRequest::Cancel(), m_bIsPreviewing, m_bmThumb, m_bRunPreview, m_pPreviewURLs, m_pRequest, m_pSection, and NULL. Referenced by OnDestroy(), and Update(). |
|
Definition at line 237 of file CtrlSearchDetailPanel.cpp. References m_pReviews. Referenced by OnDestroy(), Update(), and ~CSearchDetailPanel(). |
|
Definition at line 99 of file CtrlSearchDetailPanel.cpp. References IDC_DETAIL_PANEL, and NULL. Referenced by CSearchWnd::OnCreate(), and CBrowseFrameCtrl::OnCreate(). |
|
Definition at line 488 of file CtrlSearchDetailPanel.cpp. References NULL. Referenced by DrawThumbnail(), OnPaint(), and CSearchDetailPanel::Review::Paint(). |
|
|
Definition at line 499 of file CtrlSearchDetailPanel.cpp. References CoolInterface, CCoolInterface::m_crMargin, and m_nThumbSize. Referenced by OnPaint(). |
|
|
Definition at line 789 of file CtrlSearchDetailPanel.cpp. References CShareazaApp::InternalURI(), RVN_ELEMENTEVENT::pElement, and theApp. |
|
Definition at line 250 of file CtrlSearchDetailPanel.cpp. |
|
Definition at line 256 of file CtrlSearchDetailPanel.cpp. References CancelPreview(), ClearReviews(), m_bThread, m_hThread, m_pWakeup, CShareazaApp::Message(), MSG_DEBUG, NULL, and theApp. |
|
Definition at line 393 of file CtrlSearchDetailPanel.cpp. |
|
Definition at line 382 of file CtrlSearchDetailPanel.cpp. |
|
Definition at line 668 of file CtrlSearchDetailPanel.cpp. References m_bCanPreview, m_bIsPreviewing, m_bValid, CMetaPanel::m_nHeight, m_pMetadata, m_pReviews, m_rcStatus, m_rcThumb, NULL, CMetaPanel::OnClick(), OnVScroll(), and RequestPreview(). |
|
Definition at line 387 of file CtrlSearchDetailPanel.cpp. References m_nScrollWheelLines, NULL, and OnVScroll(). |
|
|
Definition at line 964 of file CtrlSearchDetailPanel.cpp. References CImageFile::CreateBitmap(), m_bCanPreview, m_bIsPreviewing, m_bmThumb, m_bRunPreview, CImageFile::m_nHeight, m_nThumbSize, CImageFile::m_nWidth, m_pSection, m_pSHA1, m_szThumb, and CImageFile::Resample(). Referenced by DrawThumbnail(), OnRun(), and Update(). |
|
Definition at line 851 of file CtrlSearchDetailPanel.cpp. References CachePreviewImage(), ExecuteRequest(), IDS_SEARCH_DETAILS_PREVIEW_FAILED, CImageFile::LoadFromMemory(), m_bIsPreviewing, m_bRunPreview, m_bThread, m_bValid, m_pPreviewURLs, m_pSection, m_pSHA1, m_pWakeup, CShareazaApp::Message(), MSG_ERROR, OnPreviewLoaded(), and theApp. Referenced by ThreadStart(). |
|
Definition at line 638 of file CtrlSearchDetailPanel.cpp. References CMetaList::HitTest(), IDC_HAND, m_bCanPreview, m_bIsPreviewing, m_bValid, m_pMetadata, m_pReviews, m_rcStatus, m_rcThumb, and NULL. |
|
Definition at line 289 of file CtrlSearchDetailPanel.cpp. References CSearchDetailPanel::Review::Layout(), CMetaPanel::Layout(), m_bValid, m_pMetadata, m_pReviews, and SIZE_INTERNAL. Referenced by Update(). |
|
Definition at line 332 of file CtrlSearchDetailPanel.cpp. References m_pReviews, and CSearchDetailPanel::Review::Reposition(). Referenced by OnLButtonUp(), and OnMouseWheel(). |
|
Definition at line 800 of file CtrlSearchDetailPanel.cpp. References m_bCanPreview, m_bRunPreview, m_bThread, m_bValid, m_hThread, m_pPreviewURLs, m_pSection, m_pWakeup, NULL, and ThreadStart(). Referenced by OnLButtonUp(). |
|
Definition at line 844 of file CtrlSearchDetailPanel.cpp. References OnRun(). Referenced by RequestPreview(). |
|
|
Definition at line 80 of file CtrlSearchDetailPanel.h. Referenced by Update(). |
|
Definition at line 102 of file CtrlSearchDetailPanel.h. Referenced by DrawThumbnail(), OnLButtonUp(), OnPreviewLoaded(), OnSetCursor(), RequestPreview(), and Update(). |
|
Definition at line 104 of file CtrlSearchDetailPanel.h. Referenced by CancelPreview(), DrawThumbnail(), OnLButtonUp(), OnPreviewLoaded(), OnRun(), and OnSetCursor(). |
|
Definition at line 110 of file CtrlSearchDetailPanel.h. Referenced by CancelPreview(), DrawThumbnail(), and OnPreviewLoaded(). |
|
Definition at line 103 of file CtrlSearchDetailPanel.h. Referenced by CancelPreview(), OnPreviewLoaded(), OnRun(), and RequestPreview(). |
|
Definition at line 106 of file CtrlSearchDetailPanel.h. Referenced by OnDestroy(), OnRun(), and RequestPreview(). |
|
Definition at line 85 of file CtrlSearchDetailPanel.h. Referenced by OnLButtonUp(), OnPaint(), OnRun(), OnSetCursor(), OnSize(), RequestPreview(), and Update(). |
|
Definition at line 113 of file CtrlSearchDetailPanel.h. Referenced by DrawThumbnail(). |
|
Definition at line 105 of file CtrlSearchDetailPanel.h. Referenced by OnDestroy(), and RequestPreview(). |
|
Definition at line 93 of file CtrlSearchDetailPanel.h. Referenced by DrawThumbnail(), and Update(). |
|
Definition at line 92 of file CtrlSearchDetailPanel.h. Referenced by DrawThumbnail(), and Update(). |
|
Definition at line 94 of file CtrlSearchDetailPanel.h. |
|
Definition at line 98 of file CtrlSearchDetailPanel.h. Referenced by OnMouseWheel(). |
|
Definition at line 114 of file CtrlSearchDetailPanel.h. Referenced by DrawThumbnail(), and OnPreviewLoaded(). |
|
Definition at line 86 of file CtrlSearchDetailPanel.h. Referenced by CachePreviewImage(), DrawThumbnail(), and Update(). |
|
Definition at line 84 of file CtrlSearchDetailPanel.h. Referenced by CachePreviewImage(), DrawThumbnail(), and Update(). |
|
Definition at line 96 of file CtrlSearchDetailPanel.h. Referenced by OnLButtonUp(), OnPaint(), OnSetCursor(), OnSize(), and Update(). |
|
Definition at line 108 of file CtrlSearchDetailPanel.h. Referenced by CancelPreview(), OnRun(), RequestPreview(), and Update(). |
|
Definition at line 107 of file CtrlSearchDetailPanel.h. Referenced by CancelPreview(), and ExecuteRequest(). |
|
Definition at line 97 of file CtrlSearchDetailPanel.h. Referenced by ClearReviews(), OnLButtonUp(), OnPaint(), OnSetCursor(), OnSize(), OnVScroll(), and Update(). |
|
Definition at line 95 of file CtrlSearchDetailPanel.h. Referenced by Update(). |
|
Definition at line 100 of file CtrlSearchDetailPanel.h. Referenced by CancelPreview(), OnPaint(), OnPreviewLoaded(), OnRun(), RequestPreview(), and Update(). |
|
Definition at line 87 of file CtrlSearchDetailPanel.h. Referenced by DrawThumbnail(), ExecuteRequest(), OnPreviewLoaded(), OnRun(), and Update(). |
|
Definition at line 101 of file CtrlSearchDetailPanel.h. Referenced by OnDestroy(), OnRun(), and RequestPreview(). |
|
Definition at line 90 of file CtrlSearchDetailPanel.h. Referenced by OnLButtonUp(), OnPaint(), and OnSetCursor(). |
|
Definition at line 112 of file CtrlSearchDetailPanel.h. Referenced by DrawThumbnail(), OnLButtonUp(), and OnSetCursor(). |
|
Definition at line 88 of file CtrlSearchDetailPanel.h. |
|
Definition at line 91 of file CtrlSearchDetailPanel.h. |
|
Definition at line 89 of file CtrlSearchDetailPanel.h. |
|
Definition at line 111 of file CtrlSearchDetailPanel.h. Referenced by DrawThumbnail(), and OnPreviewLoaded(). |