summaryrefslogtreecommitdiffstats
path: root/Source/MFCDialog/CMakeSetupDialog.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-07-25 22:30:27 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-07-25 22:30:27 (GMT)
commita5eac44d1833c80ce82dad9331418f1119582f3b (patch)
treeb42d695d47580684a1b8a92785d5870921bb6273 /Source/MFCDialog/CMakeSetupDialog.h
parent4ab2650802f7b0addce7860aff4fd5a2709eae24 (diff)
downloadCMake-a5eac44d1833c80ce82dad9331418f1119582f3b.zip
CMake-a5eac44d1833c80ce82dad9331418f1119582f3b.tar.gz
CMake-a5eac44d1833c80ce82dad9331418f1119582f3b.tar.bz2
ENH: rework GUI with configure/OK/Cancel
Diffstat (limited to 'Source/MFCDialog/CMakeSetupDialog.h')
-rw-r--r--Source/MFCDialog/CMakeSetupDialog.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.h b/Source/MFCDialog/CMakeSetupDialog.h
index aa959d7..bb084d6 100644
--- a/Source/MFCDialog/CMakeSetupDialog.h
+++ b/Source/MFCDialog/CMakeSetupDialog.h
@@ -32,7 +32,9 @@ protected:
const char *aadefault);
// Dialog Data
//{{AFX_DATA(CMakeSetupDialog)
- enum { IDD = IDD_CMakeSetupDialog_DIALOG };
+ enum { IDD = IDD_CMakeSetupDialog_DIALOG };
+ CButton m_OKButton;
+ CButton m_CancelButton;
CString m_WhereSource;
CString m_WhereBuild;
CButton m_ListFrame;
@@ -42,9 +44,8 @@ protected:
CPropertyList m_CacheEntriesList;
CStatic m_MouseHelp;
CStatic m_VersionDisplay;
- CButton m_BuildProjects;
- CButton m_CancelButton;
- //}}AFX_DATA
+ CButton m_Configure;
+ //}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMakeSetupDialog)
@@ -54,7 +55,7 @@ protected:
// Implementation
protected:
-
+ void RunCMake(bool generateProjectFiles);
// copy from the cache manager to the cache edit list box
void FillCacheGUIFromCacheManager();
// copy from the list box to the cache manager
@@ -68,11 +69,11 @@ protected:
//{{AFX_MSG(CMakeSetupDialog)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnOK();
+ afx_msg void OnCancel();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBrowseWhereSource();
- virtual void OnBuildProjects();
+ virtual void OnConfigure();
afx_msg void OnBrowseWhereBuild();
afx_msg void OnChangeWhereBuild();
afx_msg void OnSelendokWhereBuild();
@@ -80,9 +81,10 @@ protected:
afx_msg void OnSelendokWhereSource();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnGetMinMaxInfo( MINMAXINFO FAR* lpMMI );
- //}}AFX_MSG
+ afx_msg void OnOk();
+ //}}AFX_MSG
DECLARE_MESSAGE_MAP()
-
+
int m_oldCX;
int m_oldCY;
float m_deltaXRemainder;