diff options
author | George Hazan <ghazan@miranda.im> | 2017-12-26 15:57:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-12-26 15:57:50 +0300 |
commit | 4ac8a5589cd54abe47f1c80c67b2a8265764528a (patch) | |
tree | f19de1b727375840a8aca83fcd84046699ba1f99 /plugins/TabSRMM/src/utils.cpp | |
parent | 1b2a01f70d70425f84d5009fabc33e5142f2cf73 (diff) |
TabSRMM:
- custom color chooser removed;
- unused menu items removed;
- version bump
Diffstat (limited to 'plugins/TabSRMM/src/utils.cpp')
-rw-r--r-- | plugins/TabSRMM/src/utils.cpp | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp index 3608625705..79d501e4a0 100644 --- a/plugins/TabSRMM/src/utils.cpp +++ b/plugins/TabSRMM/src/utils.cpp @@ -416,23 +416,23 @@ int CTabBaseDlg::FindRTLLocale() static TRTFColorTable _rtf_ctable[] =
{
- { L"black", 0, ID_FONT_BLACK },
- { L"", RGB(0,0,128), -1 },
- { L"", RGB(0,128,128), -1 },
- { L"", RGB(128,0,128), -1 },
- { L"", RGB(0,128,0), -1 },
- { L"", RGB(128,128,0), -1 },
- { L"", RGB(128,0,0), -1 },
- { L"", RGB(128,128,128), -1 },
-
- { L"", RGB(192,192,192), -1 },
- { L"blue", RGB(0, 0, 255), ID_FONT_BLUE },
- { L"cyan", RGB(0, 255, 255), ID_FONT_CYAN },
- { L"magenta", RGB(255, 0, 255), ID_FONT_MAGENTA },
- { L"green", RGB(0, 255, 0), ID_FONT_GREEN },
- { L"yellow", RGB(255, 255, 0), ID_FONT_YELLOW },
- { L"red", RGB(255, 0, 0), ID_FONT_RED },
- { L"white", RGB(255, 255, 255), ID_FONT_WHITE }
+ { L"black", 0 },
+ { L"", RGB(0,0,128) },
+ { L"", RGB(0,128,128) },
+ { L"", RGB(128,0,128) },
+ { L"", RGB(0,128,0) },
+ { L"", RGB(128,128,0) },
+ { L"", RGB(128,0,0) },
+ { L"", RGB(128,128,128) },
+
+ { L"", RGB(192,192,192) },
+ { L"blue", RGB(0, 0, 255) },
+ { L"cyan", RGB(0, 255, 255) },
+ { L"magenta", RGB(255, 0, 255) },
+ { L"green", RGB(0, 255, 0) },
+ { L"yellow", RGB(255, 255, 0) },
+ { L"red", RGB(255, 0, 0) },
+ { L"white", RGB(255, 255, 255) }
};
void Utils::RTF_CTableInit()
@@ -451,7 +451,6 @@ void Utils::RTF_ColorAdd(const wchar_t *tszColname, size_t length) wchar_t *stopped;
COLORREF clr = wcstol(tszColname, &stopped, 16);
mir_snwprintf(p->szName, length + 1, L"%06x", clr);
- p->menuid = 0;
clr = wcstol(tszColname, &stopped, 16);
p->clr = (RGB(GetBValue(clr), GetGValue(clr), GetRValue(clr)));
|