mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed VC warning. Tweak to mouse cursor snap-back in sliders. Added an introjucer option to avoid adding the BinaryData.h header to AppConfig.h
This commit is contained in:
parent
f7bb014c21
commit
ec524a437d
15 changed files with 53 additions and 41 deletions
|
|
@ -127,6 +127,9 @@ void Project::setMissingDefaultValues()
|
|||
if (getBundleIdentifier().toString().isEmpty())
|
||||
getBundleIdentifier() = getDefaultBundleIdentifier();
|
||||
|
||||
if (shouldIncludeBinaryInAppConfig() == var::null)
|
||||
shouldIncludeBinaryInAppConfig() = true;
|
||||
|
||||
IntrojucerApp::getApp().updateNewlyOpenedProject (*this);
|
||||
}
|
||||
|
||||
|
|
@ -405,6 +408,9 @@ void Project::createPropertyEditors (PropertyListBuilder& props)
|
|||
"(Note that individual resource files which are larger than this size cannot be split across multiple cpp files).");
|
||||
}
|
||||
|
||||
props.add (new BooleanPropertyComponent (shouldIncludeBinaryInAppConfig(), "Include Binary",
|
||||
"Include BinaryData.h in the AppConfig.h file"));
|
||||
|
||||
props.add (new TextPropertyComponent (getProjectPreprocessorDefs(), "Preprocessor definitions", 32768, true),
|
||||
"Global preprocessor definitions. Use the form \"NAME1=value NAME2=value\", using whitespace, commas, or "
|
||||
"new-lines to separate the items - to include a space or comma in a definition, precede it with a backslash.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue