summaryrefslogtreecommitdiff
path: root/plugins/CurrencyRates/src/IconLib.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <Mataes2007@gmail.com>2018-07-27 10:35:17 +0300
committerKirill Volinsky <Mataes2007@gmail.com>2018-07-27 10:35:17 +0300
commit29d414e39c3aa15f4877e597c1cac2d83b199078 (patch)
treeb54b2ce556715727bd21c8e5dd8852b925a7bc10 /plugins/CurrencyRates/src/IconLib.cpp
parent24cc466028da7e224c12babfbfe425a694052be9 (diff)
CurrencyRates: quotes replaced to currencyrates
Diffstat (limited to 'plugins/CurrencyRates/src/IconLib.cpp')
-rw-r--r--plugins/CurrencyRates/src/IconLib.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/CurrencyRates/src/IconLib.cpp b/plugins/CurrencyRates/src/IconLib.cpp
index 9e0a079edc..52a3ca1acf 100644
--- a/plugins/CurrencyRates/src/IconLib.cpp
+++ b/plugins/CurrencyRates/src/IconLib.cpp
@@ -4,11 +4,11 @@ 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("CurrencyRate/Rate up"), "currencyrate_up", IDI_ICON_UP },
+ { LPGEN("CurrencyRate/Rate down"), "currencyrate_down", IDI_ICON_DOWN },
+ { LPGEN("CurrencyRate/Rate not changed"), "currencyrate_not_changed", IDI_ICON_NOTCHANGED },
+ { LPGEN("CurrencyRate Section"), "currencyrate_section", IDI_ICON_SECTION },
+ { LPGEN("CurrencyRate"), ICON_STR_CURRENCYRATE, IDI_ICON_CURRENCYRATE },
{ LPGEN("Currency Converter"), "currency_converter", IDI_ICON_CURRENCY_CONVERTER },
{ LPGEN("Refresh"), "refresh", IDI_ICON_REFRESH },
{ LPGEN("Export"), "export", IDI_ICON_EXPORT },
@@ -16,12 +16,12 @@ static IconItem iconList[] =
{ LPGEN("Import"), "import", IDI_ICON_IMPORT }
};
-void Quotes_IconsInit()
+void CurrencyRates_IconsInit()
{
- ::g_plugin.registerIcon(QUOTES_PROTOCOL_NAME, iconList, QUOTES_PROTOCOL_NAME);
+ ::g_plugin.registerIcon(CURRENCYRATES_PROTOCOL_NAME, iconList, CURRENCYRATES_PROTOCOL_NAME);
}
-HICON Quotes_LoadIconEx(int iconId, bool bBig /*= false*/)
+HICON CurrencyRates_LoadIconEx(int iconId, bool bBig /*= false*/)
{
for (int i = 0; i < _countof(iconList); i++)
if (iconList[i].defIconID == iconId)
@@ -30,7 +30,7 @@ HICON Quotes_LoadIconEx(int iconId, bool bBig /*= false*/)
return nullptr;
}
-HANDLE Quotes_GetIconHandle(int iconId)
+HANDLE CurrencyRates_GetIconHandle(int iconId)
{
for (int i = 0; i < _countof(iconList); i++)
if (iconList[i].defIconID == iconId)