Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpc-hc/PlayerToolBar.h')
-rw-r--r--src/mpc-hc/PlayerToolBar.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/mpc-hc/PlayerToolBar.h b/src/mpc-hc/PlayerToolBar.h
index 4880b1064..2d8ed9e47 100644
--- a/src/mpc-hc/PlayerToolBar.h
+++ b/src/mpc-hc/PlayerToolBar.h
@@ -1,6 +1,6 @@
/*
* (C) 2003-2006 Gabest
- * (C) 2006-2014 see Authors.txt
+ * (C) 2006-2014, 2016 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -37,12 +37,17 @@ private:
bool IsMuted() const;
void SetMute(bool fMute = true);
int getHitButtonIdx(CPoint point);
- bool LoadExternalToolBar(CImage* image);
+ bool LoadExternalToolBar(CImage& image);
+ void LoadToolbarImage();
int m_nButtonHeight;
- CImageList* m_pButtonsImages;
+ std::unique_ptr<CImageList> m_pButtonsImages;
+ std::unique_ptr<CImageList> m_pDisabledButtonsImages;
int m_volumeMinSizeInc;
+ EventClient m_eventc;
+ void EventCallback(MpcEvent ev);
+
public:
CPlayerToolBar(CMainFrame* pMainFrame);
virtual ~CPlayerToolBar();