OSDN Git Service

Update RevisionGraph to 15570
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / RevisionGraph / RevisionGraphDlg.h
index 955640d..0abf674 100644 (file)
@@ -55,9 +55,12 @@ public:
        void                    SetPath(const CString& sPath) {m_Graph.m_sPath = sPath;}\r
     void                       SetPegRevision(SVNRev revision) {m_Graph.m_pegRev = revision;}\r
     void            DoZoom (float factor);\r
+\r
+    void            UpdateFullHistory();\r
+    void            StartWorkerThread();\r
+\r
 protected:\r
        bool                    m_bFetchLogs;\r
-    CAllRevisionGraphOptions m_options;\r
        char                    m_szTip[MAX_TT_LENGTH+1];\r
        wchar_t                 m_wszTip[MAX_TT_LENGTH+1];\r
 \r
@@ -77,6 +80,8 @@ protected:
        afx_msg void    OnViewZoomin();\r
        afx_msg void    OnViewZoomout();\r
        afx_msg void    OnViewZoom100();\r
+    afx_msg void       OnViewZoomHeight();\r
+    afx_msg void       OnViewZoomWidth();\r
        afx_msg void    OnViewZoomAll();\r
        afx_msg void    OnViewCompareheadrevisions();\r
        afx_msg void    OnViewComparerevisions();\r
@@ -88,10 +93,13 @@ protected:
        afx_msg void    OnMenuhelp();\r
        afx_msg void    OnChangeZoom();\r
     afx_msg BOOL    OnToggleOption (UINT controlID);\r
-       afx_msg BOOL    OnToolTipNotify (UINT id, NMHDR *pNMHDR, LRESULT *pResult);\r
+    afx_msg BOOL    OnToggleReloadOption (UINT controlID);\r
+    afx_msg BOOL    OnToggleRedrawOption (UINT controlID);\r
+    afx_msg BOOL       OnToolTipNotify (UINT id, NMHDR *pNMHDR, LRESULT *pResult);\r
 \r
        DECLARE_MESSAGE_MAP()\r
 \r
+    BOOL            ToggleOption (UINT controlID);\r
        void                    SetOption (UINT controlID);\r
 \r
     CRect                      GetGraphRect();\r
@@ -99,8 +107,9 @@ protected:
 \r
 private:\r
        void                    UpdateZoomBox();\r
+    void            UpdateOptionAvailability (UINT id, bool available);\r
+    void            UpdateOptionAvailability();\r
 \r
-    void            StartWorkerThread();\r
        static UINT             WorkerThread(LPVOID pVoid);\r
 \r
        float                   m_fZoomFactor;\r