#include <srBar.h>
Inheritance diagram for CBar:
Public Member Functions | |
void | SetObject (CObjectView *pObject) |
BOOL | Create (CWnd *pWnd) |
void | Init () |
bool | HasButtonText (UINT nID) |
CBar () | |
virtual | ~CBar () |
Protected Member Functions | |
afx_msg void | OnUpdateZoom (CCmdUI *pCmdUI) |
afx_msg void | OnUpdateSurface (CCmdUI *pCmdUI) |
afx_msg void | OnUpdatePlane (CCmdUI *pCmdUI) |
Private Attributes | |
CFont | m_font |
CObjectView * | m_pObject |
Definition at line 9 of file srBar.h.
BOOL CBar::Create | ( | CWnd * | pWnd | ) |
Definition at line 41 of file srBar.cpp.
References CToolBarEx::Create(), FALSE, and TRUE.
Referenced by CFrame::OnCreate().
bool CBar::HasButtonText | ( | UINT | nID | ) | [virtual] |
Reimplemented from CToolBarEx.
Definition at line 91 of file srBar.cpp.
References ID_SIM_RESET, ID_SIM_START, ID_SIM_STEP, and ID_VIEW_TREE.
void CBar::Init | ( | ) | [virtual] |
Reimplemented from CToolBarEx.
Definition at line 52 of file srBar.cpp.
References BTNS_WHOLEDROPDOWN, ID_DETAIL_SENSORS, ID_PLANE, ID_SIM_RESET, ID_SIM_START, ID_SIM_STEP, ID_SURFACE, ID_VIEW_COLOR, ID_VIEW_COLUMN, ID_VIEW_GRID, ID_VIEW_LINE, ID_VIEW_MONO, ID_VIEW_SELECTED, ID_VIEW_STEREO, ID_VIEW_TREE, ID_ZOOM, IDB_TOOLBARL, IDR_MAINFRAME, ioSmallIcons, CToolBarEx::SetBitmaps(), CToolBarEx::SetButtons(), and toNoTextLabels.
Referenced by CFrame::OnCreate().
void CBar::OnUpdatePlane | ( | CCmdUI * | pCmdUI | ) | [protected] |
void CBar::OnUpdateSurface | ( | CCmdUI * | pCmdUI | ) | [protected] |
void CBar::OnUpdateZoom | ( | CCmdUI * | pCmdUI | ) | [protected] |
void CBar::SetObject | ( | CObjectView * | pObject | ) | [inline] |
CFont CBar::m_font [private] |
CObjectView* CBar::m_pObject [private] |
Definition at line 14 of file srBar.h.
Referenced by OnUpdatePlane(), OnUpdateSurface(), OnUpdateZoom(), and SetObject().