1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer UI overhaul and UX/workflow improvements. Support for new accounts and licensing model.

This commit is contained in:
hogliux 2017-04-27 14:42:25 +01:00
parent ef2c63e4e3
commit 750ab85fe9
107 changed files with 12120 additions and 4774 deletions

View file

@ -1152,22 +1152,22 @@ bool Project::Item::addRelativeFile (const RelativePath& file, int insertIndex,
return false;
}
Icon Project::Item::getIcon() const
Icon Project::Item::getIcon (bool isOpen) const
{
const Icons& icons = getIcons();
if (isFile())
{
if (isImageFile())
return Icon (icons.imageDoc, Colours::blue);
return Icon (icons.imageDoc, Colours::transparentBlack);
return Icon (icons.document, Colours::yellow);
return Icon (icons.file, Colours::transparentBlack);
}
if (isMainGroup())
return Icon (icons.juceLogo, Colours::orange);
return Icon (icons.folder, Colours::darkgrey);
return Icon (isOpen ? icons.openFolder : icons.closedFolder, Colours::transparentBlack);
}
bool Project::Item::isIconCrossedOut() const