diff options
Diffstat (limited to 'protocols/Telegram')
-rw-r--r-- | protocols/Telegram/res/premium.ico | bin | 0 -> 1150 bytes | |||
-rw-r--r-- | protocols/Telegram/res/resource.rc | 2 | ||||
-rw-r--r-- | protocols/Telegram/src/main.cpp | 6 | ||||
-rw-r--r-- | protocols/Telegram/src/resource.h | 3 |
4 files changed, 10 insertions, 1 deletions
diff --git a/protocols/Telegram/res/premium.ico b/protocols/Telegram/res/premium.ico Binary files differnew file mode 100644 index 0000000000..fb77874fc4 --- /dev/null +++ b/protocols/Telegram/res/premium.ico diff --git a/protocols/Telegram/res/resource.rc b/protocols/Telegram/res/resource.rc index 5c3e00eb73..c7e451b53c 100644 --- a/protocols/Telegram/res/resource.rc +++ b/protocols/Telegram/res/resource.rc @@ -95,6 +95,8 @@ END // remains consistent on all systems. IDI_TELEGRAM ICON "telegram.ico" +IDI_PREMIUM ICON "premium.ico" + #endif // English resources ///////////////////////////////////////////////////////////////////////////// diff --git a/protocols/Telegram/src/main.cpp b/protocols/Telegram/src/main.cpp index 2cc1146b2a..f2fb0cd153 100644 --- a/protocols/Telegram/src/main.cpp +++ b/protocols/Telegram/src/main.cpp @@ -38,8 +38,14 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_PROTOC ///////////////////////////////////////////////////////////////////////////////////////// +static IconItem iconList[] = +{ + { LPGEN("Premium user"), "premuim", IDI_PREMIUM }, +}; + extern "C" int __declspec(dllexport) Load(void) { + g_plugin.registerIcon("Protocols/Telegram", iconList, "tg"); return 0; } diff --git a/protocols/Telegram/src/resource.h b/protocols/Telegram/src/resource.h index a9cc327636..a52902e8c7 100644 --- a/protocols/Telegram/src/resource.h +++ b/protocols/Telegram/src/resource.h @@ -5,6 +5,7 @@ #define IDI_TELEGRAM 100 #define IDD_ACCMGRUI 101 #define IDD_OPTIONS 102 +#define IDI_PREMIUM 103 #define IDC_PHONE 1001 #define IDC_DEFGROUP 1002 @@ -15,7 +16,7 @@ // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 111 +#define _APS_NEXT_RESOURCE_VALUE 104 #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_VALUE 1001 #define _APS_NEXT_SYMED_VALUE 101 |