26#ifndef TGUI_COMBO_BOX_RENDERER_HPP
27#define TGUI_COMBO_BOX_RENDERER_HPP
30#include <TGUI/Renderers/WidgetRenderer.hpp>
Wrapper for colors.
Definition: Color.hpp:49
Definition: ComboBoxRenderer.hpp:37
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.
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 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.
Texture & getTextureArrowDisabled() const
Returns the image of the arrow that is displayed 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.
void setTextStyle(TextStyle style)
Changes the text style.
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.
Texture & getTextureArrow() const
Returns the image of the arrow.
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.
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)
TextStyle getTextStyle() const
Returns text style.
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.
Color getArrowColorDisabled() const
Returns the color of the arrow when the combo box is disabled.
TextStyle getDefaultTextStyle() const
Returns the text style of the default text (the text drawn when no item is selected)
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)
void setTextColorDisabled(Color textColor)
Changes the color of the text when the combo box is disabled.
Texture & getTextureBackground() const
Returns the background image of the combo box.
void setArrowBackgroundColorDisabled(Color color)
Changes the color behind the arrow when the combo box is disabled.
void setTextureArrowHover(const Texture &texture)
Changes the image of the arrow that is displayed when the mouse is on top of it.
Texture & getTextureArrowHover() const
Returns the image of the arrow that is displayed when the mouse is on top of it.
Texture & getTextureBackgroundDisabled() const
Returns the background image of the combo box when the combo box is disabled.
Color getTextColor() const
Returns the color of the text.
void setDefaultTextStyle(TextStyle style)
Changes 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:47
Definition: Texture.hpp:42
Namespace that contains all TGUI functions and classes.
Definition: AbsoluteOrRelativeValue.hpp:37