summaryrefslogtreecommitdiff
path: root/win/Propspgs.h
diff options
context:
space:
mode:
authorleo1999-12-09 22:00:04 +0000
committerleo1999-12-09 22:00:04 +0000
commit13a29d52c47942a1d4c65a9aabd5f916ed0dd4d0 (patch)
treec2b3f6e7ee4ca4f902a4225ed72ddc9d3785f840 /win/Propspgs.h
parent7df7d4b627e5c09b665d8916d2a2e05e8d27bba9 (diff)
Added an option to sort the columns of the piece list from the properties dialog
Cleaned the image reading routines a little more git-svn-id: http://svn.leocad.org/trunk@29 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Propspgs.h')
-rw-r--r--win/Propspgs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/Propspgs.h b/win/Propspgs.h
index 0b78683..a6b475e 100644
--- a/win/Propspgs.h
+++ b/win/Propspgs.h
@@ -4,6 +4,8 @@
#ifndef __PROPSPGS_H__
#define __PROPSPGS_H__
+#include "defines.h"
+
/////////////////////////////////////////////////////////////////////////////
// CPropertiesGeneral dialog
@@ -96,6 +98,8 @@ public:
char** names;
unsigned short* count;
int lines;
+ int col[LC_MAXCOLORS];
+ int totalcount[LC_MAXCOLORS];
// Dialog Data
//{{AFX_DATA(CPropertiesPieces)
@@ -116,6 +120,7 @@ protected:
// Generated message map functions
//{{AFX_MSG(CPropertiesPieces)
virtual BOOL OnInitDialog();
+ afx_msg void OnColumnclickPropPiecesList(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()