#include <CtrlCoolBar.h>
Public Member Functions | |
CCoolBarItem (CCoolBarCtrl *pBar, UINT nID=ID_SEPARATOR, int nImage=-1) | |
CCoolBarItem (CCoolBarCtrl *pBar, CCoolBarItem *pCopy) | |
virtual | ~CCoolBarItem () |
virtual void | Show (BOOL bOn) |
virtual void | Enable (BOOL bOn) |
virtual void | SetCheck (int nCheck) |
virtual void | SetImage (UINT nCommandID) |
virtual void | SetText (LPCTSTR lpszText) |
virtual void | SetTip (LPCTSTR pszTip) |
virtual void | SetTextColour (COLORREF crText=0xFFFFFFFF) |
Static Public Member Functions | |
static CCoolBarItem * | FromCmdUI (CCmdUI *pUI) |
Public Attributes | |
BOOL | m_bVisible |
BOOL | m_bEnabled |
BOOL | m_bChecked |
int | m_nImage |
CString | m_sText |
CString | m_sTip |
COLORREF | m_crText |
UINT | m_nCtrlID |
int | m_nCtrlHeight |
Protected Member Functions | |
void | Paint (CDC *pDC, CRect &rc, BOOL bDown, BOOL bHot, BOOL bMenuGray, BOOL bTransparent) |
Protected Attributes | |
CCoolBarCtrl * | m_pBar |
BOOL | m_bDirty |
int | m_nWidth |
Friends | |
class | CCoolBarCtrl |
|
Definition at line 903 of file CtrlCoolBar.cpp. References CONTROL_HEIGHT, ID_RIGHTALIGN, ID_SEPARATOR, IMAGEBUTTON_WIDTH, m_bChecked, m_bEnabled, m_bVisible, m_crText, m_nCtrlHeight, m_nCtrlID, m_nImage, m_nWidth, m_pBar, and SEPARATOR_WIDTH. |
|
Definition at line 930 of file CtrlCoolBar.cpp. References CoolInterface, CCoolInterface::ImageForID(), m_bChecked, m_bEnabled, m_bVisible, m_crText, m_nCtrlHeight, m_nCtrlID, m_nImage, m_nWidth, m_pBar, m_sText, m_sTip, and SetText(). |
|
Definition at line 949 of file CtrlCoolBar.cpp. |
|
Definition at line 964 of file CtrlCoolBar.cpp. References m_bEnabled, and NULL. |
|
|
|
Definition at line 971 of file CtrlCoolBar.cpp. References m_bChecked, m_bDirty, and NULL. Referenced by CSearchWnd::OnUpdateSearchPanel(). |
|
Definition at line 1014 of file CtrlCoolBar.cpp. References CoolInterface, CCoolInterface::ImageForID(), m_bDirty, m_nImage, and NULL. |
|
Definition at line 979 of file CtrlCoolBar.cpp. References BUTTON_WIDTH, CoolInterface, IMAGE_WIDTH, CCoolBarCtrl::m_bBold, m_bDirty, CCoolInterface::m_fntBold, CCoolInterface::m_fntNormal, m_nImage, m_nWidth, m_pBar, m_sText, NULL, and TEXT_GAP. Referenced by CCoolBarCtrl::Add(), CCoolBarItem(), CMainWnd::OnUpdateTabConnect(), and CCoolMenuBarCtrl::SetMenu(). |
|
Definition at line 1006 of file CtrlCoolBar.cpp. |
|
Definition at line 998 of file CtrlCoolBar.cpp. References m_bDirty, m_sTip, and NULL. Referenced by CSkin::CreateToolBar(), CSearchWnd::OnUpdateSearchPanel(), and CMainWnd::OnUpdateTabConnect(). |
|
Definition at line 956 of file CtrlCoolBar.cpp. References m_bDirty, m_bVisible, and NULL. Referenced by CSkin::CreateToolBar(), CPlugins::OnUpdate(), and CLibraryTreeView::OnUpdateLibraryParent(). |
|
Definition at line 162 of file CtrlCoolBar.h. |
|
Definition at line 134 of file CtrlCoolBar.h. Referenced by CCoolBarItem(), Paint(), and SetCheck(). |
|
Definition at line 144 of file CtrlCoolBar.h. Referenced by CCoolBarCtrl::OnUpdateCmdUI(), SetCheck(), SetImage(), SetText(), SetTextColour(), SetTip(), and Show(). |
|
Definition at line 133 of file CtrlCoolBar.h. Referenced by CCoolBarItem(), Enable(), CCoolBarCtrl::OnLButtonDown(), CCoolBarCtrl::OnUpdateCmdUI(), and Paint(). |
|
Definition at line 132 of file CtrlCoolBar.h. Referenced by CCoolBarCtrl::CalcFixedLayout(), CCoolBarItem(), CCoolBarCtrl::DoPaint(), CCoolBarCtrl::GetItemRect(), CCoolBarCtrl::HitTest(), and Show(). |
|
Definition at line 139 of file CtrlCoolBar.h. Referenced by CCoolBarItem(), CSkin::CreateToolBar(), Paint(), and SetTextColour(). |
|
Definition at line 141 of file CtrlCoolBar.h. Referenced by CCoolBarCtrl::Add(), CCoolBarItem(), and Paint(). |
|
Definition at line 140 of file CtrlCoolBar.h. Referenced by CCoolBarCtrl::Add(), CCoolBarItem(), CCoolBarCtrl::DoPaint(), CCoolBarCtrl::OnUpdateCmdUI(), and Paint(). |
|
Definition at line 136 of file CtrlCoolBar.h. Referenced by CCoolBarCtrl::Add(), CCoolBarItem(), Paint(), SetImage(), and SetText(). |
|
Definition at line 145 of file CtrlCoolBar.h. Referenced by CCoolBarCtrl::Add(), CCoolBarCtrl::CalcFixedLayout(), CCoolBarItem(), CCoolBarCtrl::DoPaint(), CCoolBarCtrl::GetItemRect(), CCoolBarCtrl::HitTest(), and SetText(). |
|
Definition at line 143 of file CtrlCoolBar.h. Referenced by CCoolBarItem(), and SetText(). |
|
Definition at line 137 of file CtrlCoolBar.h. Referenced by CCoolBarItem(), Paint(), and SetText(). |
|
Definition at line 138 of file CtrlCoolBar.h. Referenced by CCoolBarItem(), CCoolBarCtrl::OnToolHitTest(), and SetTip(). |