mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-18 00:54:19 +00:00
Minor additions to ValueTree, Time. OpenGL work. Update to introjucer MSVC .sln file generation.
This commit is contained in:
parent
0e478bf131
commit
9eb2e337d3
15 changed files with 72 additions and 240 deletions
|
|
@ -684,12 +684,14 @@ var ValueTree::getProperty (const Identifier& name, const var& defaultReturnValu
|
|||
return object == nullptr ? defaultReturnValue : object->getProperty (name, defaultReturnValue);
|
||||
}
|
||||
|
||||
void ValueTree::setProperty (const Identifier& name, const var& newValue, UndoManager* const undoManager)
|
||||
ValueTree& ValueTree::setProperty (const Identifier& name, const var& newValue, UndoManager* const undoManager)
|
||||
{
|
||||
jassert (name.toString().isNotEmpty());
|
||||
|
||||
if (object != nullptr && name.toString().isNotEmpty())
|
||||
object->setProperty (name, newValue, undoManager);
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool ValueTree::hasProperty (const Identifier& name) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue