67 #ifndef GUI_WIDGETS_TABBEDAREA_H
68 #define GUI_WIDGETS_TABBEDAREA_H
142 void addTab(
const std::string &caption,
Widget *
const widget);
162 void logic()
override final;
226 void setSize(
int width,
int height);
230 void death(
const Event &event)
override final;
void updateVisibleTabsWidth()
Widget * getWidgetByIndex(const int index) const
int getRightMargin() const
void setFollowDownScroll(const bool n)
void setOpaque(const Opaque opaque)
void setResizeHeight(bool b)
TabbedArea(const Widget2 *const widget)
bool isTabSelected(const size_t index) const
int getContainerHeight() const
bool isTabPresent(const Tab *const tab) const
Widget * getCurrentWidget() const
void keyPressed(KeyEvent &event)
std::vector< Tab * > mTabsToDelete
BasicContainer2 * mWidgetContainer
void removeTab(Tab *const tab)
std::vector< std::pair< Tab *, Widget * > > TabContainer
void setSelectedTabDefault()
void mousePressed(MouseEvent &event)
void setHeight(int height)
unsigned int mTabScrollIndex
void draw(Graphics *const graphics)
void adjustWidget(Widget *const widget) const
Widget * getTabContainer() const
void setSelectedTabByName(const std::string &name)
Tab * getTab(const std::string &name) const
void widgetResized(const Event &event)
void safeDraw(Graphics *const graphics)
void setSelectedTab(Tab *const tab)
bool mEnableScrollButtons
BasicContainer2 * mTabContainer
void adjustTabPositions()
int getNumberOfTabs() const
void updateArrowEnableState()
void removeAll(const bool del)
void setRightMargin(const int n)
void setSize(int width, int height)
int getSelectedTabIndex() const
Widget * getWidgetContainer() const
void setBlockSwitching(const bool b)
void setDimension(const Rect &dimension)
void action(const ActionEvent &actionEvent)
void addTab(Tab *const tab, Widget *const widget)
void setSelectedTabByIndex(const size_t index)
void death(const Event &event)
Tab * getSelectedTab() const
Widget * getWidget(const std::string &name) const
bool getFollowDownScroll() const
Tab * getTabByIndex(const int index) const
void enableScrollButtons(const bool enable)
#define A_DELETE_COPY(func)