Skip to content

Commit e76d4d8

Browse files
committed
first commit
Signed-off-by: ilylia <[email protected]>
1 parent e8860cb commit e76d4d8

File tree

138 files changed

+34043
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+34043
-0
lines changed

README

+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
��ʽ��Ļ��
2+
=======================================
3+
4+
5+
��ʽ��Ļ��������
6+
---------------------------------------
7+
8+
###���
9+
* ����ת����
10+
* ����϶�ʱ����޸�ʱ��
11+
* ����϶���ǰʱ����
12+
13+
###v0.3.1
14+
* ���ӣ���lrc�е���ʱ���
15+
* ���ӣ�ѡ���Ե�ɾ��ijһ������
16+
* ���ӣ��������϶����ƶ�λ��
17+
* ���ƣ����������ļ���Ϊsyrmaker.xml
18+
* ���ƣ��༭ʱ���ʱ�򣬽�������Ϊ�༭��
19+
* ���ƣ����ڶԻ���С����
20+
* �޸������ļ��б��д��ļ�ʧ��
21+
22+
###v0.3
23+
* ����bug�޸�
24+
* ����yy�б���ms��������yynick�ˣ����������ں�
25+
* �����ļ��б�������ָ��һ��syrĿ¼��Ȼ��ֱ�����б���˫����
26+
27+
###v0.2.5
28+
* ����syr��ʽ����С�ո��֧�ָ��á����ݾɸ�ʽ��
29+
* ���鹦������
30+
* ����bug�޸�
31+
32+
###v0.2
33+
1. ʱ�������������������ֱ�۵ı�ʾ��ǰʱ�������ȫ��ʱ����е�λ������������˫����������ȫ������ʱ�����϶�������������ʾ
34+
2. �޸���һ��ʱ����������ֵ�Ч����ms�ȽϺ�����һЩ
35+
3. �ɼ�����
36+
4. �ɲ���������
37+
38+
###v0.1
39+
1. ��˵�е�1¥�����
40+
2. �½������桢���롢����Ϊ��ť��Ϊ��syr�ļ��ķֱ����
41+
3. +++��ť���������������� ---��ť���Լ�����������
42+
4. ��ʼ��ֹͣ��ťΪԤ��Ч�������Ʋ�����ֹͣ
43+
5. ���������˰�ť����ʱ������ʵ�ֿ���Ԥ��������������һ���仯ʱ���
44+
6. ��ɫʱ�������򣬺���Ϊ����ʱ���ᣬ�����С����Ϊʱ��㣬���ŵĹ�����ɫ��Ϊ��ǰʱ��
45+
7. �Ժ�ɫʱ��������IJ�����
46+
��ʱ����ϵ�����ѡ��
47+
��ʱ������˫��������ʱ���
48+
�������������м���������ʾ
49+
�������Ҽ������϶���ʾ
50+
��delete����ɾ��ѡ�е�ʱ���
51+
8. δ�뵽����ʱ����
52+
53+
54+
###ע�⣺
55+
1. �ر�ʱ����ʾ�ģ����ֶ�����
56+
2. �����κα���bug�����п��ܵģ�����ʱ���ñ��ݹ���
57+
3. ��ʱ���⻹�ܶ࣬�����ڲ�ʹ�ã������⴫���м��м�...
58+
59+
60+
61+
62+
63+
��ʽ��Ļ����
64+
---------------------------------------
65+
66+
###ʹ��˵����
67+
68+
1. ����YY����ʱֻ֧��һ��YY��������
69+
2. ���б����������ʮ����ͼ�꣬�϶���YY3.9��Ƶ�������ϣ�YY�б��л���ָ���Ļ���dzơ�
70+
ע��һ�λ�ȡ�����dzƣ����Զೢ��һ�Ρ���
71+
3. ����Ҫ��Ļ�ĸ���ļ��ϵ������������ϣ������ұ߻���ָ�����ݡ�
72+
4. ���ijһ�У���YY���dzƻ��ɸ��е��������ݡ������ʼ�����dzƻ���ݸ�ʵ�ʱ����Ϣ�ı䡣��ֹͣ����YY�dzƱ����ߵ��dzƴ�����ʾ���ݣ���ȷ������
73+
5. ǰ׺����׺�������ݣ��ǻᱻ�ӵ�������ݵ�ǰ��ͺ���ģ���ʵ�ֻ�ʽ��Ļ��
74+
6. ���˹ؼ����е����ݣ��ǻᱻ���˵ģ�������ͬ�Ĺؼ����Կո�ֿ�
75+
7. �����ļ���ΪsyrPlayer.xml
76+
77+
###ע��
78+
��ʱ���⻹�ܶ࣬�����ڲ�ʹ�ã������⴫���м��м�...
79+
80+
* �Ƽ��ÿ�ݼ��������� ��Ϊ��������ԭ����ʵ��ģ�����ͼ��̲������˹��������Ļ������ܻ���Զ���Ļ�������š���
81+
* �������Զ�Σ����޷�ʵ�֡��� ��Ҫ������Ļ������Կ��ǿ��������Ļ������ �����ῴ����ĻһƬ���ҡ��� ����ҷɡ��� ���ֵ�....
82+
83+
84+
85+
86+
87+
��ʽ��Ļ����
88+
---------------------------------------
89+
90+
###ʹ��˵����
91+
92+
1. ����YY��֧�ֶ����֧��ɳ������YY��
93+
ע��ɳ��YY��������Ҫɳ�����������ô����й���ɳ�����в�����ɳ��������
94+
2. ���б���������ˢ�°�ť����YY�б��л��������YYҪ��Ļ���û������Ҳ�İ�ť���Ե�����Ļ˳�򼰸�����
95+
3. ����Ҫ��Ļ�ĸ���ļ��ϵ������������ϣ������ұ߻���ָ�����ݡ�
96+
4. ���ijһ�У���YY���dzƻ��ɸ��е��������ݡ������ʼ�����dzƻ���ݸ�ʵ�ʱ����Ϣ�ı䡣��ֹͣ����YY�dzƱ����ߵ��dzƴ�����ʾ���ݡ�
97+
5. ǰ׺����׺�������ݣ��ǻᱻ�ӵ�������ݵ�ǰ��ͺ���ģ���ʵ�ֻ�ʽ��Ļ��
98+
6. ���˹ؼ����е����ݣ��ǻᱻ���˵ģ�������ͬ�Ĺؼ����Կո�ֿ�
99+
7. �����ļ���Ϊyynick.xml
100+
101+
###ע��
102+
��ʱ���⻹�ܶ࣬�����ڲ�ʹ�ã������⴫���м��м�...
103+

YYnick/AboutDlg.cpp

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
// AboutDlg.cpp : 实现文件
2+
//
3+
4+
#include "stdafx.h"
5+
#include "AboutDlg.h"
6+
7+
CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
8+
{
9+
}
10+
11+
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
12+
{
13+
CDialog::DoDataExchange(pDX);
14+
DDX_Control(pDX, IDC_LINK_69120, m_L69120);
15+
DDX_Control(pDX, IDC_LINK_8095, m_L8095);
16+
DDX_Control(pDX, IDC_LINK_ZIMUZU, m_Lzimuzu);
17+
DDX_Control(pDX, IDC_STATIC_VER, m_ver);
18+
}
19+
20+
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
21+
END_MESSAGE_MAP()
22+
23+
24+
BOOL CAboutDlg::OnInitDialog()
25+
{
26+
CDialog::OnInitDialog();
27+
28+
// TODO: 在此添加额外的初始化
29+
m_L69120.SetURL(_T("yy://join:room_id=6968677"));
30+
// m_L69120.SetLinkCursor(AfxGetApp()->LoadCursor(IDC_HAND));
31+
m_L8095.SetURL(_T("yy://join:room_id=61961377"));
32+
// m_L8095.SetLinkCursor(AfxGetApp()->LoadCursor(IDC_HAND));
33+
m_Lzimuzu.SetURL(_T("yy://join:room_id=62380660"));
34+
// m_Lzimuzu.SetLinkCursor(AfxGetApp()->LoadCursor(IDC_HAND));
35+
36+
CString str = APP_NAME;
37+
str += APP_VERSION;
38+
str += APP_BINTIME;
39+
m_ver.SetWindowText(str);
40+
41+
return TRUE; // return TRUE unless you set the focus to a control
42+
// 异常: OCX 属性页应返回 FALSE
43+
}

YYnick/AboutDlg.h

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#pragma once
2+
3+
#include "resource.h"
4+
#include "HyperLink.h"
5+
#include "afxwin.h"
6+
7+
// CAboutDlg 对话框
8+
9+
#define APP_NAME _T("YY花式字幕器 ")
10+
#define APP_VERSION _T("v0.8.6.0")
11+
#define APP_BINTIME _T(" 2011.06.11 19:00")
12+
13+
class CAboutDlg : public CDialog
14+
{
15+
public:
16+
CAboutDlg();
17+
18+
// 对话框数据
19+
enum { IDD = IDD_ABOUTBOX };
20+
21+
public:
22+
CHyperLink m_L69120;
23+
CHyperLink m_L8095;
24+
CHyperLink m_Lzimuzu;
25+
26+
protected:
27+
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
28+
29+
// 实现
30+
protected:
31+
DECLARE_MESSAGE_MAP()
32+
public:
33+
virtual BOOL OnInitDialog();
34+
CStatic m_ver;
35+
};

YYnick/FreshSetDlg.cpp

+114
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
// FreshSetDlg.cpp : 实现文件
2+
//
3+
4+
#include "stdafx.h"
5+
#include "YYnick.h"
6+
#include "FreshSetDlg.h"
7+
8+
9+
// CFreshSetDlg 对话框
10+
11+
IMPLEMENT_DYNAMIC(CFreshSetDlg, CDialog)
12+
13+
CFreshSetDlg::CFreshSetDlg(CWnd* pParent /*=NULL*/)
14+
: CDialog(CFreshSetDlg::IDD, pParent)
15+
{
16+
_iYYType = 0;
17+
// _bYYmain = TRUE;
18+
// _bYYsetup = FALSE;
19+
_bSandBoxie = FALSE;
20+
_strSBName = _T("");
21+
}
22+
23+
CFreshSetDlg::~CFreshSetDlg()
24+
{
25+
}
26+
27+
void CFreshSetDlg::DoDataExchange(CDataExchange* pDX)
28+
{
29+
CDialog::DoDataExchange(pDX);
30+
}
31+
32+
33+
BEGIN_MESSAGE_MAP(CFreshSetDlg, CDialog)
34+
ON_BN_CLICKED(IDOK, &CFreshSetDlg::OnBnClickedOk)
35+
ON_BN_CLICKED(IDC_CHECK_SANDBOXIE, &CFreshSetDlg::OnBnClickedCheckSandboxie)
36+
ON_BN_CLICKED(IDC_CHECK_YYMAIN, &CFreshSetDlg::OnBnClickedCheckYymain)
37+
ON_BN_CLICKED(IDC_CHECK_YYSETUP, &CFreshSetDlg::OnBnClickedCheckYysetup)
38+
END_MESSAGE_MAP()
39+
40+
41+
// CFreshSetDlg 消息处理程序
42+
43+
BOOL CFreshSetDlg::OnInitDialog()
44+
{
45+
CDialog::OnInitDialog();
46+
47+
// TODO: 在此添加额外的初始化
48+
((CButton*)GetDlgItem(IDC_CHECK_YYMAIN))->SetCheck(!_iYYType);
49+
((CButton*)GetDlgItem(IDC_CHECK_YYSETUP))->SetCheck(_iYYType);
50+
((CButton*)GetDlgItem(IDC_CHECK_SANDBOXIE))->SetCheck(_bSandBoxie);
51+
GetDlgItem(IDC_EDIT_SBNAME)->EnableWindow(_bSandBoxie);
52+
GetDlgItem(IDC_EDIT_SBNAME)->SetWindowText(_strSBName);
53+
54+
return TRUE; // return TRUE unless you set the focus to a control
55+
// 异常: OCX 属性页应返回 FALSE
56+
}
57+
58+
void CFreshSetDlg::setType(int type)
59+
{
60+
_iYYType = type;
61+
}
62+
63+
int CFreshSetDlg::getType()
64+
{
65+
return _iYYType;
66+
}
67+
68+
void CFreshSetDlg::setSandBoxie(BOOL sb)
69+
{
70+
_bSandBoxie = sb;
71+
}
72+
73+
BOOL CFreshSetDlg::useSandBoxie()
74+
{
75+
return _bSandBoxie;
76+
}
77+
78+
void CFreshSetDlg::setSandBoxieName(CString str)
79+
{
80+
_strSBName = str;
81+
}
82+
83+
CString CFreshSetDlg::getSandBoxieName()
84+
{
85+
return _strSBName;
86+
}
87+
88+
void CFreshSetDlg::OnBnClickedCheckYymain()
89+
{
90+
_iYYType = !_iYYType;
91+
((CButton*)GetDlgItem(IDC_CHECK_YYMAIN))->SetCheck(!_iYYType);
92+
((CButton*)GetDlgItem(IDC_CHECK_YYSETUP))->SetCheck(_iYYType);
93+
}
94+
95+
void CFreshSetDlg::OnBnClickedCheckYysetup()
96+
{
97+
_iYYType = !_iYYType;
98+
((CButton*)GetDlgItem(IDC_CHECK_YYMAIN))->SetCheck(!_iYYType);
99+
((CButton*)GetDlgItem(IDC_CHECK_YYSETUP))->SetCheck(_iYYType);
100+
}
101+
102+
void CFreshSetDlg::OnBnClickedCheckSandboxie()
103+
{
104+
_bSandBoxie = ((CButton*)GetDlgItem(IDC_CHECK_SANDBOXIE))->GetCheck();
105+
GetDlgItem(IDC_EDIT_SBNAME)->EnableWindow(_bSandBoxie);
106+
}
107+
108+
void CFreshSetDlg::OnBnClickedOk()
109+
{
110+
_bSandBoxie = ((CButton*)GetDlgItem(IDC_CHECK_SANDBOXIE))->GetCheck();
111+
GetDlgItem(IDC_EDIT_SBNAME)->GetWindowText(_strSBName);
112+
113+
OnOK();
114+
}

YYnick/FreshSetDlg.h

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#pragma once
2+
3+
#include "resource.h"
4+
5+
6+
// CFreshSetDlg 对话框
7+
8+
class CFreshSetDlg : public CDialog
9+
{
10+
DECLARE_DYNAMIC(CFreshSetDlg)
11+
12+
public:
13+
CFreshSetDlg(CWnd* pParent = NULL); // 标准构造函数
14+
virtual ~CFreshSetDlg();
15+
16+
// 对话框数据
17+
enum { IDD = IDD_DIALOG_FRESHSET };
18+
19+
public:
20+
void setType(int type);
21+
void setSandBoxie(BOOL sb);
22+
void setSandBoxieName(CString str);
23+
24+
int getType();
25+
BOOL useSandBoxie();
26+
CString getSandBoxieName();
27+
28+
protected:
29+
int _iYYType; // yy句柄类型,0:YY主界面 1:YY设置界面
30+
BOOL _bSandBoxie;
31+
CString _strSBName;
32+
33+
protected:
34+
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
35+
36+
DECLARE_MESSAGE_MAP()
37+
public:
38+
virtual BOOL OnInitDialog();
39+
afx_msg void OnBnClickedOk();
40+
afx_msg void OnBnClickedCheckSandboxie();
41+
afx_msg void OnBnClickedCheckYymain();
42+
afx_msg void OnBnClickedCheckYysetup();
43+
};

0 commit comments

Comments
 (0)