summaryrefslogtreecommitdiff
path: root/plugins/NotesAndReminders/src/notes.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-02 18:19:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-02 18:19:49 +0000
commitc4582dd65b444e5dae29ada7cc3f6c9a9c20edf3 (patch)
tree17a8627550b202d62df8e1df76d2585d3d0cdeaa /plugins/NotesAndReminders/src/notes.cpp
parent5ea5feb7e052ca45af7bc9ed76e4a252bd71950d (diff)
new easy standard way of registering icons: Icon_Register
git-svn-id: http://svn.miranda-ng.org/main/trunk@2601 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NotesAndReminders/src/notes.cpp')
-rw-r--r--plugins/NotesAndReminders/src/notes.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/NotesAndReminders/src/notes.cpp b/plugins/NotesAndReminders/src/notes.cpp
index 76f001cea1..25f372b1e7 100644
--- a/plugins/NotesAndReminders/src/notes.cpp
+++ b/plugins/NotesAndReminders/src/notes.cpp
@@ -1325,17 +1325,17 @@ INT_PTR CALLBACK StickyNoteWndProc(HWND hdlg,UINT message,WPARAM wParam,LPARAM l
{
HICON hcIcon;
if (SN->OnTop)
- hcIcon = Skin_GetIconByHandle(hIconLibItem[4]);
+ hcIcon = Skin_GetIconByHandle(iconList[4].hIcolib);
else
- hcIcon = Skin_GetIconByHandle(hIconLibItem[7]);
+ hcIcon = Skin_GetIconByHandle(iconList[7].hIcolib);
DrawIcon(hdc, wr.right - wr.left - 16, 0 + 3, hcIcon);
Skin_ReleaseIcon(hcIcon);
- hcIcon = Skin_GetIconByHandle(hIconLibItem[9]);
+ hcIcon = Skin_GetIconByHandle(iconList[9].hIcolib);
DrawIcon(hdc, wr.right - wr.left - 32, 1 + 3, hcIcon);
Skin_ReleaseIcon(hcIcon);
- hcIcon = Skin_GetIconByHandle(hIconLibItem[8]);
+ hcIcon = Skin_GetIconByHandle(iconList[8].hIcolib);
DrawIcon(hdc, wr.right - wr.left - 48, 1 + 3, hcIcon);
Skin_ReleaseIcon(hcIcon);
}
@@ -1960,9 +1960,9 @@ INT_PTR CALLBACK DlgProcViewNotes(HWND Dialog,UINT Message,WPARAM wParam,LPARAM
{
HWND H;
- HICON hIcon = Skin_GetIconByHandle(hIconLibItem[13], ICON_SMALL);
+ HICON hIcon = Skin_GetIconByHandle(iconList[13].hIcolib, ICON_SMALL);
SendMessage(Dialog, WM_SETICON, (WPARAM)ICON_SMALL, (LPARAM)hIcon);
- hIcon = Skin_GetIconByHandle(hIconLibItem[13], ICON_BIG);
+ hIcon = Skin_GetIconByHandle(iconList[13].hIcolib, ICON_BIG);
SendMessage(Dialog, WM_SETICON, (WPARAM)ICON_BIG, (LPARAM)hIcon);
SetWindowText(Dialog, _T("Notes"));