diff options
Diffstat (limited to 'src/apps/mplayerc/PlayerToolBar.h')
-rw-r--r-- | src/apps/mplayerc/PlayerToolBar.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/src/apps/mplayerc/PlayerToolBar.h b/src/apps/mplayerc/PlayerToolBar.h index f43a21719..54063bbf1 100644 --- a/src/apps/mplayerc/PlayerToolBar.h +++ b/src/apps/mplayerc/PlayerToolBar.h @@ -30,45 +30,45 @@ class CPlayerToolBar : public CToolBar
{
- DECLARE_DYNAMIC(CPlayerToolBar)
+ DECLARE_DYNAMIC(CPlayerToolBar)
private:
- bool IsMuted();
- void SetMute(bool fMute = true);
- int m_nButtonHeight;
+ bool IsMuted();
+ void SetMute(bool fMute = true);
+ int m_nButtonHeight;
public:
- CPlayerToolBar();
- virtual ~CPlayerToolBar();
+ CPlayerToolBar();
+ virtual ~CPlayerToolBar();
- int GetVolume();
- int GetMinWidth();
- void SetVolume(int volume);
- __declspec(property(get=GetVolume, put=SetVolume)) int Volume;
+ int GetVolume();
+ int GetMinWidth();
+ void SetVolume(int volume);
+ __declspec(property(get=GetVolume, put=SetVolume)) int Volume;
- void ArrangeControls();
+ void ArrangeControls();
- CVolumeCtrl m_volctrl;
+ CVolumeCtrl m_volctrl;
// Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPlayerToolBar)
- virtual BOOL Create(CWnd* pParentWnd);
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- //}}AFX_VIRTUAL
+ // ClassWizard generated virtual function overrides
+ //{{AFX_VIRTUAL(CPlayerToolBar)
+ virtual BOOL Create(CWnd* pParentWnd);
+ virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
+ //}}AFX_VIRTUAL
// Generated message map functions
protected:
- //{{AFX_MSG(CPlayerToolBar)
- afx_msg void OnPaint();
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnInitialUpdate();
- afx_msg BOOL OnVolumeMute(UINT nID);
- afx_msg void OnUpdateVolumeMute(CCmdUI* pCmdUI);
- afx_msg BOOL OnVolumeUp(UINT nID);
- afx_msg BOOL OnVolumeDown(UINT nID);
- afx_msg void OnNcPaint();
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
+ //{{AFX_MSG(CPlayerToolBar)
+ afx_msg void OnPaint();
+ afx_msg void OnSize(UINT nType, int cx, int cy);
+ afx_msg void OnInitialUpdate();
+ afx_msg BOOL OnVolumeMute(UINT nID);
+ afx_msg void OnUpdateVolumeMute(CCmdUI* pCmdUI);
+ afx_msg BOOL OnVolumeUp(UINT nID);
+ afx_msg BOOL OnVolumeDown(UINT nID);
+ afx_msg void OnNcPaint();
+ afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
+ //}}AFX_MSG
+ DECLARE_MESSAGE_MAP()
};
|