From 29d414e39c3aa15f4877e597c1cac2d83b199078 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 27 Jul 2018 10:35:17 +0300 Subject: CurrencyRates: quotes replaced to currencyrates --- plugins/CurrencyRates/src/IconLib.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/CurrencyRates/src/IconLib.cpp') 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) -- cgit v1.2.3