From c0fb25a5235894157d0c41f7409c1b3be72e9da6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 26 Sep 2022 16:19:39 +0300 Subject: tabSRMM: unused resource ids removed --- plugins/TabSRMM/src/controls.cpp | 1 - plugins/TabSRMM/src/msgoptions.cpp | 2 +- plugins/TabSRMM/src/resource.h | 93 -------------------------------------- 3 files changed, 1 insertion(+), 95 deletions(-) (limited to 'plugins/TabSRMM/src') diff --git a/plugins/TabSRMM/src/controls.cpp b/plugins/TabSRMM/src/controls.cpp index 4e0d4dccaf..4e72e2c8e2 100644 --- a/plugins/TabSRMM/src/controls.cpp +++ b/plugins/TabSRMM/src/controls.cpp @@ -448,7 +448,6 @@ void CMenuBar::updateState(const HMENU hMenu) const auto f = m_pContainer->cfg.flags; MY_CheckMenu(hMenu, ID_VIEW_SHOWMENUBAR, !f.m_bNoMenuBar && !m_mustAutoHide); MY_CheckMenu(hMenu, ID_VIEW_SHOWSTATUSBAR, !f.m_bNoStatusBar); - MY_CheckMenu(hMenu, ID_VIEW_SHOWAVATAR, dat->m_bShowAvatar); MY_CheckMenu(hMenu, ID_VIEW_SHOWTITLEBAR, !f.m_bNoTitle); ::EnableMenuItem(hMenu, ID_VIEW_SHOWTITLEBAR, CSkin::m_skinEnabled && CSkin::m_frameSkins ? MF_GRAYED : MF_ENABLED); diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp index 86874a22ce..b87a801874 100644 --- a/plugins/TabSRMM/src/msgoptions.cpp +++ b/plugins/TabSRMM/src/msgoptions.cpp @@ -933,7 +933,7 @@ class COptTypingDlg : public CDlgBase public: COptTypingDlg() : CDlgBase(g_plugin, IDD_OPT_MSGTYPE), - urlHelp(this, IDC_MTN_HELP, "https://wiki.miranda-ng.org/index.php?title=Plugin:TabSRMM/Advanced_tweaks"), + urlHelp(this, IDC_MTN_HELP, "https://wiki.miranda-ng.org/index.php?title=Plugin:TabSRMM/Typing_notifications"), m_clist(this, IDC_CLIST), chkWin(this, IDC_TYPEWIN), chkNoWin(this, IDC_TYPENOWIN), diff --git a/plugins/TabSRMM/src/resource.h b/plugins/TabSRMM/src/resource.h index 9d0bf92519..ff73a0e710 100644 --- a/plugins/TabSRMM/src/resource.h +++ b/plugins/TabSRMM/src/resource.h @@ -256,7 +256,6 @@ #define IDC_DRAWGRID 1188 #define IDC_LIMITTABS 1189 #define IDC_WANTVERTICALGRID 1190 -#define IDC_AUTOLOCALE 1192 #define IDC_DONTREPORTUNFOCUSED2 1193 #define IDC_GCHECK 1194 #define IDC_HIDETAB 1195 @@ -629,73 +628,23 @@ #define IDC_ICONS 31623 #define IDC_TIMEOUT_VALUE2 31624 #define IDC_PREVIEW_ALL 31625 -#define ID_MESS 40001 -#define ID_NEW 40002 -#define ID_CURR 40003 -#define ID_COPY 40004 -#define ID_COPYALL 40006 -#define ID_CLEARLOG 40009 -#define ID_MESSAGE_UNDO 40013 -#define ID_MESSAGE_COPY 40014 -#define ID_MESSAGE_CUT 40015 -#define ID_MESSAGE_CLEAR 40017 -#define ID_MESSAGE_SELECTALL 40018 -#define ID_MESSAGE_REDO 40019 -#define ID_MESSAGE_PASTE 40020 -#define ID_CLOSE 40022 -#define ID_CLOSEOTHER 40023 -#define ID_LOCKPOSITION 40024 -#define ID_CLOSETAB_DETACHTAB 40025 -#define ID_TABCONTEXT_NEXTTAB 40026 -#define ID_SEARCH_GOOGLE 40027 -#define ID_TABCONTEXT_ATTACH 40027 -#define ID_SEARCH_WIKIPEDIA 40028 -#define ID_TABCONTEXT_CLOSECONTAINER 40028 -#define ID_WIKIPEDIA_ 40029 -#define ID_TABCONTEXT_PREVTAB 40029 -#define ID_CLOSETAB 40030 #define ID_TABMENU_CLOSETAB 40031 #define ID_TABMENU_CLOSEOTHERTABS 40032 -#define ID_TABMENU_SAVELOCALESETTINGFORTHISCONTACT 40034 #define ID_TABMENU_OPENWINDOWSERVICE 40035 #define ID_TABMENU_ATTACHTOCONTAINER 40036 -#define ID_Menu 40037 -#define ID_PICMENU_TOGGLEAVATARDISPLAY 40041 #define ID_PICMENU_SETTINGS 40042 -#define ID_LOG_CONTAINEROPTIONS 40045 #define ID_TABMENU_CONTAINEROPTIONS 40046 -#define ID_LOGMENU_SHOWMESSAGEICONS 40056 -#define ID_LOGMENU_LOADDEFAULTS 40057 -#define ID_LOGMENU_ALWAYSUSEGLOBALSPLITTERPOSITION 40060 -#define ID_LOGMENU_TIMESTAMPSETTINGS 40061 -#define ID_LOGMENU_MESSAGELOGFORMATTING 40062 #define ID_TABMENU_CLOSECONTAINER 40063 -#define ID_STATUSBARSETTINGS_USEGLOBALDEFAULT 40065 -#define ID_STATUSBARSETTINGS_SHOWTHESTATUSBAR 40066 -#define ID_STATUSBARSETTINGS_HIDETHESTATUSBAR 40067 #define ID_VIEW_SHOWMENUBAR 40076 #define ID_VIEW_SHOWSTATUSBAR 40077 #define ID_VIEW_SHOWTOOLBAR 40078 -#define ID_TOOLBAR_SENDBUTTON 40079 -#define ID_TOOLBAR_USERINFORMATION 40080 -#define ID_TOOLBAR_EXTRABUTTONS 40081 -#define ID_VIEW_SHOWAVATAR 40082 #define ID_VIEW_SHOWTITLEBAR 40083 -#define ID_FILE 40084 #define ID_FILE_CLOSE 40085 #define ID_FILE_CLOSEMESSAGESESSION 40086 #define ID_VIEW_SHOWMULTISENDCONTACTLIST 40087 -#define ID_VIEW_TITLEBAR 40088 -#define ID_FILE_CLOSEOTHERMSGSESSIONS 40090 #define ID_VIEW_TABSATBOTTOM 40093 #define ID_VIEW_STAYONTOP 40095 -#define ID_OPTIONS_EVENTPOPUPS 40097 #define ID_EVENTPOPUPS_DISABLEALLEVENTPOPUPS 40098 -#define ID_OPTIONS_SOUNDS 40101 -#define ID_SOUNDS_DISABLEALLMESSAGESOUNDS 40102 -#define ID_SOUNDS_SYNCSOUNDSWITHEVENTPOPUPS 40103 -#define ID_SOUNDS_ENABLEALLMESSAGESOUNDS 40104 -#define ID_VIEW_FLASHING 40105 #define ID_WINDOWFLASHING_USEDEFAULTVALUES 40106 #define ID_WINDOWFLASHING_FLASHUNTILFOCUSED 40107 #define ID_WINDOWFLASHING_DISABLEFLASHING 40108 @@ -704,67 +653,29 @@ #define ID_EVENTPOPUPS_SHOWPOPUPSFORALLINACTIVESESSIONS 40112 #define ID_OPTIONS_SAVECURRENTWINDOWPOSITIONASDEFAULT 40113 #define ID_CONTAINER_CONTAINEROPTIONS 40114 -#define ID_MESSAGELOG 40115 -#define ID_MESSAGELOG_LOGITEMSTOSHOW 40116 -#define ID_LOGITEMSTOSHOW_USETHINGRIDLINES 40117 -#define ID_MESSAGELOG_TIMESTAMPSETTINGS 40118 -#define ID_MESSAGELOG_MESSAGELOGFORMATTING 40119 #define ID_EVENTPOPUPS_SHOWPOPUPSIFWINDOWISFOCUSED 40120 -#define ID_LOGMENU_MESSAGELOGSETTINGSAREGLOBAL 40124 -#define ID_USER 40125 -#define ID_TITLEBAR_USESTATICCONTAINERICON 40126 #define ID_PICMENU_ALWAYSKEEPTHEBUTTONBARATFULLWIDTH 40134 #define ID_SENDMENU_SENDDEFAULT 40135 #define ID_SENDMENU_SENDTOMULTIPLEUSERS 40136 #define ID_SENDMENU_SENDTOCONTAINER 40137 #define ID_VIEW_VERTICALMAXIMIZE 40143 #define ID_SENDMENU_SENDLATER 40144 -#define ID_PROTOMENU_SPLITTER 40145 #define ID_MODE_GLOBAL 40148 #define ID_MODE_PRIVATE 40150 -#define ID_UNREADMENU_TEST 40151 -#define ID_UNREADMENU_FOOBAR 40152 -#define ID_UNREADMENU_ 40153 -#define ID_RECENTSESSIONS_1 40155 -#define ID_FAVORITES_1 40157 -#define ID_RECENTSESSIONS_2 40166 -#define ID_PROTOMENU_SENDTEXTFORMATTING 40167 -#define ID_SENDTEXTFORMATTING_GLOBAL 40169 -#define ID_Menu40228 40170 #define ID_VIEW_BOTTOMTOOLBAR 40171 #define ID_GLOBAL_OFF 40172 -#define ID_SENDTEXTFORMATTING_THISCONTACT 40173 #define ID_THISCONTACT_GLOBALSETTING 40174 #define ID_THISCONTACT_BBCODE 40175 #define ID_THISCONTACT_OFF 40177 #define ID_GLOBAL_BBCODE 40178 -#define ID_PROTOMENU_FAVORITES 40179 -#define ID_FILE_HTTP 40182 #define ID_LOG_FREEZELOG 40183 -#define ID_FONT_SIZE 40186 -#define ID_SIZE_LARGE 40187 -#define ID_SIZE_BIGGER 40188 -#define ID_SIZE_NORMAL 40189 -#define ID_SIZE_SMALLER 40190 -#define ID_SIZE_TINY 40191 -#define ID_DUMMY_NOMESSAGESESSIONSOPENED 40202 #define ID_SENDMENU_SENDWITHOUTTIMEOUTS 40203 -#define ID_INFOPANEL_QUICKTOGGLE 40206 -#define ID_INFOPANEL_GLOBAL 40207 #define ID_VIEW_INFOPANEL 40208 -#define ID_GLOBAL_ENABLED 40208 -#define ID_GLOBAL_DISABLED 40209 -#define ID_INFOPANEL_THISCONTACT 40210 -#define ID_THISCONTACT_USEGLOBALSETTING 40211 -#define ID_THISCONTACT_ALWAYSON 40212 -#define ID_THISCONTACT_ALWAYSOFF 40213 -#define ID_PANELPICMENU_RESETTHEAVATAR 40218 #define ID_EDITOR_PASTEANDSENDIMMEDIATELY 40221 #define ID_SPLITTERCONTEXT_SAVEGLOBALFORALLSESSIONS 40229 #define ID_SPLITTERCONTEXT_SAVEFORTHISCONTACTONLY 40230 #define ID_SPLITTERCONTEXT_FORGETTHECHANGES 40231 #define ID_SPLITTERCONTEXT_SETPOSITIONFORTHISSESSION 40232 -#define ID_FONT_CYAN40233 40233 #define ID_TABMENU_LEAVECHATROOM 40234 #define ID_PANELPICMENU_SAVETHISPICTUREAS 40235 #define ID_PICMENU_SAVETHISPICTUREAS 40236 @@ -773,13 +684,9 @@ #define ID_VISIBILITY_DEFAULT 40241 #define ID_VISIBILITY_HIDDENFORTHISCONTACT 40242 #define ID_VISIBILITY_VISIBLEFORTHISCONTACT 40243 -#define ID_LOGMENU_USEADVANCEDTEMPLATE 40244 -#define ID_MESSAGELOG_USESIMPLETEMPLATES 40246 #define ID_EDITOR_SHOWMESSAGELENGTHINDICATOR 40248 -#define ID_LOGMENU_MESSAGELOGSETTINGS 40250 #define ID_MESSAGELOGSETTINGS_GLOBAL 40251 #define ID_MESSAGELOGSETTINGS_FORTHISCONTACT 40252 -#define ID_MESSAGELOG_MESSAGELOGSETTINGS 40253 #define ID_QUEUEMANAGER_MARKSELECTEDFORREMOVAL 40256 #define ID_QUEUEMANAGER_RESETSELECTED 40257 #define ID_QUEUEMANAGER_HOLDSELECTED 40258 -- cgit v1.2.3