diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-08 08:57:50 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-08 08:57:50 +0000 |
commit | b497a526231d4aec71dcfb8d515278fb2bfd812c (patch) | |
tree | 02a8b90dfc288a9d378c1a06478ceaf3cdfd7679 | |
parent | 31882eb683b9cdcbd1be14b9de9337a2fe0dae5f (diff) |
added icons
git-svn-id: http://svn.miranda-ng.org/main/trunk@3011 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/NewsAggregator/Res/Disabled.ico | bin | 0 -> 1150 bytes | |||
-rw-r--r-- | plugins/NewsAggregator/Res/Enabled.ico | bin | 0 -> 1150 bytes | |||
-rw-r--r-- | plugins/NewsAggregator/Res/Main.ico | bin | 6318 -> 5430 bytes | |||
-rw-r--r-- | plugins/NewsAggregator/Res/Resource.rc | 12 | ||||
-rw-r--r-- | plugins/NewsAggregator/Src/Icons.cpp | 14 | ||||
-rw-r--r-- | plugins/NewsAggregator/Src/resource.h | 52 |
6 files changed, 42 insertions, 36 deletions
diff --git a/plugins/NewsAggregator/Res/Disabled.ico b/plugins/NewsAggregator/Res/Disabled.ico Binary files differnew file mode 100644 index 0000000000..12082e020d --- /dev/null +++ b/plugins/NewsAggregator/Res/Disabled.ico diff --git a/plugins/NewsAggregator/Res/Enabled.ico b/plugins/NewsAggregator/Res/Enabled.ico Binary files differnew file mode 100644 index 0000000000..8f8038d093 --- /dev/null +++ b/plugins/NewsAggregator/Res/Enabled.ico diff --git a/plugins/NewsAggregator/Res/Main.ico b/plugins/NewsAggregator/Res/Main.ico Binary files differindex 4e9d1abc51..6b7f66dfd4 100644 --- a/plugins/NewsAggregator/Res/Main.ico +++ b/plugins/NewsAggregator/Res/Main.ico 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
|