File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ class NavigationConcertinaPanel : public juce::ConcertinaPanel {
2424
2525 int getIndexOfPanel (juce::Component* panel);
2626 Component* findPanelByName (const juce::String& name);
27+ void insertPanel (juce::Component* comp, int index = -1 );
2728 void showPanel (const juce::String& name);
2829 void hidePanel (const juce::String& name);
2930 void setPanelName (const juce::String& panel, const juce::String& newName);
Original file line number Diff line number Diff line change @@ -239,6 +239,12 @@ int NavigationConcertinaPanel::getIndexOfPanel (Component* panel)
239239}
240240
241241// ====
242+
243+ void NavigationConcertinaPanel::insertPanel (juce::Component* comp, int index)
244+ {
245+ addPanelInternal (index, comp);
246+ }
247+
242248void NavigationConcertinaPanel::showPanel (const juce::String& name)
243249{
244250 namesHidden.removeString (name);
You can’t perform that action at this time.
0 commit comments