1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00

Added a colour ID for TextButton text when the button is toggled on. Improved the class hierarchy implementation of some container classes. Made DSound cope better with dropped buffers.

This commit is contained in:
Julian Storer 2009-12-18 16:37:46 +00:00
parent 2a43959884
commit a126b1918a
22 changed files with 853 additions and 764 deletions

View file

@ -90,8 +90,9 @@ class ValueTreeChildChangeAction : public UndoableAction
public:
ValueTreeChildChangeAction (const ValueTree::SharedObjectPtr& target_, const int childIndex_,
const ValueTree::SharedObjectPtr& newChild_) throw()
: target (target_), childIndex (childIndex_),
: target (target_),
child (newChild_ != 0 ? newChild_ : target_->children [childIndex_]),
childIndex (childIndex_),
isDeleting (newChild_ == 0)
{
jassert (child != 0);