mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added method TabbedComponent::moveTab()
This commit is contained in:
parent
2ad22dc6cf
commit
4c1d4f0081
2 changed files with 11 additions and 0 deletions
|
|
@ -174,6 +174,12 @@ void TabbedComponent::removeTab (const int tabIndex)
|
|||
}
|
||||
}
|
||||
|
||||
void TabbedComponent::moveTab (const int currentIndex, const int newIndex, const bool animate)
|
||||
{
|
||||
contentComponents.move (currentIndex, newIndex);
|
||||
tabs->moveTab (currentIndex, newIndex, animate);
|
||||
}
|
||||
|
||||
int TabbedComponent::getNumTabs() const
|
||||
{
|
||||
return tabs->getNumTabs();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue