blob: 2bb652e4445aec11c550cee0ce330317293ae851 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "stdafx.h"
IconItemT CSlackProto::Icons[] =
{
{ LPGENW("Protocol icon"), "main", IDI_SLACK },
};
void CSlackProto::InitIcons()
{
Icon_RegisterT(g_hInstance, LPGENW("Protocols") L"/" _A2W(MODULE), Icons, _countof(Icons), MODULE);
}
HANDLE CSlackProto::GetIconHandle(int iconId)
{
for (size_t i = 0; i < _countof(Icons); i++)
if (Icons[i].defIconID == iconId)
return Icons[i].hIcolib;
return NULL;
}
|