26#ifndef TGUI_TREE_VIEW_RENDERER_HPP
27#define TGUI_TREE_VIEW_RENDERER_HPP
30#include <TGUI/Renderers/WidgetRenderer.hpp>
34TGUI_MODULE_EXPORT
namespace tgui
40 using WidgetRenderer::WidgetRenderer;
190 void setScrollbar(std::shared_ptr<RendererData> scrollbarRendererData);
Wrapper for colors.
Definition Color.hpp:72
Definition Outline.hpp:39
Texture wrapper that internally reuses resources when multiple Texture objects are loaded from the sa...
Definition Texture.hpp:57
Definition TreeViewRenderer.hpp:37
void setTextureLeaf(const Texture &textureLeaf)
Changes the image used in front of a lead item.
TGUI_NODISCARD const Texture & getTextureLeaf() const
Returns the image used in front of a leaf item.
void setSelectedBackgroundColor(Color color)
Changes the background color of the selected item.
void setTextColorHover(Color color)
Changes the color of the text of the item below the mouse.
void setScrollbarWidth(float scrollbarWidth)
Sets the wanted width of the scrollbar.
void setTextColor(Color color)
Changes the color of the text.
TGUI_NODISCARD Color getBorderColor() const
Returns the color of the borders.
TGUI_NODISCARD Color getBackgroundColor() const
Returns the background color.
TGUI_NODISCARD const Texture & getTextureBranchExpanded() const
Returns the image used in front of an expanded item.
void setTextureBranchExpanded(const Texture &textureBranchExpanded)
Changes the image used in front of an expanded item.
void setSelectedBackgroundColorHover(Color backgroundColor)
Changes the background color used for the selected item when the mouse hovers over it.
void setTextureBranchCollapsed(const Texture &textureBranchCollapsed)
Changes the image used in front of a collapsed item.
void setBackgroundColorHover(Color color)
Changes the background color used for the item below the mouse.
TGUI_NODISCARD Color getSelectedTextColorHover() const
Returns the color of the text of the selected item when it is below the mouse.
TGUI_NODISCARD const Texture & getTextureBackground() const
Returns the background image of the tree view.
TGUI_NODISCARD std::shared_ptr< RendererData > getScrollbar() const
Returns the renderer data of the scrollbar.
TGUI_NODISCARD Color getBackgroundColorHover() const
Returns the background color used for the item below the mouse.
TGUI_NODISCARD Color getSelectedBackgroundColorHover() const
Returns the background color used for the selected item when the mouse hovers over it.
void setBorders(const Borders &borders)
Changes the size of the borders.
TGUI_NODISCARD Color getSelectedTextColor() const
Returns the color of the text from the selected item.
TGUI_NODISCARD Color getSelectedBackgroundColor() const
Returns the background color of the selected item.
TGUI_NODISCARD Color getTextColor() const
Returns the color of the text.
void setBorderColor(Color color)
Changes the color of the borders.
TGUI_NODISCARD float getScrollbarWidth() const
Returns the wanted width of the scrollbar.
TGUI_NODISCARD Padding getPadding() const
Returns the size of the padding.
void setSelectedTextColor(Color color)
Changes the color of the text from the selected item.
TGUI_NODISCARD Borders getBorders() const
Returns the size of the borders.
void setPadding(const Padding &padding)
Changes the padding of the tree view.
void setScrollbar(std::shared_ptr< RendererData > scrollbarRendererData)
Sets the renderer data of the scrollbar.
TGUI_NODISCARD Color getTextColorHover() const
Returns the color of the text of the item below the mouse.
TGUI_NODISCARD const Texture & getTextureBranchCollapsed() const
Returns the image used in front of a collapsed item.
void setSelectedTextColorHover(Color color)
Changes the color of the text of the selected item when it is below the mouse.
void setBackgroundColor(Color color)
Changes the background color of the tree view.
void setTextureBackground(const Texture &texture)
Changes the background image of the tree view.
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:39