diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-05-21 07:13:04 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-05-21 07:13:04 +0000 |
commit | 0d9497c7f2a34601179e95f7ce7fc137545240fe (patch) | |
tree | 2302218dc4f315fca0df435e0385763a3226785c /plugins/PluginUpdater/src | |
parent | bc5116280be26febe983b50d3cbaac25ae911149 (diff) |
added own icon for plugin list
git-svn-id: http://svn.miranda-ng.org/main/trunk@4772 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src')
-rw-r--r-- | plugins/PluginUpdater/src/Notifications.cpp | 4 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/PluginUpdater.cpp | 2 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/Utils.cpp | 1 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/resource.h | 1 |
4 files changed, 5 insertions, 3 deletions
diff --git a/plugins/PluginUpdater/src/Notifications.cpp b/plugins/PluginUpdater/src/Notifications.cpp index 4b6b93e1b2..762cfb0170 100644 --- a/plugins/PluginUpdater/src/Notifications.cpp +++ b/plugins/PluginUpdater/src/Notifications.cpp @@ -697,8 +697,8 @@ INT_PTR CALLBACK DlgList(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) TranslateDialogDefault( hDlg );
mir_subclassWindow(hwndList, PluginListWndProc);
- SendMessage(hDlg, WM_SETICON, ICON_BIG, (LPARAM)LoadSkinnedIconBig(SKINICON_OTHER_OPTIONS));
- SendMessage(hDlg, WM_SETICON, ICON_SMALL, (LPARAM)LoadSkinnedIcon(SKINICON_OTHER_OPTIONS));
+ SendMessage(hDlg, WM_SETICON, ICON_BIG, (LPARAM)Skin_GetIcon("plg_list", 1));
+ SendMessage(hDlg, WM_SETICON, ICON_SMALL, (LPARAM)Skin_GetIcon("plg_list"));
{
HIMAGELIST hIml = ImageList_Create(16, 16, ILC_MASK | ILC_COLOR32, 4, 0);
ImageList_AddIconFromIconLib(hIml, "info");
diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp index bf914fb48b..090e9f5b5b 100644 --- a/plugins/PluginUpdater/src/PluginUpdater.cpp +++ b/plugins/PluginUpdater/src/PluginUpdater.cpp @@ -112,7 +112,7 @@ extern "C" __declspec(dllexport) int Load(void) Menu_AddMainMenuItem(&mi);
mi.position++;
- mi.icolibItem = LoadSkinnedIconHandle(SKINICON_OTHER_OPTIONS);
+ mi.icolibItem = Skin_GetIconHandle("plg_list");
mi.pszName = LPGEN("Show full plugin list");
mi.pszService = MODNAME"/ShowList";
Menu_AddMainMenuItem(&mi);
diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp index 43f27180de..83d85f7a7a 100644 --- a/plugins/PluginUpdater/src/Utils.cpp +++ b/plugins/PluginUpdater/src/Utils.cpp @@ -42,6 +42,7 @@ static iconList[] = { "btn_ok", LPGEN("'Yes' Button"), IDI_OK },
{ "btn_cancel", LPGEN("'No' Button"), IDI_CANCEL },
{ "info", LPGEN("Plugin info"), IDI_INFO },
+ { "plg_list", LPGEN("Plugin list"), IDI_PLGLIST },
};
void IcoLibInit()
diff --git a/plugins/PluginUpdater/src/resource.h b/plugins/PluginUpdater/src/resource.h index 57416edb3e..df0fb846fe 100644 --- a/plugins/PluginUpdater/src/resource.h +++ b/plugins/PluginUpdater/src/resource.h @@ -17,6 +17,7 @@ #define IDI_DOWN_OK 115
#define IDI_ICON5 116
#define IDI_DOWN_SKIP 116
+#define IDI_PLGLIST 117
#define IDC_UPDATETEXT 1001
#define IDC_CURVER 1002
#define IDC_NEWVER 1003
|