From b497a526231d4aec71dcfb8d515278fb2bfd812c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 8 Jan 2013 08:57:50 +0000 Subject: added icons git-svn-id: http://svn.miranda-ng.org/main/trunk@3011 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewsAggregator/Res/Disabled.ico | Bin 0 -> 1150 bytes plugins/NewsAggregator/Res/Enabled.ico | Bin 0 -> 1150 bytes plugins/NewsAggregator/Res/Main.ico | Bin 6318 -> 5430 bytes plugins/NewsAggregator/Res/Resource.rc | 12 +++++--- plugins/NewsAggregator/Src/Icons.cpp | 14 +++++---- plugins/NewsAggregator/Src/resource.h | 52 +++++++++++++++++--------------- 6 files changed, 42 insertions(+), 36 deletions(-) create mode 100644 plugins/NewsAggregator/Res/Disabled.ico create mode 100644 plugins/NewsAggregator/Res/Enabled.ico (limited to 'plugins/NewsAggregator') diff --git a/plugins/NewsAggregator/Res/Disabled.ico b/plugins/NewsAggregator/Res/Disabled.ico new file mode 100644 index 0000000000..12082e020d Binary files /dev/null and b/plugins/NewsAggregator/Res/Disabled.ico differ diff --git a/plugins/NewsAggregator/Res/Enabled.ico b/plugins/NewsAggregator/Res/Enabled.ico new file mode 100644 index 0000000000..8f8038d093 Binary files /dev/null and b/plugins/NewsAggregator/Res/Enabled.ico differ diff --git a/plugins/NewsAggregator/Res/Main.ico b/plugins/NewsAggregator/Res/Main.ico index 4e9d1abc51..6b7f66dfd4 100644 Binary files a/plugins/NewsAggregator/Res/Main.ico and b/plugins/NewsAggregator/Res/Main.ico differ diff --git a/plugins/NewsAggregator/Res/Resource.rc b/plugins/NewsAggregator/Res/Resource.rc index ccfef31466..5fde4829c9 100644 --- a/plugins/NewsAggregator/Res/Resource.rc +++ b/plugins/NewsAggregator/Res/Resource.rc @@ -26,11 +26,13 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. -IDI_ICON ICON "Main.ico" -IDI_CHECKALL ICON "CheckAll.ico" -IDI_ADDFEED ICON "AddFeed.ico" -IDI_IMPORTFEEDS ICON "Import.ico" -IDI_EXPORTFEEDS ICON "Export.ico" +IDI_ICON ICON "Main.ico" +IDI_CHECKALL ICON "CheckAll.ico" +IDI_ADDFEED ICON "AddFeed.ico" +IDI_IMPORTFEEDS ICON "Import.ico" +IDI_EXPORTFEEDS ICON "Export.ico" +IDI_ENABLED ICON "Enabled.ico" +IDI_DISABLED ICON "Disabled.ico" ///////////////////////////////////////////////////////////////////////////// // diff --git a/plugins/NewsAggregator/Src/Icons.cpp b/plugins/NewsAggregator/Src/Icons.cpp index 4d10a52955..d6714cc37c 100644 --- a/plugins/NewsAggregator/Src/Icons.cpp +++ b/plugins/NewsAggregator/Src/Icons.cpp @@ -21,12 +21,14 @@ Boston, MA 02111-1307, USA. static IconItem iconList[] = { - { LPGEN("Protocol icon"), "main", IDI_ICON }, - { LPGEN("Check All Feeds"), "checkall", IDI_CHECKALL }, - { LPGEN("Add Feed"), "addfeed", IDI_ADDFEED }, - { LPGEN("Import Feeds"), "importfeeds", IDI_IMPORTFEEDS }, - { LPGEN("Export Feeds"), "exportfeeds", IDI_EXPORTFEEDS }, - { LPGEN("Check Feed"), "checkfeed", IDI_CHECKALL } + {LPGEN("Protocol icon"), "main", IDI_ICON}, + {LPGEN("Check All Feeds"), "checkall", IDI_CHECKALL}, + {LPGEN("Add Feed"), "addfeed", IDI_ADDFEED}, + {LPGEN("Import Feeds"), "importfeeds", IDI_IMPORTFEEDS}, + {LPGEN("Export Feeds"), "exportfeeds", IDI_EXPORTFEEDS}, + {LPGEN("Check Feed"), "checkfeed", IDI_CHECKALL}, + {LPGEN("Auto Update Enabled"), "enabled", IDI_ENABLED}, + {LPGEN("Auto Update Disabled"), "disabled", IDI_DISABLED} }; VOID InitIcons() diff --git a/plugins/NewsAggregator/Src/resource.h b/plugins/NewsAggregator/Src/resource.h index f243b95585..471597847a 100644 --- a/plugins/NewsAggregator/Src/resource.h +++ b/plugins/NewsAggregator/Src/resource.h @@ -2,36 +2,38 @@ // Microsoft Visual C++ generated include file. // Used by Resource.rc // -#define IDD_OPTIONS 101 -#define IDI_ICON 109 -#define IDD_ADDFEED 110 -#define IDI_CHECKALL 111 -#define IDI_ADDFEED 112 -#define IDI_IMPORTFEEDS 113 -#define IDI_EXPORTFEEDS 114 -#define IDC_TIMEOUT_VALUE_SPIN 1035 -#define IDC_FEEDLIST 1036 -#define IDC_ADD 1037 -#define IDC_CHANGE 1038 -#define IDC_REMOVE 1039 -#define IDC_IMORT 1040 -#define IDC_EXORT 1041 -#define IDC_FEEDTITLE 1042 -#define IDC_FEEDURL 1043 -#define IDC_CHECKTIME 1044 -#define IDC_DISCOVERY 1045 -#define IDC_USEAUTH 1046 -#define IDC_LOGIN 1047 -#define IDC_PASSWORD 1048 -#define IDC_TAGSEDIT 1049 -#define IDC_RESET 1050 -#define IDC_TAGHELP 1051 +#define IDD_OPTIONS 101 +#define IDI_ICON 109 +#define IDD_ADDFEED 110 +#define IDI_CHECKALL 111 +#define IDI_ADDFEED 112 +#define IDI_IMPORTFEEDS 113 +#define IDI_EXPORTFEEDS 114 +#define IDI_ENABLED 115 +#define IDI_DISABLED 116 +#define IDC_TIMEOUT_VALUE_SPIN 1035 +#define IDC_FEEDLIST 1036 +#define IDC_ADD 1037 +#define IDC_CHANGE 1038 +#define IDC_REMOVE 1039 +#define IDC_IMORT 1040 +#define IDC_EXORT 1041 +#define IDC_FEEDTITLE 1042 +#define IDC_FEEDURL 1043 +#define IDC_CHECKTIME 1044 +#define IDC_DISCOVERY 1045 +#define IDC_USEAUTH 1046 +#define IDC_LOGIN 1047 +#define IDC_PASSWORD 1048 +#define IDC_TAGSEDIT 1049 +#define IDC_RESET 1050 +#define IDC_TAGHELP 1051 // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 111 +#define _APS_NEXT_RESOURCE_VALUE 117 #define _APS_NEXT_COMMAND_VALUE 40075 #define _APS_NEXT_CONTROL_VALUE 1052 #define _APS_NEXT_SYMED_VALUE 101 -- cgit v1.2.3