mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +00:00
Introjucer: some refactoring, new icon.
This commit is contained in:
parent
d6848d3bb1
commit
ebb7b6db74
13 changed files with 836 additions and 52 deletions
|
|
@ -66,7 +66,7 @@ Project::Project (const File& file_)
|
|||
Project::~Project()
|
||||
{
|
||||
projectRoot.removeListener (this);
|
||||
JucerApplication::getApp().openDocumentManager.closeAllDocumentsUsingProject (*this, false);
|
||||
IntrojucerApp::getApp().openDocumentManager.closeAllDocumentsUsingProject (*this, false);
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -126,6 +126,8 @@ void Project::setMissingDefaultValues()
|
|||
|
||||
if (getBundleIdentifier().toString().isEmpty())
|
||||
getBundleIdentifier() = getDefaultBundleIdentifier();
|
||||
|
||||
IntrojucerApp::getApp().updateNewlyOpenedProject (*this);
|
||||
}
|
||||
|
||||
void Project::updateOldStyleConfigList()
|
||||
|
|
@ -540,7 +542,7 @@ bool Project::Item::renameFile (const File& newFile)
|
|||
|| (newFile.exists() && ! oldFile.exists()))
|
||||
{
|
||||
setFile (newFile);
|
||||
JucerApplication::getApp().openDocumentManager.fileHasBeenRenamed (oldFile, newFile);
|
||||
IntrojucerApp::getApp().openDocumentManager.fileHasBeenRenamed (oldFile, newFile);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue