25#ifndef TGUI_COMBO_BOX_RENDERER_HPP
26#define TGUI_COMBO_BOX_RENDERER_HPP
28#include <TGUI/Renderers/WidgetRenderer.hpp>
32TGUI_MODULE_EXPORT
namespace tgui
38 using WidgetRenderer::WidgetRenderer;
360 TGUI_NODISCARD std::shared_ptr<RendererData>
getListBox()
const;
Wrapper for colors.
Definition Color.hpp:73
Definition ComboBoxRenderer.hpp:35
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 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)
TGUI_NODISCARD Color getArrowColor() const
Returns the color of the arrow.
TGUI_NODISCARD Color getTextColorDisabled() const
Returns the color of the text when the combo box is disabled.
TGUI_NODISCARD Color getArrowColorDisabled() const
Returns the color of the arrow when the combo box is disabled.
TGUI_NODISCARD const Texture & getTextureBackground() const
Returns the background image of the combo box.
TGUI_NODISCARD Color getArrowBackgroundColorDisabled() const
Returns the color behind the arrow when the combo box is disabled.
void setPadding(const Padding &padding)
Changes the padding of the combo box.
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.
void setBackgroundColor(Color backgroundColor)
Changes the background color of the combo box.
TGUI_NODISCARD Color getArrowColorHover() const
Returns the color of the arrow in hover state (when the mouse is on top of it)
void setTextureBackgroundDisabled(const Texture &texture)
Changes the background image of the combo box when the combo box is disabled.
TGUI_NODISCARD const Texture & getTextureArrowHover() const
Returns the image of the arrow that is displayed when the mouse is on top of it.
TGUI_NODISCARD Color getBackgroundColorDisabled() const
Returns the background color when the combo box is disabled.
TGUI_NODISCARD TextStyles getDefaultTextStyle() const
Returns the text style of the default text (the text drawn when no item is selected)
TGUI_NODISCARD const Texture & getTextureArrowDisabled() const
Returns the image of the arrow that is displayed when the combo box is disabled.
TGUI_NODISCARD TextStyles getTextStyle() const
Returns text style.
void setTextStyle(TextStyles style)
Changes the text style.
TGUI_NODISCARD Color getDefaultTextColor() const
Returns the color of the default text that can optionally be displayed when no item is selected.
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.
TGUI_NODISCARD Padding getPadding() const
Returns the size of the padding.
void setTextureArrowDisabled(const Texture &texture)
Changes the image of the arrow that is displayed when the combo box is disabled.
TGUI_NODISCARD Borders getBorders() const
Returns the size of the borders.
TGUI_NODISCARD std::shared_ptr< RendererData > getListBox() const
Returns the renderer data of the list box.
TGUI_NODISCARD const Texture & getTextureArrow() const
Returns the image of the arrow.
TGUI_NODISCARD Color getTextColor() const
Returns the color of the text.
void setArrowBackgroundColor(Color color)
Changes the color behind the arrow.
void setTextColorDisabled(Color textColor)
Changes the color of the text when the combo box is disabled.
TGUI_NODISCARD Color getBackgroundColor() const
Returns the background color.
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.
TGUI_NODISCARD Color getArrowBackgroundColor() const
Returns the color behind the arrow.
TGUI_NODISCARD Color getArrowBackgroundColorHover() const
Returns the color behind the arrow in hover state (when the mouse is on top of it)
TGUI_NODISCARD Color getBorderColor() const
Returns the color of the borders.
TGUI_NODISCARD const Texture & getTextureBackgroundDisabled() const
Returns the background image of the combo box when the combo box is disabled.
void setTextureArrow(const Texture &texture)
Changes the image of the arrow.
Definition Outline.hpp:38
Wrapper for text styles.
Definition TextStyle.hpp:55
Texture wrapper that internally reuses resources when multiple Texture objects are loaded from the sa...
Definition Texture.hpp:57
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:38