summaryrefslogtreecommitdiff
path: root/plugins/YAPP/src/icons.cpp
blob: 0f0d5de0ddf93f0bd09da1ffa0ffaa159390d92c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "stdafx.h"

static IconItem iconList1[] =
{
	// toolbar
	{ LPGEN("Popups are enabled"),          ICO_TB_POPUP_ON,    IDI_POPUP          },
	{ LPGEN("Popups are disabled"),         ICO_TB_POPUP_OFF,   IDI_NOPOPUP        }
};

static IconItem iconList2[] =
{
	// common
	{ LPGEN("Popups are enabled"),          ICO_POPUP_ON,       IDI_POPUP          },
	{ LPGEN("Popups are disabled"),         ICO_POPUP_OFF,      IDI_NOPOPUP        },
	{ LPGEN("Popup History"),               ICO_HISTORY,        IDI_HISTORY        },
};

void InitIcons()
{
	g_plugin.registerIcon(SECT_TOLBAR, iconList1);
	g_plugin.registerIcon(SECT_POPUP,  iconList2);
}