26#ifndef TGUI_LIST_BOX_RENDERER_HPP
27#define TGUI_LIST_BOX_RENDERER_HPP
30#include <TGUI/Renderers/WidgetRenderer.hpp>
40 using WidgetRenderer::WidgetRenderer;
303 void setScrollbar(std::shared_ptr<RendererData> scrollbarRendererData);
Wrapper for colors.
Definition Color.hpp:63
Definition ListBoxRenderer.hpp:37
void setSelectedTextColorHover(Color textColor)
Changes the color of the text of the selected item when it is below the mouse.
Borders getBorders() const
Returns the size of the borders.
Color getSelectedBackgroundColor() const
Returns the background color of the selected item.
Color getSelectedTextColor() const
Returns the color of the text from the selected item.
void setTextColorHover(Color textColor)
Changes the color of the text of the item below the mouse.
TextStyles getTextStyle() const
Returns text style.
const Texture & getTextureBackground() const
Returns the background image of the list box.
Color getTextColorHover() const
Returns the color of the text of the item below the mouse.
void setBorderColor(Color borderColor)
Changes the color of the borders.
TextStyles getSelectedTextStyle() const
Returns text style of the selected item.
Color getSelectedTextColorHover() const
Returns the color of the text of the selected item when it is below the mouse.
std::shared_ptr< RendererData > getScrollbar() const
Returns the renderer data of the scrollbar.
Color getTextColor() const
Returns the color of the text.
Color getSelectedBackgroundColorHover() const
Returns the background color used for the selected item when the mouse hovers over it.
Color getBackgroundColor() const
Returns the background color.
Padding getPadding() const
Returns the size of the padding.
void setPadding(const Padding &padding)
Changes the padding of the list box.
void setSelectedTextStyle(TextStyles style)
Changes the text style of the selected item.
void setTextColor(Color textColor)
Changes the color of the text.
Color getBackgroundColorHover() const
Returns the background color used for the item below the mouse.
void setBorders(const Borders &borders)
Changes the size of the borders.
Color getBorderColor() const
Returns the color of the borders.
float getScrollbarWidth() const
Returns the wanted width of the scrollbar.
void setSelectedTextColor(Color textColor)
Changes the color of the text from the selected item.
void setBackgroundColor(Color backgroundColor)
Changes the background color of the list box.
void setSelectedBackgroundColor(Color backgroundColor)
Changes the background color of the selected item.
void setTextStyle(TextStyles style)
Changes the text style.
void setBackgroundColorHover(Color backgroundColor)
Changes the background color used for the item below the mouse.
void setScrollbar(std::shared_ptr< RendererData > scrollbarRendererData)
Sets the renderer data of the scrollbar.
void setSelectedBackgroundColorHover(Color backgroundColor)
Changes the background color used for the selected item when the mouse hovers over it.
void setTextureBackground(const Texture &texture)
Changes the background image of the list box.
void setScrollbarWidth(float scrollbarWidth)
Sets the wanted width of the scrollbar.
Definition Outline.hpp:39
Wrapper for text styles.
Definition TextStyle.hpp:58
Definition Texture.hpp:49
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:36