diff options
author | Aleksoid <aleksoid@users.sourceforge.net> | 2009-03-16 06:36:49 +0300 |
---|---|---|
committer | Aleksoid <aleksoid@users.sourceforge.net> | 2009-03-16 06:36:49 +0300 |
commit | b7de2839edaf77c68d07467dfe018317e775dea2 (patch) | |
tree | 09dbf9b76da14e088c20199eca8773e7e4c8a5b7 /src/apps/MPCTestAPI | |
parent | 23771967b975a387c36de54165af3d6de7792d7c (diff) |
ADD MpcApi command : CMD_TOGGLEFULLSCREEN, CMD_JUMPFORWARDMED, CMD_JUMPBACKWARDMED, CMD_INCREASEVOLUME, CMD_DECREASEVOLUME,
CMD_SHADER_TOGGLE, CMD_CLOSEAPP
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1011 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/MPCTestAPI')
-rw-r--r-- | src/apps/MPCTestAPI/MPCTestAPI.rc | 19 | ||||
-rw-r--r-- | src/apps/MPCTestAPI/MPCTestAPIDlg.cpp | 23 |
2 files changed, 41 insertions, 1 deletions
diff --git a/src/apps/MPCTestAPI/MPCTestAPI.rc b/src/apps/MPCTestAPI/MPCTestAPI.rc index 58c3874f4..706b6e311 100644 --- a/src/apps/MPCTestAPI/MPCTestAPI.rc +++ b/src/apps/MPCTestAPI/MPCTestAPI.rc @@ -161,6 +161,25 @@ BEGIN IDC_COMBO1, 0x403, 19, 0
0x6553, 0x2074, 0x7573, 0x7462, 0x7469, 0x656c, 0x7420, 0x6172, 0x6b63,
"\000"
+ IDC_COMBO1, 0x403, 11, 0
+0x7546, 0x6c6c, 0x6353, 0x6572, 0x6e65, "\000"
+ IDC_COMBO1, 0x403, 19, 0
+0x4d43, 0x5f44, 0x554a, 0x504d, 0x4f46, 0x5752, 0x5241, 0x4d44, 0x4445,
+"\000"
+ IDC_COMBO1, 0x403, 20, 0
+0x4d43, 0x5f44, 0x554a, 0x504d, 0x4142, 0x4b43, 0x4157, 0x4452, 0x454d,
+0x0044,
+ IDC_COMBO1, 0x403, 19, 0
+0x4d43, 0x5f44, 0x4e49, 0x5243, 0x4145, 0x4553, 0x4f56, 0x554c, 0x454d,
+"\000"
+ IDC_COMBO1, 0x403, 19, 0
+0x4d43, 0x5f44, 0x4544, 0x5243, 0x4145, 0x4553, 0x4f56, 0x554c, 0x454d,
+"\000"
+ IDC_COMBO1, 0x403, 18, 0
+0x4d43, 0x5f44, 0x4853, 0x4441, 0x5245, 0x545f, 0x474f, 0x4c47, 0x0045,
+
+ IDC_COMBO1, 0x403, 13, 0
+0x4d43, 0x5f44, 0x4c43, 0x534f, 0x4145, 0x5050, "\000"
0
END
diff --git a/src/apps/MPCTestAPI/MPCTestAPIDlg.cpp b/src/apps/MPCTestAPI/MPCTestAPIDlg.cpp index d4cf53ed6..c9f2e0414 100644 --- a/src/apps/MPCTestAPI/MPCTestAPIDlg.cpp +++ b/src/apps/MPCTestAPI/MPCTestAPIDlg.cpp @@ -152,7 +152,7 @@ BOOL CRegisterCopyDataDlg::OnInitDialog() SetIcon(m_hIcon, FALSE); // Set small icon
// TODO: Add extra initialization here
- m_strMPCPath = _T("..\\mplayerc\\Debug Unicode\\mplayerc.exe");
+ m_strMPCPath = _T("..\\mplayerc\\Release Unicode\\mplayerc.exe");
UpdateData(FALSE);
return TRUE; // return TRUE unless you set the focus to a control
@@ -316,5 +316,26 @@ void CRegisterCopyDataDlg::OnBnClickedButtonSendcommand() case 15 :
Senddata (CMD_SETSUBTITLETRACK, m_txtCommand);
break;
+ case 16 :
+ Senddata (CMD_TOGGLEFULLSCREEN, m_txtCommand);
+ break;
+ case 17 :
+ Senddata (CMD_JUMPFORWARDMED, m_txtCommand);
+ break;
+ case 18 :
+ Senddata (CMD_JUMPBACKWARDMED, m_txtCommand);
+ break;
+ case 19 :
+ Senddata (CMD_INCREASEVOLUME, m_txtCommand);
+ break;
+ case 20 :
+ Senddata (CMD_DECREASEVOLUME, m_txtCommand);
+ break;
+ case 21 :
+ Senddata (CMD_SHADER_TOGGLE, m_txtCommand);
+ break;
+ case 22 :
+ Senddata (CMD_CLOSEAPP, m_txtCommand);
+ break;
}
}
|