26#ifndef TGUI_COMBO_BOX_RENDERER_HPP
27#define TGUI_COMBO_BOX_RENDERER_HPP
30#include <TGUI/Renderers/WidgetRenderer.hpp>
40 using WidgetRenderer::WidgetRenderer;
Wrapper for colors.
Definition Color.hpp:63
Definition ComboBoxRenderer.hpp:37
const Texture & getTextureBackgroundDisabled() const
Returns the background image of the combo box when the combo box is disabled.
void setListBox(std::shared_ptr< RendererData > rendererData)
Sets the renderer data of the list box.
void setTextureBackground(const Texture &texture)
Changes the background image of the combo box.
void setBorderColor(Color borderColor)
Changes the color of the borders.
const Texture & getTextureBackground() const
Returns the background image of the combo box.
void setBackgroundColorDisabled(Color backgroundColor)
Changes the background color of the combo box when the combo box is disabled.
void setArrowColorHover(Color color)
Changes the color of the arrow in hover state (when the mouse is on top of it)
void setDefaultTextStyle(TextStyles style)
Changes the text style of the default text (the text drawn when no item is selected)
void setArrowColor(Color color)
Changes the color of the arrow.
void setArrowBackgroundColorHover(Color color)
Changes the color behind the arrow in hover state (when the mouse is on top of it)
Color getTextColorDisabled() const
Returns the color of the text when the combo box is disabled.
void setPadding(const Padding &padding)
Changes the padding of the combo box.
Color getBorderColor() const
Returns the color of the borders.
Color getDefaultTextColor() const
Returns the color of the default text that can optionally be displayed when no item is selected.
void setDefaultTextColor(Color defaultTextColor)
Sets the color of the default text that can optionally be displayed when no item is selected.
void setBorders(const Borders &borders)
Changes the size of the borders.
Borders getBorders() const
Returns the size of the borders.
void setBackgroundColor(Color backgroundColor)
Changes the background color of the combo box.
Padding getPadding() const
Returns the size of the padding.
Color getArrowBackgroundColorDisabled() const
Returns the color behind the arrow when the combo box is disabled.
void setTextureBackgroundDisabled(const Texture &texture)
Changes the background image of the combo box when the combo box is disabled.
const Texture & getTextureArrowHover() const
Returns the image of the arrow that is displayed when the mouse is on top of it.
void setTextStyle(TextStyles style)
Changes the text style.
void setArrowColorDisabled(Color color)
Changes the color of the arrow when the combo box is disabled.
void setTextColor(Color textColor)
Changes the color of the text.
void setTextureArrowDisabled(const Texture &texture)
Changes the image of the arrow that is displayed when the combo box is disabled.
Color getArrowBackgroundColorHover() const
Returns the color behind the arrow in hover state (when the mouse is on top of it)
Color getBackgroundColorDisabled() const
Returns the background color when the combo box is disabled.
Color getArrowColor() const
Returns the color of the arrow.
std::shared_ptr< RendererData > getListBox() const
Returns the renderer data of the list box.
Color getArrowBackgroundColor() const
Returns the color behind the arrow.
Color getBackgroundColor() const
Returns the background color.
TextStyles getTextStyle() const
Returns text style.
Color getArrowColorDisabled() const
Returns the color of the arrow when the combo box is disabled.
void setArrowBackgroundColor(Color color)
Changes the color behind the arrow.
Color getArrowColorHover() const
Returns the color of the arrow in hover state (when the mouse is on top of it)
const Texture & getTextureArrowDisabled() const
Returns the image of the arrow that is displayed when the combo box is disabled.
void setTextColorDisabled(Color textColor)
Changes the color of the text when the combo box is disabled.
void setArrowBackgroundColorDisabled(Color color)
Changes the color behind the arrow when the combo box is disabled.
const Texture & getTextureArrow() const
Returns the image of the arrow.
void setTextureArrowHover(const Texture &texture)
Changes the image of the arrow that is displayed when the mouse is on top of it.
Color getTextColor() const
Returns the color of the text.
TextStyles getDefaultTextStyle() const
Returns the text style of the default text (the text drawn when no item is selected)
void setTextureArrow(const Texture &texture)
Changes the image of the arrow.
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