Пример #1
0
// MakeIcon
IconButton*
PickTool::MakeIcon()
{
	IconButton* icon = new IconButton("pick icon", 0, NULL, NULL);
	icon->SetIcon(kPickIcon, kIconWidth, kIconHeight, kIconFormat);
	return icon;
}
Пример #2
0
// MakeIcon
IconButton*
EditOnStageTool::MakeIcon()
{
	IconButton* icon = new IconButton("edit icon", 0, NULL, NULL);
	icon->SetIcon(kEditIcon, kIconWidth, kIconHeight, kIconFormat);
	return icon;
}
Пример #3
0
// MakeIcon
IconButton*
NoneTool::MakeIcon()
{
	IconButton* icon = new IconButton("no tool icon", 0, NULL, NULL);
	icon->SetIcon(kWatchIcon, kIconWidth, kIconHeight, kIconFormat);
	return icon;
}