#include <CtrlTaskPanel.h>
Inheritance diagram for CTaskBox:
Public Member Functions | |
CTaskBox () | |
virtual | ~CTaskBox () |
CTaskPanel * | GetPanel () const |
void | SetCaption (LPCTSTR pszCaption) |
void | SetIcon (HICON hIcon, BOOL bDelete=FALSE) |
void | SetSize (int nHeight) |
void | SetPrimary (BOOL bPrimary=TRUE) |
void | SetWatermark (HBITMAP hBitmap) |
void | SetCaptionmark (HBITMAP hBitmap, BOOL bDefault=TRUE) |
void | Expand (BOOL bOpen=TRUE) |
virtual BOOL | Create (CTaskPanel *pPanel, int nHeight=0, LPCTSTR pszCaption=NULL, UINT nIDIcon=0) |
Protected Member Functions | |
int | GetOuterHeight () const |
void | PaintBorders () |
void | InvalidateNonclient () |
virtual void | OnExpanded (BOOL bOpen) |
afx_msg void | OnNcCalcSize (BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR *lpncsp) |
afx_msg void | OnNcPaint () |
afx_msg UINT | OnNcHitTest (CPoint point) |
afx_msg BOOL | OnNcActivate (BOOL bActive) |
afx_msg void | OnPaint () |
afx_msg void | OnSysCommand (UINT nID, LPARAM lParam) |
afx_msg BOOL | OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message) |
afx_msg void | OnNcLButtonUp (UINT nHitTest, CPoint point) |
afx_msg void | OnTimer (UINT nIDEvent) |
afx_msg void | OnNcLButtonDown (UINT nHitTest, CPoint point) |
Protected Attributes | |
CBitmap | m_bmWatermark |
CBitmap | m_bmCaptionmark |
BOOL | m_bCaptionCurve |
Private Attributes | |
CTaskPanel * | m_pPanel |
int | m_nHeight |
BOOL | m_bVisible |
BOOL | m_bOpen |
BOOL | m_bHover |
BOOL | m_bPrimary |
HICON | m_hIcon |
BOOL | m_bIconDel |
Friends | |
class | CTaskPanel |
|
Definition at line 287 of file CtrlTaskPanel.cpp. References m_bCaptionCurve, m_bHover, m_bIconDel, m_bOpen, m_bPrimary, m_bVisible, m_hIcon, m_nHeight, m_pPanel, and NULL. |
|
Definition at line 300 of file CtrlTaskPanel.cpp. References m_bIconDel, and m_hIcon. |
|
Definition at line 308 of file CtrlTaskPanel.cpp. References CreateMirroredIcon(), m_bOpen, CShareazaApp::m_bRTL, m_hIcon, m_nHeight, CTaskPanel::m_nMargin, m_pPanel, NULL, and theApp. Referenced by CRichTaskBox::Create(), and CSearchPanel::OnCreate(). |
|
Definition at line 409 of file CtrlTaskPanel.cpp. References InvalidateNonclient(), m_bOpen, m_pPanel, NULL, CTaskPanel::OnChanged(), OnExpanded(), and theApp. Referenced by CSearchResultsBox::CSearchResultsBox(), and OnNcLButtonUp(). |
|
Definition at line 431 of file CtrlTaskPanel.cpp. References CAPTION_HEIGHT, m_bOpen, m_bVisible, and m_nHeight. Referenced by CTaskPanel::Layout(), and CTaskPanel::OnSize(). |
|
Definition at line 340 of file CtrlTaskPanel.cpp. References m_pPanel, and NULL. Referenced by CRichTaskBox::OnCreate(), CSearchInputBox::OnSearchStart(), CSearchInputBox::OnSearchStop(), and CSearchInputBox::OnSelChangeSchemas(). |
|
Definition at line 584 of file CtrlTaskPanel.cpp. References CAPTION_HEIGHT, and NULL. Referenced by Expand(), SetCaption(), and SetIcon(). |
|
Reimplemented in CSearchResultsBox. Definition at line 427 of file CtrlTaskPanel.cpp. Referenced by Expand(). |
|
Definition at line 504 of file CtrlTaskPanel.cpp. References PaintBorders(). |
|
Definition at line 440 of file CtrlTaskPanel.cpp. References CAPTION_HEIGHT. |
|
Definition at line 450 of file CtrlTaskPanel.cpp. References CAPTION_HEIGHT. Referenced by OnTimer(). |
|
Definition at line 482 of file CtrlTaskPanel.cpp. |
|
Definition at line 486 of file CtrlTaskPanel.cpp. |
|
Definition at line 510 of file CtrlTaskPanel.cpp. References PaintBorders(). |
|
Reimplemented in CHomeDownloadsBox, CHomeLibraryBox, CSearchInputBox, CSearchAdvancedBox, and CSearchResultsBox. Definition at line 596 of file CtrlTaskPanel.cpp. References CoolInterface, CCoolInterface::DrawWatermark(), m_bmWatermark, and CCoolInterface::m_crTaskBoxClient. |
|
Reimplemented in CHomeDownloadsBox, and CHomeLibraryBox. Definition at line 464 of file CtrlTaskPanel.cpp. References IDC_HAND, m_bHover, NULL, PaintBorders(), and theApp. Referenced by CHomeLibraryBox::OnSetCursor(), and CHomeDownloadsBox::OnSetCursor(). |
|
Definition at line 609 of file CtrlTaskPanel.cpp. |
|
Reimplemented in CHomeDownloadsBox, and CHomeLibraryBox. Definition at line 491 of file CtrlTaskPanel.cpp. References m_bHover, OnNcHitTest(), and PaintBorders(). Referenced by CHomeLibraryBox::OnTimer(), and CHomeDownloadsBox::OnTimer(). |
|
|
Definition at line 347 of file CtrlTaskPanel.cpp. References InvalidateNonclient(). Referenced by CSearchPanel::OnSchemaChange(), CSearchPanel::OnSkinChange(), CHomeTorrentsBox::Setup(), CHomeConnectionBox::Setup(), CHomeUploadsBox::Setup(), CHomeLibraryBox::Setup(), and CHomeDownloadsBox::Setup(). |
|
Definition at line 390 of file CtrlTaskPanel.cpp. References CoolInterface, IDB_TASKBOX_CAPTION, m_bCaptionCurve, m_bmCaptionmark, m_bPrimary, CCoolInterface::m_crTaskBoxPrimaryBack, and NULL. Referenced by CSearchPanel::OnSkinChange(), CHomeTorrentsBox::Setup(), CHomeConnectionBox::Setup(), CHomeUploadsBox::Setup(), CHomeLibraryBox::Setup(), and CHomeDownloadsBox::Setup(). |
|
Definition at line 359 of file CtrlTaskPanel.cpp. References InvalidateNonclient(), m_bIconDel, and m_hIcon. Referenced by CSearchPanel::OnSchemaChange(). |
|
Definition at line 377 of file CtrlTaskPanel.cpp. References m_bPrimary, and m_pPanel. Referenced by CHomeConnectionBox::CHomeConnectionBox(), CHomeDownloadsBox::CHomeDownloadsBox(), CHomeLibraryBox::CHomeLibraryBox(), CHomeTorrentsBox::CHomeTorrentsBox(), CHomeUploadsBox::CHomeUploadsBox(), and CSearchInputBox::OnCreate(). |
|
Definition at line 370 of file CtrlTaskPanel.cpp. References m_nHeight, and m_pPanel. Referenced by CSearchPanel::OnSchemaChange(), CRichTaskBox::OnSize(), CHomeLibraryBox::OnSize(), CHomeDownloadsBox::OnSize(), CRichTaskBox::Update(), CHomeLibraryBox::Update(), and CHomeDownloadsBox::Update(). |
|
Definition at line 384 of file CtrlTaskPanel.cpp. References m_bmWatermark, and NULL. Referenced by CSearchPanel::OnSkinChange(). |
|
Definition at line 151 of file CtrlTaskPanel.h. |
|
Definition at line 109 of file CtrlTaskPanel.h. Referenced by CTaskBox(), PaintBorders(), and SetCaptionmark(). |
|
Definition at line 102 of file CtrlTaskPanel.h. Referenced by CTaskBox(), OnSetCursor(), OnTimer(), and PaintBorders(). |
|
Definition at line 105 of file CtrlTaskPanel.h. Referenced by CTaskBox(), SetIcon(), and ~CTaskBox(). |
|
Definition at line 108 of file CtrlTaskPanel.h. Referenced by PaintBorders(), and SetCaptionmark(). |
|
Definition at line 107 of file CtrlTaskPanel.h. Referenced by OnPaint(), CSearchResultsBox::OnPaint(), CSearchAdvancedBox::OnPaint(), CSearchInputBox::OnPaint(), and SetWatermark(). |
|
Definition at line 101 of file CtrlTaskPanel.h. Referenced by Create(), CTaskBox(), Expand(), GetOuterHeight(), CTaskPanel::Layout(), OnNcLButtonUp(), and PaintBorders(). |
|
Definition at line 103 of file CtrlTaskPanel.h. Referenced by CTaskBox(), PaintBorders(), SetCaptionmark(), and SetPrimary(). |
|
Definition at line 100 of file CtrlTaskPanel.h. Referenced by CTaskBox(), GetOuterHeight(), and CTaskPanel::Layout(). |
|
Definition at line 104 of file CtrlTaskPanel.h. Referenced by Create(), CTaskBox(), SetIcon(), and ~CTaskBox(). |
|
Definition at line 99 of file CtrlTaskPanel.h. Referenced by Create(), CTaskBox(), GetOuterHeight(), CTaskPanel::Layout(), and SetSize(). |
|
Definition at line 98 of file CtrlTaskPanel.h. Referenced by Create(), CTaskBox(), Expand(), GetPanel(), PaintBorders(), SetPrimary(), and SetSize(). |