25#ifndef TGUI_TREE_VIEW_RENDERER_HPP
26#define TGUI_TREE_VIEW_RENDERER_HPP
28#include <TGUI/Renderers/WidgetRenderer.hpp>
32TGUI_MODULE_EXPORT
namespace tgui
38 using WidgetRenderer::WidgetRenderer;
176 void setScrollbar(std::shared_ptr<RendererData> scrollbarRendererData);
Wrapper for colors.
Definition Color.hpp:73
Definition Outline.hpp:38
Texture wrapper that internally reuses resources when multiple Texture objects are loaded from the sa...
Definition Texture.hpp:57
Definition TreeViewRenderer.hpp:35
void setTextureLeaf(const Texture &textureLeaf)
Changes the image used in front of a lead item.
Color getSelectedTextColor() const
Returns the color of the text from the selected 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.
Borders getBorders() const
Returns the size of the borders.
Color getSelectedTextColorHover() const
Returns the color of the text of the selected item when it is below the mouse.
float getScrollbarWidth() const
Returns the wanted width of the scrollbar.
Color getSelectedBackgroundColor() const
Returns the background color of the selected item.
Color getTextColor() const
Returns the color of the text.
std::shared_ptr< RendererData > getScrollbar() const
Returns the renderer data of the scrollbar.
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.
Color getBackgroundColorHover() const
Returns the background color used for the item below the mouse.
void setTextureBranchCollapsed(const Texture &textureBranchCollapsed)
Changes the image used in front of a collapsed item.
const Texture & getTextureLeaf() const
Returns the image used in front of a leaf item.
void setBackgroundColorHover(Color color)
Changes the background color used for the item below the mouse.
void setBorders(const Borders &borders)
Changes the size of the borders.
void setBorderColor(Color color)
Changes the color of the borders.
const Texture & getTextureBranchExpanded() const
Returns the image used in front of an expanded item.
Color getSelectedBackgroundColorHover() const
Returns the background color used for the selected item when the mouse hovers over it.
void setSelectedTextColor(Color color)
Changes the color of the text from the selected item.
void setPadding(const Padding &padding)
Changes the padding of the tree view.
const Texture & getTextureBackground() const
Returns the background image of the tree view.
void setScrollbar(std::shared_ptr< RendererData > scrollbarRendererData)
Sets the renderer data of the scrollbar.
const Texture & getTextureBranchCollapsed() const
Returns the image used in front of a collapsed item.
Color getTextColorHover() const
Returns the color of the text of the item below the mouse.
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.
Color getBackgroundColor() const
Returns the background color.
Padding getPadding() const
Returns the size of the padding.
Color getBorderColor() const
Returns the color of the borders.
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:38