25 #ifndef JUCE_TABBEDCOMPONENT_H_INCLUDED
26 #define JUCE_TABBEDCOMPONENT_H_INCLUDED
72 void setTabBarDepth (
int newDepth);
86 void setOutline (
int newThickness);
91 void setIndent (
int indentThickness);
107 void addTab (
const String& tabName,
108 Colour tabBackgroundColour,
110 bool deleteComponentWhenNotNeeded,
111 int insertIndex = -1);
114 void setTabName (
int tabIndex,
const String& newName);
117 void removeTab (
int tabIndex);
120 int getNumTabs()
const;
135 void setTabBackgroundColour (
int tabIndex,
Colour newColour);
142 void setCurrentTabIndex (
int newTabIndex,
bool sendChangeMessage =
true);
147 int getCurrentTabIndex()
const;
152 String getCurrentTabName()
const;
163 virtual void currentTabChanged (
int newCurrentTabIndex,
const String& newCurrentTabName);
166 virtual void popupMenuClickOnTab (
int tabIndex,
const String& tabName);
181 backgroundColourId = 0x1005800,
182 outlineColourId = 0x1005801,
210 int tabDepth, outlineThickness, edgeIndent;
214 void changeCallback (
int newCurrentTabIndex,
const String& newTabName);
220 #endif // JUCE_TABBEDCOMPONENT_H_INCLUDED
virtual void lookAndFeelChanged()
Definition: juce_Component.cpp:2138
#define noexcept
Definition: juce_CompilerSupport.h:141
Component * getCurrentContentComponent() const noexcept
Definition: juce_TabbedComponent.h:157
ScopedPointer< TabbedButtonBar > tabs
Definition: juce_TabbedComponent.h:204
Definition: juce_String.h:43
#define JUCE_API
Definition: juce_StandardHeader.h:139
ColourIds
Definition: juce_TabbedComponent.h:179
Definition: juce_TabbedComponent.h:39
virtual void resized()
Definition: juce_Component.cpp:2272
Definition: juce_Colour.h:35
TabbedButtonBar & getTabbedButtonBar() const noexcept
Definition: juce_TabbedComponent.h:169
virtual void paint(Graphics &g)
Definition: juce_Component.cpp:1929
Definition: juce_Component.h:33
Definition: juce_StringArray.h:39
Definition: juce_Array.h:60
Definition: juce_GraphicsContext.h:42
int getTabBarDepth() const noexcept
Definition: juce_TabbedComponent.h:77