25#ifndef TGUI_TEXT_AREA_RENDERER_HPP
26#define TGUI_TEXT_AREA_RENDERER_HPP
28#include <TGUI/Renderers/WidgetRenderer.hpp>
32TGUI_MODULE_EXPORT
namespace tgui
38 using WidgetRenderer::WidgetRenderer;
201 void setScrollbar(std::shared_ptr<RendererData> scrollbarRendererData);
Wrapper for colors.
Definition Color.hpp:73
Definition Outline.hpp:38
Definition TextAreaRenderer.hpp:35
TGUI_NODISCARD float getScrollbarWidth() const
Returns the wanted width scrollbar.
TGUI_NODISCARD float getCaretWidth() const
Returns the width of the blinking caret.
void setBackgroundColor(Color backgroundColor)
Changes the background color of the text area.
void setSelectedTextColor(Color textColor)
Changes the color of the selected text.
void setPadding(const Padding &padding)
Changes the padding of the list box.
TGUI_NODISCARD std::shared_ptr< RendererData > getScrollbar() const
Returns the renderer data of the scrollbar.
void setScrollbar(std::shared_ptr< RendererData > scrollbarRendererData)
Sets the renderer data of the scrollbar.
void setCaretColor(Color caretColor)
Changes the color of the blinking caret.
TGUI_NODISCARD Color getSelectedTextBackgroundColor() const
Returns the color of the background of the selected text.
void setScrollbarWidth(float scrollbarWidth)
Sets the wanted width scrollbar.
TGUI_NODISCARD Borders getBorders() const
Returns the size of the borders.
void setTextColor(Color textColor)
Changes the color of the text.
TGUI_NODISCARD Color getCaretColor() const
Returns the color of the blinking caret.
TGUI_NODISCARD Color getBorderColor() const
Returns the color of the borders.
TGUI_NODISCARD Color getSelectedTextColor() const
Returns the color of the selected text.
TGUI_NODISCARD Color getDefaultTextColor() const
Returns the color of the default text that can optionally be displayed when the text area is empty.
TGUI_NODISCARD const Texture & getTextureBackground() const
Returns the background image of the text area.
TGUI_NODISCARD Color getBackgroundColor() const
Returns the background color.
void setTextureBackground(const Texture &texture)
Changes the background image of the text area.
void setCaretWidth(float width)
Changes the width of the blinking caret.
void setBorders(const Borders &borders)
Changes the size of the borders.
void setSelectedTextBackgroundColor(Color textColor)
Changes the color of the background of the selected text.
void setDefaultTextColor(Color defaultTextColor)
Sets the color of the default text that can optionally be displayed when the text area is empty.
TGUI_NODISCARD Color getTextColor() const
Returns the color of the text.
TGUI_NODISCARD Padding getPadding() const
Returns the size of the padding.
void setBorderColor(Color borderColor)
Changes the color of the borders.
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