From 53ff16b147c30de05cd21e3f97b0ae0106dd9566 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 16 Oct 2017 22:47:10 +0300 Subject: the whole idea of customizable colors in chat considered totally useless --- include/m_chat_int.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include') diff --git a/include/m_chat_int.h b/include/m_chat_int.h index c1bee5babe..25824d40e8 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -94,8 +94,6 @@ struct GCModuleInfoBase bool bChanMgr, bAckMsg; int iMaxText; - int nColorCount; - COLORREF *crColors; }; struct COMMANDINFO @@ -274,7 +272,6 @@ struct CHAT_MANAGER MODULEINFO* (*MM_AddModule)(const char *pszModule); MODULEINFO* (*MM_FindModule)(const char *pszModule); - void (*MM_FixColors)(); void (*MM_FontsChanged)(void); void (*MM_IconsChanged)(void); BOOL (*MM_RemoveAll)(void); @@ -308,7 +305,7 @@ struct CHAT_MANAGER MCONTACT (*FindRoom)(const char *pszModule, const wchar_t *pszRoom); char* (*Log_CreateRTF)(LOGSTREAMDATA *streamData); - char* (*Log_CreateRtfHeader)(MODULEINFO *mi); + char* (*Log_CreateRtfHeader)(void); void (*LoadMsgDlgFont)(int i, LOGFONT *lf, COLORREF *color); wchar_t* (*MakeTimeStamp)(wchar_t *pszStamp, time_t time); @@ -318,7 +315,6 @@ struct CHAT_MANAGER int (*ShowPopup)(MCONTACT hContact, SESSION_INFO *si, HICON hIcon, char* pszProtoName, wchar_t* pszRoomName, COLORREF crBkg, const wchar_t* fmt, ...); BOOL (*LogToFile)(SESSION_INFO *si, GCEVENT *gce); wchar_t* (*GetChatLogsFilename)(SESSION_INFO *si, time_t tTime); - int (*GetColorIndex)(const char *pszModule, COLORREF cr); char* (*Log_SetStyle)(int style); bool (*IsHighlighted)(SESSION_INFO *si, GCEVENT *pszText); -- cgit v1.2.3