summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw/clc.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_mw/clc.h')
-rw-r--r--plugins/Clist_mw/clc.h63
1 files changed, 5 insertions, 58 deletions
diff --git a/plugins/Clist_mw/clc.h b/plugins/Clist_mw/clc.h
index 6bb37c2beb..29b7086d20 100644
--- a/plugins/Clist_mw/clc.h
+++ b/plugins/Clist_mw/clc.h
@@ -61,70 +61,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define MAXSTATUSMSGLEN 256
-struct ClcContact {
- BYTE type;
- BYTE flags;
- union {
- struct {
- WORD iImage;
- HANDLE hContact;
- };
- struct {
- WORD groupId;
- struct ClcGroup *group;
- };
- };
- BYTE iExtraImage[MAXEXTRACOLUMNS];
- TCHAR szText[120-MAXEXTRACOLUMNS];
- char * proto; // MS_PROTO_GETBASEPROTO
-
- struct ClcContact *subcontacts;
+struct ClcContact : public ClcContactBase
+{
+ ClcContact *subcontacts;
BYTE SubAllocated;
BYTE SubExpanded;
BYTE isSubcontact;
TCHAR szStatusMsg[MAXSTATUSMSGLEN];
};
-struct ClcData {
- struct ClcGroup list;
- int rowHeight;
- int yScroll;
- int selection;
- struct ClcFontInfo fontInfo[FONTID_MAX+1];
- int scrollTime;
- HIMAGELIST himlHighlight;
- int groupIndent;
- TCHAR szQuickSearch[128];
- int iconXSpace;
- HWND hwndRenameEdit;
- COLORREF bkColour,selBkColour,selTextColour,hotTextColour,quickSearchColour;
- int iDragItem,iInsertionMark;
- int dragStage;
- POINT ptDragStart;
- int dragAutoScrolling;
- int dragAutoScrollHeight;
- int leftMargin;
- int insertionMarkHitHeight;
- HBITMAP hBmpBackground;
- int backgroundBmpUse,bkChanged;
- int iHotTrack;
- int gammaCorrection;
- DWORD greyoutFlags; //see m_clc.h
- DWORD offlineModes;
- DWORD exStyle;
- POINT ptInfoTip;
- int infoTipTimeout;
- HANDLE hInfoTipItem;
- HIMAGELIST himlExtraColumns;
- int extraColumnsCount;
- int extraColumnSpacing;
- int checkboxSize;
- int showSelAlways;
- int showIdle;
- int noVScrollbar;
- int useWindowsColours;
- int NeedResort;
-
+struct ClcData : public ClcDataBase
+{
DWORD style;
SortedList lCLCContactsCache;
BYTE doubleClickExpand;