diff options
author | George Hazan <george.hazan@gmail.com> | 2015-02-21 19:50:54 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-02-21 19:50:54 +0000 |
commit | 4ba2455da24ecbe9f0c623945e7add2696cdc81b (patch) | |
tree | 5de62cb2007f877683f2bec30e4e56c0e6fb7f23 /plugins/TabSRMM/src/utils.h | |
parent | 09572e85a32464ee117b675e39e3ffa09429a971 (diff) |
tabSRMM chats to use the same rtf formatter both for chats & groupchats
git-svn-id: http://svn.miranda-ng.org/main/trunk@12235 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/utils.h')
-rw-r--r-- | plugins/TabSRMM/src/utils.h | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/plugins/TabSRMM/src/utils.h b/plugins/TabSRMM/src/utils.h index f86e54b8b9..4e210597b3 100644 --- a/plugins/TabSRMM/src/utils.h +++ b/plugins/TabSRMM/src/utils.h @@ -38,22 +38,9 @@ struct TRTFColorTable
{
- TCHAR szName[10];
- COLORREF clr;
- int index;
- int menuid;
-};
-
-static TRTFColorTable _rtf_ctable[] = {
- _T("red"), RGB(255, 0, 0), 0, ID_FONT_RED,
- _T("blue"), RGB(0, 0, 255), 0, ID_FONT_BLUE,
- _T("green"), RGB(0, 255, 0), 0, ID_FONT_GREEN,
- _T("magenta"), RGB(255, 0, 255), 0, ID_FONT_MAGENTA,
- _T("yellow"), RGB(255, 255, 0), 0, ID_FONT_YELLOW,
- _T("cyan"), RGB(0, 255, 255), 0, ID_FONT_CYAN,
- _T("black"), 0, 0, ID_FONT_BLACK,
- _T("white"), RGB(255, 255, 255), 0, ID_FONT_WHITE,
- _T(""), 0, 0, 0
+ TCHAR szName[10];
+ COLORREF clr;
+ int menuid;
};
class Utils {
@@ -74,8 +61,6 @@ public: static LPCTSTR DoubleAmpersands(TCHAR *pszText);
static void RTF_CTableInit();
static void RTF_ColorAdd(const TCHAR *tszColname, size_t length);
- static void CreateColorMap(CMString &Text);
- static int RTFColorToIndex(int iCol);
static int ReadContainerSettingsFromDB(const MCONTACT hContact, TContainerSettings *cs, const char *szKey = 0);
static int WriteContainerSettingsToDB(const MCONTACT hContact, TContainerSettings *cs, const char *szKey = 0);
static void SettingsToContainer(TContainerData *pContainer);
|