From 13a29d52c47942a1d4c65a9aabd5f916ed0dd4d0 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 9 Dec 1999 22:00:04 +0000 Subject: 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 --- win/Propspgs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'win/Propspgs.h') 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() -- cgit v1.2.3