Add TAL-Reverb-II plugin to test
[juce-lv2.git] / juce / source / extras / Introjucer / Source / Project / jucer_GroupInformationComponent.h
blob1b4141a14cefc7b33f699c6a68d528fa50ea258a
1 /*
2 ==============================================================================
4 This file is part of the JUCE library - "Jules' Utility Class Extensions"
5 Copyright 2004-10 by Raw Material Software Ltd.
7 ------------------------------------------------------------------------------
9 JUCE can be redistributed and/or modified under the terms of the GNU General
10 Public License (Version 2), as published by the Free Software Foundation.
11 A copy of the license is included in the JUCE distribution, or can be found
12 online at www.gnu.org/licenses.
14 JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
15 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
16 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
18 ------------------------------------------------------------------------------
20 To release a closed-source product which uses JUCE, commercial licenses are
21 available: visit www.rawmaterialsoftware.com/juce for more information.
23 ==============================================================================
26 #ifndef __JUCER_GROUPINFORMATIONCOMPONENT_JUCEHEADER__
27 #define __JUCER_GROUPINFORMATIONCOMPONENT_JUCEHEADER__
29 #include "../jucer_Headers.h"
30 #include "../Project/jucer_Project.h"
33 //==============================================================================
34 class GroupInformationComponent : public Component,
35 private ListBoxModel,
36 private ValueTree::Listener
38 public:
39 //==============================================================================
40 GroupInformationComponent (const Project::Item& item_);
41 ~GroupInformationComponent();
43 //==============================================================================
44 void resized();
46 int getNumRows();
47 void paintListBoxItem (int rowNumber, Graphics& g, int width, int height, bool rowIsSelected);
48 Component* refreshComponentForRow (int rowNumber, bool isRowSelected, Component* existingComponentToUpdate);
50 //==============================================================================
51 void valueTreePropertyChanged (ValueTree& treeWhosePropertyHasChanged, const Identifier& property);
52 void valueTreeChildAdded (ValueTree& parentTree, ValueTree& childWhichHasBeenAdded);
53 void valueTreeChildRemoved (ValueTree& parentTree, ValueTree& childWhichHasBeenRemoved);
54 void valueTreeChildOrderChanged (ValueTree& parentTree);
55 void valueTreeParentChanged (ValueTree& treeWhoseParentHasChanged);
57 private:
58 Project::Item item;
59 ListBox list;
61 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (GroupInformationComponent);
65 #endif // __JUCER_GROUPINFORMATIONCOMPONENT_JUCEHEADER__