diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-16 14:01:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-16 14:01:25 +0000 |
commit | a39c5799008f43603593198980f9dae818f11cc3 (patch) | |
tree | f19575afc7e6bbe81e1ae804b94e05ce1cb2f184 /include | |
parent | e5ea3aa43eddf6ec4bfb86e7c39e6898e21c6490 (diff) |
- StdChat specific icons management moved back to StdChat;
- fix for chat custom menus;
git-svn-id: http://svn.miranda-ng.org/main/trunk@7680 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/m_chat_int.h | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h index c96a8a4a03..46c62a3917 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -121,8 +121,6 @@ struct GCModuleInfoBase HICON hOfflineIcon;
HICON hOnlineTalkIcon;
HICON hOfflineTalkIcon;
- int OnlineIconIndex;
- int OfflineIconIndex;
int iMaxText;
MODULEINFO* next;
};
@@ -366,14 +364,26 @@ struct CHAT_MANAGER void (*LoadMsgDlgFont)(int i, LOGFONT *lf, COLORREF *color);
TCHAR* (*MakeTimeStamp)(TCHAR *pszStamp, time_t time);
+ int logPixelSY, logPixelSX;
+ char *szActiveWndModule;
+ TCHAR *szActiveWndID;
+ HICON hIcons[30];
+ HBRUSH hListBkgBrush, hListSelectedBkgBrush;
+ HANDLE hBuildMenuEvent, hSendEvent;
+ FONTINFO aFonts[OPTIONS_FONTCOUNT];
+ SESSION_INFO *wndList;
+
+ // user-defined custom callbacks
+ void (*OnCreateModule)(MODULEINFO*);
+
void (*OnSessionDblClick)(SESSION_INFO*);
void (*OnSessionOffline)(SESSION_INFO*);
void (*OnSessionRemove)(SESSION_INFO*);
void (*OnSessionRename)(SESSION_INFO*);
void (*OnSessionReplace)(SESSION_INFO*);
- void(*ShowRoom)(SESSION_INFO *si, WPARAM wp, BOOL bSetForeground);
- void(*OnAddLog)(SESSION_INFO*, int);
+ void (*ShowRoom)(SESSION_INFO *si, WPARAM wp, BOOL bSetForeground);
+ void (*OnAddLog)(SESSION_INFO*, int);
void (*OnClearLog)(SESSION_INFO*);
void (*OnEventBroadcast)(SESSION_INFO *si, GCEVENT *gce);
@@ -392,18 +402,7 @@ struct CHAT_MANAGER // data
GlobalLogSettingsBase *pSettings;
-
- HIMAGELIST hImageList, hIconsList;
- HANDLE hBuildMenuEvent, hSendEvent;
- HBRUSH hListBkgBrush, hListSelectedBkgBrush;
- HICON hIcons[30];
- FONTINFO aFonts[OPTIONS_FONTCOUNT];
- TCHAR *szActiveWndID;
- char *szActiveWndModule;
- int logPixelSY, logPixelSX;
- int cbModuleInfo, cbSession;
-
- SESSION_INFO *wndList;
+ int cbModuleInfo, cbSession;
};
extern CHAT_MANAGER ci, *pci;
|