88 void setOutline (
int newThickness);
93 void setIndent (
int indentThickness);
109 void addTab (
const String& tabName,
110 Colour tabBackgroundColour,
112 bool deleteComponentWhenNotNeeded,
113 int insertIndex = -1);
116 void setTabName (
int tabIndex,
const String& newName);
119 void removeTab (
int tabIndex);
124 void moveTab (
int currentIndex,
int newIndex,
bool animate =
false);
127 int getNumTabs()
const;
136 Component* getTabContentComponent (
int tabIndex)
const noexcept;
139 Colour getTabBackgroundColour (
int tabIndex)
const noexcept;
142 void setTabBackgroundColour (
int tabIndex,
Colour newColour);
149 void setCurrentTabIndex (
int newTabIndex,
bool sendChangeMessage =
true);
154 int getCurrentTabIndex()
const;
159 String getCurrentTabName()
const;
170 virtual void currentTabChanged (
int newCurrentTabIndex,
const String& newCurrentTabName);
173 virtual void popupMenuClickOnTab (
int tabIndex,
const String& tabName);
197 void resized()
override;
199 void lookAndFeelChanged()
override;
211 std::unique_ptr<TabbedButtonBar>
tabs;
#define noexcept
Definition DistrhoDefines.h:72
Definition juce_Array.h:56
Definition juce_Colour.h:38
Definition juce_Component.h:36
Component() noexcept
Definition juce_Component.cpp:517
Definition juce_GraphicsContext.h:45
Definition juce_StringArray.h:35
Definition juce_String.h:53
Array< WeakReference< Component > > contentComponents
Definition juce_TabbedComponent.h:215
int getTabBarDepth() const noexcept
Definition juce_TabbedComponent.h:79
int outlineThickness
Definition juce_TabbedComponent.h:217
Component * getCurrentContentComponent() const noexcept
Definition juce_TabbedComponent.h:164
int tabDepth
Definition juce_TabbedComponent.h:217
void setTabBarDepth(int newDepth)
Definition juce_TabbedComponent.cpp:113
ColourIds
Definition juce_TabbedComponent.h:187
@ outlineColourId
Definition juce_TabbedComponent.h:189
@ backgroundColourId
Definition juce_TabbedComponent.h:188
std::unique_ptr< TabbedButtonBar > tabs
Definition juce_TabbedComponent.h:211
WeakReference< Component > panelComponent
Definition juce_TabbedComponent.h:216
void changeCallback(int newCurrentTabIndex, const String &newTabName)
Definition juce_TabbedComponent.cpp:279
TabbedComponent(TabbedButtonBar::Orientation orientation)
Definition juce_TabbedComponent.cpp:89
TabbedButtonBar & getTabbedButtonBar() const noexcept
Definition juce_TabbedComponent.h:176
int edgeIndent
Definition juce_TabbedComponent.h:217
void setOrientation(TabbedButtonBar::Orientation orientation)
Definition juce_TabbedComponent.cpp:102
TabbedButtonBar::Orientation getOrientation() const noexcept
Definition juce_TabbedComponent.cpp:108
std::unique_ptr< AccessibilityHandler > createAccessibilityHandler() override
Definition juce_TabbedComponent.cpp:314
Definition juce_WeakReference.h:78
#define JUCE_API
Definition juce_StandardHeader.h:152
Definition carla_juce.cpp:31
#define const
Definition zconf.h:137