25#ifndef TGUI_TABS_RENDERER_HPP
26#define TGUI_TABS_RENDERER_HPP
28#include <TGUI/Renderers/WidgetRenderer.hpp>
32TGUI_MODULE_EXPORT
namespace tgui
38 using WidgetRenderer::WidgetRenderer;
Wrapper for colors.
Definition Color.hpp:73
Definition Outline.hpp:38
Definition TabsRenderer.hpp:35
void setTextureDisabledTab(const Texture &texture)
Change the image of a disabled tab.
TGUI_NODISCARD float getDistanceToSide() const
Returns the distance between the text and the side of the tab.
void setTextColorHover(Color textColor)
Changes the color of the text when the mouse is on top of the tab.
void setBorderColorHover(Color color)
Sets the color of the borders when the mouse is on top of it.
void setTextureTab(const Texture &texture)
Change the image of a tab.
void setSelectedBackgroundColor(Color backgroundColor)
Changes the background color of the selected tab.
void setBackgroundColorHover(Color backgroundColor)
Changes the background color of the tab below the mouse.
void setSelectedBackgroundColorHover(Color backgroundColor)
Changes the background color of the selected tab when the mouse is on top of it.
TGUI_NODISCARD Color getBackgroundColor() const
Returns the background color of the tabs.
TGUI_NODISCARD const Texture & getTextureSelectedTab() const
Returns the image of a selected tab.
void setTextureTabHover(const Texture &texture)
Change the image of a tab when the mouse is on top of it.
TGUI_NODISCARD Color getSelectedBackgroundColorHover() const
Returns the background color of the selected tab when the mouse is on top of it.
TGUI_NODISCARD Color getSelectedBorderColor() const
Returns the color of the borders around the selected tab.
TGUI_NODISCARD const Texture & getTextureTabHover() const
Returns the image of a tab when the mouse is on top of it.
void setSelectedBorderColorHover(Color color)
Sets the color of the borders around the selected tab when the mouse is on top of it.
void setSelectedTextColorHover(Color textColor)
Changes the color of the text from the selected tab when the mouse is on top of it.
TGUI_NODISCARD Color getBackgroundColorHover() const
Returns the background color of the tab below the mouse.
TGUI_NODISCARD Color getBackgroundColorDisabled() const
Returns the background color of a disabled tab.
TGUI_NODISCARD const Texture & getTextureTab() const
Returns the image of a tab.
TGUI_NODISCARD Color getTextColorHover() const
Returns the color of the text when the mouse is on top of the tab.
void setSelectedBorderColor(Color color)
Sets the color of the borders around the selected tab.
TGUI_NODISCARD Color getTextColorDisabled() const
Returns the color of the text of a disabled tab.
void setBackgroundColorDisabled(Color backgroundColor)
Changes the background color of a disabled tab.
TGUI_NODISCARD Color getBorderColor() const
Returns the color of the borders.
void setBorders(const Borders &borders)
Changes the size of the borders.
TGUI_NODISCARD const Texture & getTextureDisabledTab() const
Returns the image of a disabled tab.
TGUI_NODISCARD Borders getBorders() const
Returns the size of the borders.
void setTextColor(Color textColor)
Changes the color of the text.
TGUI_NODISCARD Color getSelectedBackgroundColor() const
Returns the background color of the selected tab.
void setTextColorDisabled(Color textColor)
Changes the color of the text of a disabled tab.
void setBorderColor(Color color)
Sets the color of the borders.
void setDistanceToSide(float distanceToSide)
Changes the distance between the text and the side of the tab.
TGUI_NODISCARD Color getSelectedTextColorHover() const
Returns the color of the text from the selected tab when the mouse is on top of it.
TGUI_NODISCARD Color getSelectedBorderColorHover() const
Returns the color of the borders around the selected tab when the mouse is on top of it.
TGUI_NODISCARD const Texture & getTextureSelectedTabHover() const
Returns the image of a selected tab when the mouse is on top of it.
void setSelectedTextColor(Color textColor)
Changes the color of the text from the selected tab.
void setBackgroundColor(Color backgroundColor)
Changes the background color of the tabs.
TGUI_NODISCARD Color getSelectedTextColor() const
Returns the color of the text from the selected tab.
void setTextureSelectedTab(const Texture &texture)
Change the image of a selected tab.
TGUI_NODISCARD Color getTextColor() const
Returns the color of the text.
void setTextureSelectedTabHover(const Texture &texture)
Change the image of a selected tab when the mouse is on top of it.
TGUI_NODISCARD Color getBorderColorHover() const
Returns the color of the borders when the mouse is on top of it.
Texture wrapper that internally reuses resources when multiple Texture objects are loaded from the sa...
Definition Texture.hpp:57
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:38