Skip to content

Commit 72c60ca

Browse files
Use Standar style for the tools only
Even IdSoftware gave up on styling the tools code
1 parent 373375e commit 72c60ca

File tree

369 files changed

+53885
-37812
lines changed

Some content is hidden

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

369 files changed

+53885
-37812
lines changed

neo/tools/af/DialogAF.cpp

Lines changed: 173 additions & 106 deletions
Large diffs are not rendered by default.

neo/tools/af/DialogAF.h

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,15 @@ class DialogAFConstraint;
3737

3838
// DialogAF dialog
3939

40-
class DialogAF : public CDialog {
40+
class DialogAF : public CDialog
41+
{
4142

42-
DECLARE_DYNAMIC(DialogAF)
43+
DECLARE_DYNAMIC( DialogAF )
4344

4445
public:
45-
DialogAF( CWnd* pParent = NULL ); // standard constructor
46+
DialogAF( CWnd* pParent = NULL ); // standard constructor
4647
virtual ~DialogAF();
47-
void LoadFile( idDeclAF *af );
48+
void LoadFile( idDeclAF* af );
4849
void SaveFile( void );
4950
void ReloadFile( void );
5051
void SetFileModified( void );
@@ -54,12 +55,12 @@ class DialogAF : public CDialog {
5455
protected:
5556
virtual BOOL OnInitDialog();
5657
virtual void DoDataExchange( CDataExchange* pDX ); // DDX/DDV support
57-
afx_msg BOOL OnToolTipNotify( UINT id, NMHDR *pNMHDR, LRESULT *pResult );
58-
afx_msg void OnSetFocus( CWnd *pOldWnd );
58+
afx_msg BOOL OnToolTipNotify( UINT id, NMHDR* pNMHDR, LRESULT* pResult );
59+
afx_msg void OnSetFocus( CWnd* pOldWnd );
5960
afx_msg void OnDestroy();
60-
afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
61+
afx_msg void OnActivate( UINT nState, CWnd* pWndOther, BOOL bMinimized );
6162
afx_msg void OnMove( int x, int y );
62-
afx_msg void OnTcnSelchangeTabMode( NMHDR *pNMHDR, LRESULT *pResult );
63+
afx_msg void OnTcnSelchangeTabMode( NMHDR* pNMHDR, LRESULT* pResult );
6364
afx_msg void OnCbnSelchangeComboAf();
6465
afx_msg void OnBnClickedButtonAfNew();
6566
afx_msg void OnBnClickedButtonAfDelete();
@@ -72,14 +73,14 @@ class DialogAF : public CDialog {
7273
DECLARE_MESSAGE_MAP()
7374

7475
private:
75-
CTabCtrl * wndTabs;
76-
CWnd * wndTabDisplay;
77-
DialogAFView * viewDlg;
78-
DialogAFProperties *propertiesDlg;
79-
DialogAFBody * bodyDlg;
80-
DialogAFConstraint *constraintDlg;
76+
CTabCtrl* wndTabs;
77+
CWnd* wndTabDisplay;
78+
DialogAFView* viewDlg;
79+
DialogAFProperties* propertiesDlg;
80+
DialogAFBody* bodyDlg;
81+
DialogAFConstraint* constraintDlg;
8182

82-
idDeclAF * file; // file being edited
83+
idDeclAF* file; // file being edited
8384

8485
//{{AFX_DATA(DialogAF)
8586
CComboBox AFList; // list with .af files
@@ -89,7 +90,7 @@ class DialogAF : public CDialog {
8990

9091
private:
9192
void InitAFList( void );
92-
void AddTabItem( int id, const char *name );
93+
void AddTabItem( int id, const char* name );
9394
void SetTab( int id );
9495
void SetTabChildPos( void );
9596
};

0 commit comments

Comments
 (0)