#include <CtrlLibraryHeaderBar.h>
Inheritance diagram for CLibraryHeaderBar:
Public Member Functions | |
CLibraryHeaderBar () | |
virtual | ~CLibraryHeaderBar () |
void | Update (CLibraryView *pView) |
Protected Member Functions | |
virtual void | PrepareRect (CRect *pRect) const |
virtual void | DoPaint (CDC *pDC, CRect &rcBar, BOOL bTransparent) |
void | PaintHeader (CDC *pDC, CRect &rcBar, BOOL bTransparent) |
afx_msg void | OnLibraryView () |
afx_msg void | OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct) |
afx_msg void | OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) |
afx_msg void | OnMenuSelect (UINT nItemID, UINT nFlags, HMENU hSysMenu) |
afx_msg void | OnEnterIdle (UINT nWhy, CWnd *pWho) |
Protected Attributes | |
CLibraryView * | m_pLastView |
int | m_nImage |
CString | m_sTitle |
CCoolMenu * | m_pCoolMenu |
|
Definition at line 55 of file CtrlLibraryHeaderBar.cpp. References NULL. |
|
Definition at line 62 of file CtrlLibraryHeaderBar.cpp. |
|
Reimplemented from CCoolBarCtrl. Definition at line 112 of file CtrlLibraryHeaderBar.cpp. References CCoolBarCtrl::DoPaint(), CCoolBarCtrl::m_czLast, and PaintHeader(). |
|
Definition at line 241 of file CtrlLibraryHeaderBar.cpp. References m_pCoolMenu, and CCoolMenu::OnDrawItem(). |
|
Definition at line 251 of file CtrlLibraryHeaderBar.cpp. |
|
Definition at line 192 of file CtrlLibraryHeaderBar.cpp. References CCoolMenu::AddMenu(), CSkin::GetWatermark(), ID_LIBRARY_VIEW, CSkin::LoadString(), CLibraryView::m_bAvailable, CLibraryView::m_nCommandID, m_pCoolMenu, m_pLastView, CLibraryFrame::m_pViews, NULL, CLibraryFrame::SetView(), CCoolMenu::SetWatermark(), Skin, and CCoolBarCtrl::ThrowMenu(). |
|
Definition at line 236 of file CtrlLibraryHeaderBar.cpp. References m_pCoolMenu, and CCoolMenu::OnMeasureItem(). |
|
Definition at line 246 of file CtrlLibraryHeaderBar.cpp. |
|
Definition at line 128 of file CtrlLibraryHeaderBar.cpp. References CoolInterface, CShellIcons::GetHandle(), CCoolInterface::m_crCmdText, CCoolInterface::m_crMidtone, CCoolInterface::m_fntBold, m_nImage, m_sTitle, NULL, and ShellIcons. Referenced by DoPaint(). |
|
Reimplemented from CCoolBarCtrl. Definition at line 103 of file CtrlLibraryHeaderBar.cpp. References CCoolBarCtrl::m_czLast, and CCoolBarCtrl::PrepareRect(). |
|
Definition at line 69 of file CtrlLibraryHeaderBar.cpp. References CLibraryView::GetHeaderContent(), CCoolBarCtrl::GetID(), ID_LIBRARY_VIEW, CSkin::LoadString(), CLibraryView::m_nCommandID, m_nImage, m_pLastView, m_sTitle, NULL, CCoolBarCtrl::OnUpdated(), SHI_FOLDER_CLOSED, and Skin. Referenced by CLibraryFrame::SetView(). |
|
Definition at line 45 of file CtrlLibraryHeaderBar.h. Referenced by PaintHeader(), and Update(). |
|
Definition at line 48 of file CtrlLibraryHeaderBar.h. Referenced by OnDrawItem(), OnLibraryView(), and OnMeasureItem(). |
|
Definition at line 44 of file CtrlLibraryHeaderBar.h. Referenced by OnLibraryView(), and Update(). |
|
Definition at line 46 of file CtrlLibraryHeaderBar.h. Referenced by PaintHeader(), and Update(). |