#include <volumebar.h>
Public Methods | |
volumebar () | |
Protected Methods | |
virtual void | DoDataExchange (CDataExchange *pDX) |
afx_msg void | OnButtonRenderVolume () |
afx_msg void | OnRadioVolumeNn () |
afx_msg void | OnRadioVolumeTri () |
afx_msg void | OnShowWindow (BOOL bShow, UINT nStatus) |
afx_msg void | OnUpdateButtonRenderVolume (CCmdUI *pCmdUI) |
Private Types | |
enum | { IDD = IDR_VOLUMEFRAME } |
Private Attributes | |
float | m_fVolumeStepLength |
int | m_dRenderType |
|
Definition at line 18 of file volumebar.h.
00018 { IDD = IDR_VOLUMEFRAME }; |
|
Definition at line 27 of file volumebar.cpp. References m_dRenderType, m_fVolumeStepLength, and NN.
00028 : CDialog(volumebar::IDD, pParent) 00029 : CDialogBar() 00030 { 00031 //{{AFX_DATA_INIT(volumebar) 00032 m_fVolumeStepLength = 1.0f; 00033 //}}AFX_DATA_INIT 00034 00035 00036 m_dRenderType = NN; 00037 } |
|
Definition at line 40 of file volumebar.cpp.
00041 { 00042 // CDialog::DoDataExchange(pDX); 00043 //{{AFX_DATA_MAP(volumebar) 00044 DDX_Text(pDX, IDC_EDIT_STEP_LENGTH, m_fVolumeStepLength); 00045 DDV_MinMaxFloat(pDX, m_fVolumeStepLength, 1.f, 10.f); 00046 //}}AFX_DATA_MAP 00047 } |
|
Definition at line 108 of file volumebar.cpp. References Raycaster::Raycast(), and raycaster.
|
|
Definition at line 68 of file volumebar.cpp. References m_dRenderType, NN, raycaster, and Raycaster::SetRaytype().
00069 { 00070 // TODO: Add your control notification handler code here 00071 if (!raycaster) 00072 return; 00073 00074 raycaster->SetRaytype(NN); 00075 m_dRenderType = NN; 00076 } |
|
Definition at line 78 of file volumebar.cpp. References m_dRenderType, raycaster, Raycaster::SetRaytype(), and TRI.
00079 { 00080 // TODO: Add your control notification handler code here 00081 if (!raycaster) 00082 return; 00083 00084 raycaster->SetRaytype(TRI); 00085 m_dRenderType = TRI; 00086 } |
|
Definition at line 88 of file volumebar.cpp. References IDC_RADIO_VOLUME_NN, IDC_RADIO_VOLUME_TRI, NN, and TRI.
00089 { 00090 CDialogBar::OnShowWindow(bShow, nStatus); 00091 00092 UpdateData(FALSE); 00093 00094 // TODO: Add your message handler code here 00095 int button; 00096 switch (m_dRenderType) { 00097 case NN: 00098 button = IDC_RADIO_VOLUME_NN; 00099 break; 00100 case TRI: 00101 button = IDC_RADIO_VOLUME_TRI; 00102 break; 00103 } 00104 ((CButton *)GetDlgItem(button))->SetCheck(1); 00105 } |
|
|
|
Definition at line 23 of file volumebar.h. Referenced by OnRadioVolumeNn(), OnRadioVolumeTri(), and volumebar(). |
|
Definition at line 19 of file volumebar.h. Referenced by volumebar(). |