CBar Class Reference

#include <srBar.h>

Inheritance diagram for CBar:

CToolBarEx List of all members.

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
CObjectViewm_pObject

Detailed Description

Definition at line 9 of file srBar.h.


Constructor & Destructor Documentation

CBar::CBar (  ) 

Definition at line 21 of file srBar.cpp.

CBar::~CBar (  )  [virtual]

Definition at line 26 of file srBar.cpp.


Member Function Documentation

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]

Definition at line 115 of file srBar.cpp.

References m_pObject.

void CBar::OnUpdateSurface ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 110 of file srBar.cpp.

References m_pObject.

void CBar::OnUpdateZoom ( CCmdUI *  pCmdUI  )  [protected]

Definition at line 105 of file srBar.cpp.

References m_pObject.

void CBar::SetObject ( CObjectView pObject  )  [inline]

Definition at line 16 of file srBar.h.

References m_pObject.


Member Data Documentation

CFont CBar::m_font [private]

Definition at line 13 of file srBar.h.

CObjectView* CBar::m_pObject [private]

Definition at line 14 of file srBar.h.

Referenced by OnUpdatePlane(), OnUpdateSurface(), OnUpdateZoom(), and SetObject().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:19:42 2006 for DT2005.panorama by  doxygen 1.4.7