OSDN Git Service

add reset dialog
authorFrank Li <lznuaa@gmail.com>
Thu, 22 Jan 2009 07:49:45 +0000 (15:49 +0800)
committerFrank Li <lznuaa@gmail.com>
Thu, 22 Jan 2009 07:49:45 +0000 (15:49 +0800)
src/Resources/TortoiseProcENG.rc
src/TortoiseProc/CommitDlg.cpp
src/TortoiseProc/ResetDlg.cpp [new file with mode: 0644]
src/TortoiseProc/ResetDlg.h [new file with mode: 0644]
src/TortoiseProc/resource.h

index 4d2b66a..b1c6321 100644 (file)
Binary files a/src/Resources/TortoiseProcENG.rc and b/src/Resources/TortoiseProcENG.rc differ
index 4bc7dd1..4caf59f 100644 (file)
@@ -95,6 +95,7 @@ BEGIN_MESSAGE_MAP(CCommitDlg, CResizableStandAloneDialog)
        ON_STN_CLICKED(IDC_EXTERNALWARNING, &CCommitDlg::OnStnClickedExternalwarning)\r
        ON_BN_CLICKED(IDC_SIGNOFF, &CCommitDlg::OnBnClickedSignOff)\r
        ON_STN_CLICKED(IDC_COMMITLABEL, &CCommitDlg::OnStnClickedCommitlabel)\r
+    ON_BN_CLICKED(IDC_COMMIT_AMEND, &CCommitDlg::OnBnClickedCommitAmend)\r
 END_MESSAGE_MAP()\r
 \r
 BOOL CCommitDlg::OnInitDialog()\r
@@ -1448,3 +1449,8 @@ void CCommitDlg::OnStnClickedCommitlabel()
 {\r
        // TODO: Add your control notification handler code here\r
 }\r
+\r
+void CCommitDlg::OnBnClickedCommitAmend()\r
+{\r
+    // TODO: Add your control notification handler code here\r
+}\r
diff --git a/src/TortoiseProc/ResetDlg.cpp b/src/TortoiseProc/ResetDlg.cpp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/TortoiseProc/ResetDlg.h b/src/TortoiseProc/ResetDlg.h
new file mode 100644 (file)
index 0000000..3174b29
--- /dev/null
@@ -0,0 +1,23 @@
+#pragma once\r
+\r
+\r
+// CResetDlg dialog\r
+\r
+class CResetDlg : public CDialog\r
+{\r
+       DECLARE_DYNAMIC(CResetDlg)\r
+\r
+public:\r
+       CResetDlg(CWnd* pParent = NULL);   // standard constructor\r
+       virtual ~CResetDlg();\r
+\r
+// Dialog Data\r
+       enum { IDD = IDD_RESET };\r
+\r
+protected:\r
+       virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support\r
+\r
+       DECLARE_MESSAGE_MAP()\r
+public:\r
+    int m_ResetType;\r
+};\r
index c8ff9ad..7a43b72 100644 (file)
Binary files a/src/TortoiseProc/resource.h and b/src/TortoiseProc/resource.h differ