diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-04 22:36:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-04 22:36:16 +0000 |
commit | 0a668c8eb335ba601d97fc7c8dbbecb1c7455408 (patch) | |
tree | 5ea7696fe3e98623abfad58e62422b5538e2a36e /include/m_clistint.h | |
parent | 3ed8130e44a7f076fba9f4957c09920716441f48 (diff) |
massive extinction of clutches:
- nicer own extra icons;
- duplicate cache entries in modern
- many other quirks
git-svn-id: http://svn.miranda-ng.org/main/trunk@2201 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_clistint.h')
-rw-r--r-- | include/m_clistint.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/m_clistint.h b/include/m_clistint.h index e82c39d565..04053e77e3 100644 --- a/include/m_clistint.h +++ b/include/m_clistint.h @@ -35,7 +35,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define IsHContactGroup(h) (((UINT_PTR)(h)^HCONTACT_ISGROUP)<(HCONTACT_ISGROUP^HCONTACT_ISINFO))
#define IsHContactInfo(h) (((UINT_PTR)(h)&HCONTACT_ISINFO) == HCONTACT_ISINFO)
#define IsHContactContact(h) (((UINT_PTR)(h)&HCONTACT_ISGROUP) == 0)
-#define MAXEXTRACOLUMNS 16
+
+#ifndef EXTRA_ICON_COUNT
+#define EXTRA_ICON_COUNT 10
+#endif
#define MAX_TIP_SIZE 2048
@@ -110,8 +113,8 @@ struct ClcContactBase ClcGroup *group;
};
};
- BYTE iExtraImage[MAXEXTRACOLUMNS];
- TCHAR szText[120-MAXEXTRACOLUMNS];
+ WORD iExtraImage[EXTRA_ICON_COUNT];
+ TCHAR szText[120-EXTRA_ICON_COUNT];
char *proto; // MS_PROTO_GETBASEPROTO
};
@@ -121,7 +124,7 @@ struct ClcDataBase int rowHeight;
int yScroll;
int selection;
- struct ClcFontInfo fontInfo[FONTID_MAX + 1];
+ ClcFontInfo fontInfo[FONTID_MAX + 1];
int scrollTime;
HIMAGELIST himlHighlight;
int groupIndent;
@@ -471,7 +474,6 @@ typedef struct /*************************************************************************************
* version 7 additions (0.11.0.x) - extra images
*************************************************************************************/
- HIMAGELIST hExtraImageList;
void (*pfnReloadExtraIcons)(void);
void (*pfnSetAllExtraIcons)(HWND hwndList,HANDLE hContact);
}
|