diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-04-09 18:12:59 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-04-09 18:12:59 +0400 |
commit | efbc9d9043ff8ff92716ddd00a5f61412d535593 (patch) | |
tree | 8f3e621f756cf1f5b4d64d97964c7e7abd8aaf08 /src/apps/mplayerc/LcdSupport.h | |
parent | df6b139a6d9027156f614b68687e039e3a5854db (diff) |
revert r1783
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1785 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/LcdSupport.h')
-rw-r--r-- | src/apps/mplayerc/LcdSupport.h | 69 |
1 files changed, 34 insertions, 35 deletions
diff --git a/src/apps/mplayerc/LcdSupport.h b/src/apps/mplayerc/LcdSupport.h index 436b5c0d7..8bf7ee0cd 100644 --- a/src/apps/mplayerc/LcdSupport.h +++ b/src/apps/mplayerc/LcdSupport.h @@ -33,49 +33,48 @@ #include "../../ui/LCDUI/LCDAnimatedBitmap.h"
-class CLCDMyManager : public CLCDManager
+class CLCDMyManager : public CLCDManager
{
-public:
- virtual HRESULT Initialize(void);
- virtual void OnLCDButtonUp(int nButton);
+ public:
+ virtual HRESULT Initialize(void);
+ virtual void OnLCDButtonUp(int nButton);
- CLCDScrollingText m_Text1;
- CLCDText m_Text[2];
- CLCDProgressBar m_ProgBar[2];
- CLCDAnimatedBitmap m_PlayState;
+ CLCDScrollingText m_Text1;
+ CLCDText m_Text[2];
+ CLCDProgressBar m_ProgBar[2];
+ CLCDAnimatedBitmap m_PlayState;
};
class CMPC_Lcd
{
-public:
- enum PlayState
- {
- PS_PLAY = 0,
- PS_PAUSE = 1,
- PS_STOP = 2,
- PS_UNUSED = 3
- };
+ public:
+ enum PlayState {
+ PS_PLAY = 0,
+ PS_PAUSE = 1,
+ PS_STOP = 2,
+ PS_UNUSED = 3
+ };
-private:
- lgLcdConnectContext m_ConnCtx;
- HANDLE hLCD_UpdateThread;
- HBITMAP hBmp[PS_UNUSED];
+ private:
+ lgLcdConnectContext m_ConnCtx;
+ HANDLE hLCD_UpdateThread;
+ HBITMAP hBmp[PS_UNUSED];
-public:
- CLCDOutput m_Output;
- CLCDMyManager m_Manager;
- bool Thread_Loop;
- __time64_t nThread_tTimeout;
- CRITICAL_SECTION cs;
+ public:
+ CLCDOutput m_Output;
+ CLCDMyManager m_Manager;
+ bool Thread_Loop;
+ __time64_t nThread_tTimeout;
+ CRITICAL_SECTION cs;
- CMPC_Lcd();
- ~CMPC_Lcd();
+ CMPC_Lcd();
+ ~CMPC_Lcd();
- void SetMediaTitle(const _TCHAR * text);
- void SetMediaRange(__int64 nStart, __int64 nStop);
- void SetMediaPos(__int64 nPos);
- void SetVolumeRange(__int64 nStart, __int64 nStop);
- void SetVolume(__int64 nVol);
- void SetStatusMessage(const _TCHAR * text, int nTimeOut);
- void SetPlayState(PlayState ps);
+ void SetMediaTitle(const _TCHAR * text);
+ void SetMediaRange(__int64 nStart, __int64 nStop);
+ void SetMediaPos(__int64 nPos);
+ void SetVolumeRange(__int64 nStart, __int64 nStop);
+ void SetVolume(__int64 nVol);
+ void SetStatusMessage(const _TCHAR * text, int nTimeOut);
+ void SetPlayState(PlayState ps);
};
|