diff options
author | Kirill Volinsky <Mataes2007@gmail.com> | 2018-07-25 09:14:43 +0300 |
---|---|---|
committer | Kirill Volinsky <Mataes2007@gmail.com> | 2018-07-25 09:14:43 +0300 |
commit | 23729c4f6a62de7a71368ffdeeeb08470ff4731e (patch) | |
tree | 3b227636ac19cb7b1f200b52aec1121593713e4d /plugins/Quotes/src/IconLib.cpp | |
parent | e62d2a2a86b0477537403a2316e629e8fea4a9d0 (diff) |
Quotes renamed to CurrencyRates
Diffstat (limited to 'plugins/Quotes/src/IconLib.cpp')
-rw-r--r-- | plugins/Quotes/src/IconLib.cpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/plugins/Quotes/src/IconLib.cpp b/plugins/Quotes/src/IconLib.cpp deleted file mode 100644 index d649d4bad3..0000000000 --- a/plugins/Quotes/src/IconLib.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include "StdAfx.h"
-
-static IconItem iconList[] =
-{
- { LPGEN("Protocol icon"), ICON_STR_MAIN, IDI_ICON_MAIN },
- { LPGEN("Auto Update Disabled"), "auto_update_disabled", IDI_ICON_DISABLED },
- { LPGEN("Quote/Rate up"), "quote_up", IDI_ICON_UP },
- { LPGEN("Quote/Rate down"), "quote_down", IDI_ICON_DOWN },
- { LPGEN("Quote/Rate not changed"), "quote_not_changed", IDI_ICON_NOTCHANGED },
- { LPGEN("Quote Section"), "quote_section", IDI_ICON_SECTION },
- { LPGEN("Quote"), ICON_STR_QUOTE, IDI_ICON_QUOTE },
- { LPGEN("Currency Converter"), "currency_converter", IDI_ICON_CURRENCY_CONVERTER },
- { LPGEN("Refresh"), "refresh", IDI_ICON_REFRESH },
- { LPGEN("Export"), "export", IDI_ICON_EXPORT },
- { LPGEN("Swap button"), "swap", IDI_ICON_SWAP },
- { LPGEN("Import"), "import", IDI_ICON_IMPORT }
-};
-
-void Quotes_IconsInit()
-{
- ::g_plugin.registerIcon(QUOTES_PROTOCOL_NAME, iconList, QUOTES_PROTOCOL_NAME);
-}
-
-HICON Quotes_LoadIconEx(int iconId, bool bBig /*= false*/)
-{
- for (int i = 0; i < _countof(iconList); i++)
- if (iconList[i].defIconID == iconId)
- return IcoLib_GetIconByHandle(iconList[i].hIcolib, bBig);
-
- return nullptr;
-}
-
-HANDLE Quotes_GetIconHandle(int iconId)
-{
- for (int i = 0; i < _countof(iconList); i++)
- if (iconList[i].defIconID == iconId)
- return iconList[i].hIcolib;
-
- return nullptr;
-}
|