26#ifndef TGUI_LIST_VIEW_RENDERER_HPP
27#define TGUI_LIST_VIEW_RENDERER_HPP
30#include <TGUI/Renderers/WidgetRenderer.hpp>
34TGUI_MODULE_EXPORT
namespace tgui
40 using WidgetRenderer::WidgetRenderer;
328 void setScrollbar(std::shared_ptr<RendererData> scrollbarRendererData);
Wrapper for colors.
Definition Color.hpp:72
Definition ListViewRenderer.hpp:37
TGUI_NODISCARD std::shared_ptr< RendererData > getScrollbar() const
Returns the renderer data of the scrollbar.
TGUI_NODISCARD Color getSelectedTextColorHover() const
Returns the color of the text of the selected item when it is below the mouse.
void setScrollbar(std::shared_ptr< RendererData > scrollbarRendererData)
Sets the renderer data of the scrollbar.
TGUI_NODISCARD Color getSelectedBackgroundColorHover() const
Returns the background color used for the selected item when the mouse hovers over it.
TGUI_NODISCARD Color getTextColorHover() const
Returns the color of the text of the item below the mouse.
TGUI_NODISCARD Color getHeaderBackgroundColor() const
Returns the color of the background color of the header.
void setScrollbarWidth(float scrollbarWidth)
Sets the wanted width of the scrollbar.
TGUI_NODISCARD Padding getPadding() const
Returns the size of the padding.
TGUI_NODISCARD Color getBackgroundColor() const
Returns the background color.
void setSelectedTextColorHover(Color textColor)
Changes the color of the text of the selected item when it is below the mouse.
void setBackgroundColorHover(Color backgroundColor)
Changes the background color used for the item below the mouse.
TGUI_NODISCARD Borders getBorders() const
Returns the size of the borders.
TGUI_NODISCARD float getScrollbarWidth() const
Returns the wanted width of the scrollbar.
TGUI_NODISCARD Color getGridLinesColor() const
Returns the color of the grid lines.
TGUI_NODISCARD Color getHeaderTextColor() const
Returns the text color of the header captions.
void setPadding(const Padding &padding)
Changes the padding of the list box.
void setSelectedBackgroundColorHover(Color backgroundColor)
Changes the background color used for the selected item when the mouse hovers over it.
TGUI_NODISCARD Color getSeparatorColor() const
Returns the color of the separators.
TGUI_NODISCARD Color getBackgroundColorHover() const
Returns the background color used for the item below the mouse.
void setHeaderBackgroundColor(Color backgroundColor)
Changes the background color of the header.
void setBackgroundColor(Color backgroundColor)
Changes the background color of the list box.
TGUI_NODISCARD Color getBorderColor() const
Returns the color of the borders.
TGUI_NODISCARD Color getSelectedTextColor() const
Returns the color of the text from the selected item.
void setSelectedTextColor(Color textColor)
Changes the color of the text from the selected item.
void setBorders(const Borders &borders)
Changes the size of the borders.
void setBorderColor(Color borderColor)
Changes the color of the borders.
void setTextColor(Color textColor)
Changes the color of the text.
void setHeaderTextColor(Color textColor)
Changes the text color of the header captions.
void setTextureBackground(const Texture &texture)
Changes the background image.
TGUI_NODISCARD const Texture & getTextureBackground() const
Returns the background image.
void setGridLinesColor(Color gridLinesColor)
Changes the color of the grid lines.
void setTextureHeaderBackground(const Texture &texture)
Changes the background image of the header.
TGUI_NODISCARD const Texture & getTextureHeaderBackground() const
Returns the background image of the header.
TGUI_NODISCARD Color getSelectedBackgroundColor() const
Returns the background color of the selected item.
void setTextColorHover(Color textColor)
Changes the color of the text of the item below the mouse.
void setSelectedBackgroundColor(Color backgroundColor)
Changes the background color of the selected item.
TGUI_NODISCARD Color getTextColor() const
Returns the color of the text.
void setSeparatorColor(Color separatorColor)
Changes the color of the separators.
Definition Outline.hpp:39
Texture wrapper that internally reuses resources when multiple Texture objects are loaded from the sa...
Definition Texture.hpp:58
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:39