diff options
author | George Hazan <ghazan@miranda.im> | 2019-06-04 19:41:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-06-04 19:42:35 +0300 |
commit | 4b8a74d9f8b6e9b891c6d81f57e3d92f482d0df9 (patch) | |
tree | 1c547520cb2994231b2eadb1a50456e453beff58 /plugins | |
parent | 1b084ebf8f809354d9dcc90b90f46aea244896a0 (diff) |
fixes #1963 (third portion)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Clist_nicer/res/overlay/lunch.ico | bin | 1150 -> 0 bytes | |||
-rw-r--r-- | plugins/Clist_nicer/res/overlay/phone.ico | bin | 1150 -> 0 bytes | |||
-rw-r--r-- | plugins/Clist_nicer/res/resource.rc | 4 | ||||
-rw-r--r-- | plugins/Clist_nicer/src/clui.cpp | 6 | ||||
-rw-r--r-- | plugins/Clist_nicer/src/resource.h | 2 | ||||
-rw-r--r-- | plugins/TrafficCounter/src/resource.h | 102 |
6 files changed, 5 insertions, 109 deletions
diff --git a/plugins/Clist_nicer/res/overlay/lunch.ico b/plugins/Clist_nicer/res/overlay/lunch.ico Binary files differdeleted file mode 100644 index 1a5abaaa0e..0000000000 --- a/plugins/Clist_nicer/res/overlay/lunch.ico +++ /dev/null diff --git a/plugins/Clist_nicer/res/overlay/phone.ico b/plugins/Clist_nicer/res/overlay/phone.ico Binary files differdeleted file mode 100644 index 3aad71f13a..0000000000 --- a/plugins/Clist_nicer/res/overlay/phone.ico +++ /dev/null diff --git a/plugins/Clist_nicer/res/resource.rc b/plugins/Clist_nicer/res/resource.rc index 5f1474bf7d..7f4918c797 100644 --- a/plugins/Clist_nicer/res/resource.rc +++ b/plugins/Clist_nicer/res/resource.rc @@ -501,10 +501,6 @@ IDI_OVL_OCCUPIED ICON "overlay/occupied.ico" IDI_OVL_INVISIBLE ICON "overlay/invisible.ico"
-IDI_OVL_ONTHEPHONE ICON "overlay/phone.ico"
-
-IDI_OVL_OUTTOLUNCH ICON "overlay/lunch.ico"
-
IDI_HIDEOFFLINE ICON "online.ico"
IDI_HIDEGROUPS ICON "groups.ico"
diff --git a/plugins/Clist_nicer/src/clui.cpp b/plugins/Clist_nicer/src/clui.cpp index 182e2970be..eecf002363 100644 --- a/plugins/Clist_nicer/src/clui.cpp +++ b/plugins/Clist_nicer/src/clui.cpp @@ -227,7 +227,7 @@ static HICON hIconSaved = nullptr; void ClearIcons(int mode) { - for (int i = IDI_OVL_OFFLINE; i <= IDI_OVL_OUTTOLUNCH; i++) { + for (int i = IDI_OVL_OFFLINE; i <= IDI_OVL_INVISIBLE; i++) { if (overlayicons[i - IDI_OVL_OFFLINE] != nullptr) { if (mode) DestroyIcon(overlayicons[i - IDI_OVL_OFFLINE]); @@ -240,7 +240,7 @@ static void CacheClientIcons() { ClearIcons(0); - for (int i = IDI_OVL_OFFLINE; i <= IDI_OVL_OUTTOLUNCH; i++) { + for (int i = IDI_OVL_OFFLINE; i <= IDI_OVL_INVISIBLE; i++) { char szBuffer[128]; mir_snprintf(szBuffer, "cln_ovl_%d", ID_STATUS_OFFLINE + (i - IDI_OVL_OFFLINE)); overlayicons[i - IDI_OVL_OFFLINE] = IcoLib_GetIcon(szBuffer); @@ -251,7 +251,7 @@ static void InitIcoLib() { g_plugin.registerIcon(LPGEN("Contact list") "/" LPGEN("Default"), myIcons); - for (int i = IDI_OVL_OFFLINE; i <= IDI_OVL_OUTTOLUNCH; i++) { + for (int i = IDI_OVL_OFFLINE; i <= IDI_OVL_INVISIBLE; i++) { char szBuffer[128]; mir_snprintf(szBuffer, "cln_ovl_%d", ID_STATUS_OFFLINE + (i - IDI_OVL_OFFLINE)); IconItemT icon[] = { { Clist_GetStatusModeDescription(ID_STATUS_OFFLINE + (i - IDI_OVL_OFFLINE), 0), szBuffer, i } }; diff --git a/plugins/Clist_nicer/src/resource.h b/plugins/Clist_nicer/src/resource.h index 57072d9256..c530f2f768 100644 --- a/plugins/Clist_nicer/src/resource.h +++ b/plugins/Clist_nicer/src/resource.h @@ -260,8 +260,6 @@ #define IDI_OVL_NA 2054
#define IDI_OVL_OCCUPIED 2055
#define IDI_OVL_INVISIBLE 2057
-#define IDI_OVL_ONTHEPHONE 2058
-#define IDI_OVL_OUTTOLUNCH 2059
#define IDI_HIDEOFFLINE 2100
#define IDI_HIDEGROUPS 2101
#define IDI_SOUNDSON 2102
diff --git a/plugins/TrafficCounter/src/resource.h b/plugins/TrafficCounter/src/resource.h index b2bc799716..f822684f63 100644 --- a/plugins/TrafficCounter/src/resource.h +++ b/plugins/TrafficCounter/src/resource.h @@ -2,111 +2,13 @@ // Microsoft Visual C++ generated include file.
// Used by resource.rc
//
-#define IDC_AUTHICON 1
-#define IDC_NOTOALL 3
#define IDC_APPLY 3
-#define IDI_MIRANDA 102
#define IDD_OPT_TRAFFIC_POPUPS 103
-#define IDD_ABOUT 103
-#define IDI_SMS 103
-#define IDI_ONLINE 104
-#define IDI_OFFLINE 105
-#define IDD_CUSTOM_FONT 106
-#define IDD_OPT_FONTS 107
-#define IDD_OPT_GENMENU 108
-#define IDD_OPT_PROTOCOLORDER 109
-#define IDD_OPT_ICOLIB 110
-#define IDD_ICOLIB_IMPORT 111
-#define IDD_ADDED 115
-#define IDD_AUTHREQ 121
-#define IDD_DETAILS 125
-#define IDD_HISTORY 127
-#define IDI_AWAY 128
-#define IDI_INVISIBLE 130
-#define IDI_NA 131
-#define IDI_LOAD 132
-#define IDD_OPT_SOUND 134
-#define IDI_RECVMSG 136
-#define IDI_URL 138
-#define IDI_DND 158
-#define IDI_OCCUPIED 159
-#define IDI_USERDETAILS 160
-#define IDI_FINDUSER 161
-#define IDI_HELP 162
-#define IDI_OPTIONS 163
-#define IDI_MIRANDAWEBSITE 172
-#define IDI_RENAME 173
-#define IDI_HISTORY 174
-#define IDI_DELETE 175
-#define IDR_CONTEXT 180
-#define IDR_ICOLIB_CONTEXT 181
-#define IDC_DROP 183
-#define IDD_HISTORY_FIND 192
-#define IDI_SENDEMAIL 193
-#define IDD_FILERECV 194
-#define IDD_PROFILEMANAGER 197
-#define IDI_BLANK 200
-#define IDD_FINDADD 201
-#define IDI_USERONLINE 201
-#define IDI_GROUPSHUT 202
-#define IDD_OPTIONS 203
-#define IDI_GROUPOPEN 203
-#define IDD_FILESEND 205
-#define IDI_NOTICK 205
-#define IDD_OPT_PLUGINS 206
-#define IDI_TICK 206
-#define IDD_OPT_ICONS 207
-#define IDI_FILE 207
-#define IDI_ADDCONTACT 210
-#define IDI_SMALLDOT 211
-#define IDI_FILLEDBLOB 212
-#define IDD_READAWAYMSG 213
-#define IDI_EMPTYBLOB 213
-#define IDD_OPT_IGNORE 214
-#define IDC_HYPERLINKHAND 214
-#define IDD_OPT_VISIBILITY 215
-#define IDC_DROPUSER 215
-#define IDD_SETAWAYMSG 216
-#define IDI_DETAILSLOGO 216
-#define IDD_OPT_AWAYMSG 217
-#define IDI_UNICODE 218
-#define IDI_ANSI 219
-#define IDD_INFO_SUMMARY 220
-#define IDI_LOADED 220
-#define IDD_INFO_CONTACT 221
-#define IDR_CREDITS 221
-#define IDI_NOTLOADED 221
-#define IDD_INFO_BACKGROUND 222
-#define IDD_INFO_NOTES 223
-#define IDD_ADDEMAIL 226
-#define IDD_ICONINDEX 227
-#define IDD_INFO_LOCATION 231
-#define IDD_INFO_WORK 232
-#define IDD_ADDPHONE 233
-#define IDD_INSTALLINI 235
-#define IDD_WARNINICHANGE 236
-#define IDD_INIIMPORTDONE 237
-#define IDB_SORTCOLUP 239
-#define IDB_SORTCOLDOWN 240
#define IDD_OPT_TRAFFIC 248
-#define IDD_FILETRANSFERINFO 249
-#define IDD_OPT_FILETRANSFER 250
-#define IDD_FILEEXISTS 251
-#define IDD_DELETECONTACT 254
-#define IDD_DENYREASON 256
-#define IDD_ADDCONTACT 257
-#define IDD_OPT_CONTACT 261
-#define IDI_DOWNARROW 264
-#define IDD_OPT_IDLE 268
-#define IDD_PROFILE_SELECTION 269
-#define IDD_PROFILE_NEW 270
-#define IDI_TYPING 274
-#define IDD_UPDATE_NOTIFY 275
-#define IDD_OPT_UPDATENOTIFY 276
-#define IDI_GROUP_ICON 286
-#define IDI_UNINSTALL_ICON 287
#define IDD_OPT_STATS 295
+#define IDI_ONTHEPHONE 1002
#define IDC_MESSAGE 1002
+#define IDI_OUTTOLUNCH 1003
#define IDC_AUTOCLOSE 1004
#define IDC_FROM 1005
#define IDC_AUTOMIN 1005
|